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

Too many / wrong permissions for Device Orientation plugin

    XMLWordPrintableJSON

    Details

      Description

      It seems intuitively incorrect that the Device Orientation plugin needs to request the permissions ACCESS_COARSE_LOCATION and ACCESS_FINE_LOCATION, yet they are required: https://github.com/apache/cordova-plugin-device-orientation/blob/master/plugin.xml

      I did a little bit of research and haven't found anything conclusive one way or the other. I just know that I need this information to make my app look good, but now my users could think that I'm watching their GPS for no reason.

      This was the best information I was able to find on getting orientation, but I don't see any discussion on the necessary permissions. http://stackoverflow.com/questions/2795833/check-orientation-on-android-phone

      I wish I had a better idea of whether or not this is a bug or a "feature" of the way android permissions are provisioned, but this is the best I can do at the moment. Can someone please look into this?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              adamtuttle Adam Tuttle
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: