← Back to team overview

ubuntu-phone team mailing list archive

Re: App working in background

 

That's a pretty cool approach! Has anyone started working on it?
On Sep 23, 2015 6:38 PM, "Simon Fels" <simon.fels@xxxxxxxxxxxxx> wrote:

> On 23.09.2015 17:44, Gran PC wrote:
>
>> But third-party apps can't actually extend media-hub, right? As I
>> understand it, this is something that would need to be distributed with
>> the
>> OS.
>>
>
> No. It would be just another executable your click package would ship and
> would be exposed to media-hub at runtime by .json file in a common
> directory (generated through a click-hook). This .json file then knows the
> combination of url scheme (e.g spotify://) to excutable name (below your
> app directory) and that is what media-hub needs to know - no hard
> dependency, no distribution in the core OS.
>
> This is similar to how we handle helpers for the Ubuntu Push client side
> implementation (see
> https://developer.ubuntu.com/en/start/platform/guides/push-notifications-client-guide/
> ).
>
> For sure, there need to be some guards set around this executable in terms
> of security (our apparmor profiles) and also resource usage.
>
> regards,
> Simon
>
>

Follow ups

References