You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Joe Bowser <bo...@gmail.com> on 2013/12/11 01:23:01 UTC
[Android] The READ_PHONE_STATE permission
Hey
After working on CB-5504 and moving the Telephony code to App, I think
that we should try and figure out how we should use this permission.
I personally want to add this permission to the Media plugin since
it's the one that actually needs to know the state, but I'm guessing
that other plugins would want to know when you're receiving a call so
that they can stop what they're doing in the background.
Should READ_PHONE_STATE be on by default on the Media plugin? Or
should we document this feature somewhere?
Joe
Re: [Android] The READ_PHONE_STATE permission
Posted by Tommy Williams <to...@devgeeks.org>.
+1 for on by default in media, optional in others and documented.
Media really should pause on an incoming phone call... I can't think of a
use case where it would be desirable for it to keep playing.
On 11/12/2013 1:33 pm, "Andrew Grieve" <ag...@chromium.org> wrote:
> I think on-by-default on media, but also documented in the media plugin's
> readme why it has it.
>
>
> On Tue, Dec 10, 2013 at 7:23 PM, Joe Bowser <bo...@gmail.com> wrote:
>
> > Hey
> >
> > After working on CB-5504 and moving the Telephony code to App, I think
> > that we should try and figure out how we should use this permission.
> > I personally want to add this permission to the Media plugin since
> > it's the one that actually needs to know the state, but I'm guessing
> > that other plugins would want to know when you're receiving a call so
> > that they can stop what they're doing in the background.
> >
> > Should READ_PHONE_STATE be on by default on the Media plugin? Or
> > should we document this feature somewhere?
> >
> > Joe
> >
>
Re: [Android] The READ_PHONE_STATE permission
Posted by Andrew Grieve <ag...@chromium.org>.
I think on-by-default on media, but also documented in the media plugin's
readme why it has it.
On Tue, Dec 10, 2013 at 7:23 PM, Joe Bowser <bo...@gmail.com> wrote:
> Hey
>
> After working on CB-5504 and moving the Telephony code to App, I think
> that we should try and figure out how we should use this permission.
> I personally want to add this permission to the Media plugin since
> it's the one that actually needs to know the state, but I'm guessing
> that other plugins would want to know when you're receiving a call so
> that they can stop what they're doing in the background.
>
> Should READ_PHONE_STATE be on by default on the Media plugin? Or
> should we document this feature somewhere?
>
> Joe
>