[
https://issues.apache.org/jira/browse/CB-5074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mike Billau closed CB-5074.
---------------------------
Resolution: Fixed
Assignee: Mike Billau (was: Mike Sierra)
Thanks Steve!
> 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 Billau
> 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)