You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Tommy-Carlos Williams (JIRA)" <ji...@apache.org> on 2013/11/29 04:36:35 UTC

[jira] [Created] (CB-5505) The Device plugin is missing the permissions needed to read the telephone state (ringing, offhook, etc)

Tommy-Carlos Williams created CB-5505:
-----------------------------------------

             Summary: The Device plugin is missing the permissions needed to read the telephone state (ringing, offhook, etc)
                 Key: CB-5505
                 URL: https://issues.apache.org/jira/browse/CB-5505
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
    Affects Versions: 3.1.0
            Reporter: Tommy-Carlos Williams


There is a telephony receiver in the Device plugin that sends a message to all plugins so that they can handle incoming calls etc.

Currently the only core plugin that listens for those messages is the Media plugin so that it can pause playback when a call comes in.

The Device plugin does NOT however, set the android.permission.READ_PHONE_STATE in its plugin.xml so this does not work out of the box even if both plugins are installed.

See: [CB-5504|https://issues.apache.org/jira/browse/CB-5504]



--
This message was sent by Atlassian JIRA
(v6.1#6144)