Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-5074

Battery status plugin permission not added for Android?

    XMLWordPrintableJSON

Details

    Description

      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:

      <uses-permission android:name="android.permission.BROADCAST_STICKY" />
      

      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

      Attachments

        Issue Links

          Activity

            People

              mrbillau Michael Billau
              dinglemouse Peter
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: