You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Peter (JIRA)" <ji...@apache.org> on 2013/10/15 07:50:41 UTC

[jira] [Created] (CB-5074) Battery status plugin permission not added for Android?

Peter created CB-5074:
-------------------------

             Summary: Battery status plugin permission not added for Android?
                 Key: CB-5074
                 URL: https://issues.apache.org/jira/browse/CB-5074
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android, Plugin Battery Status
    Affects Versions: 3.1.0
            Reporter: Peter


The documentation for the Events 
http://cordova.apache.org/docs/en/3.1.0/cordova_events_events.md.html#Events 
says that for Android it needs the following permission:
{code}
<uses-permission android:name="android.permission.BROADCAST_STICKY" />
{code}

But after we added the v3.1 *corova-plugin-battery-status* plugin via CLI we noticed this permission had not been set in the AndroidManifest.xml

And when we went back to look at the plugin.xml for the corova-plugin-battery-status the necessary Android permission is not there.
https://github.com/apache/cordova-plugin-battery-status/blob/master/plugin.xml

So is the permission needed or not? The documentation and battery plugin's plugin.xml seem to be in disagreement



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