ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #08549
Re: Server Scopes and Push notifications update Jun 12, 2014
On Thu, Jun 12, 2014 at 3:02 PM, Lucio Torre <lucio.torre@xxxxxxxxxxxxx> wrote:
> The biggest change here comes from the Post Office design, which will now
> require apps to have helpers that get called when messages arrive from the
> cloud. The helpers will translate this 'messages' into notifications that
> can be visualized in the version of the framework in the device.
>
> This gives the user a lot of flexibility on how to interpret the
> notifications they send and do local calculations to decide what to show.
This gives the developer flexibility, yes, but it also sounds like
something that could affect negatively impact battery life, so surely
I'm missing some part of the bigger picture.
Will every random app installed from the store be able to have such
helpers run on new notifications?
What would be the security context of the helpers? If they are able to
do calculations, I assume it will be the same security context of each
app to access their local files.
Will the helpers be rate-limited in cpu time or frequency of runs?
cheers,
--
alecu
Follow ups
References