You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Mike Billau (JIRA)" <ji...@apache.org> on 2013/10/16 16:05:42 UTC

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

    [ https://issues.apache.org/jira/browse/CB-5074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13796815#comment-13796815 ] 

Mike Billau commented on CB-5074:
---------------------------------

https://github.com/mbillau/cordova-docs/commit/da26714c64d96e85c43a559a0e491622ea2f22d2

> 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, Docs, Plugin Battery Status
>    Affects Versions: 3.1.0
>            Reporter: Peter
>            Assignee: Mike Sierra
>            Priority: Minor
>
> 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)