Capacitor: Camera warning in Android release management

Created on 4 Oct 2018  路  3Comments  路  Source: ionic-team/capacitor

I am not using camera plugin. But still I am getting this warning.
screen shot 2018-10-04 at 9 03 52 pm

New permissions added
Warning:

Users that have the APK with version code 1809141924 may need to accept the android.permission.CAMERA permission, which may result in them not upgrading to this version of the app.

Tip:

Ensure that the new permissions are necessary, and consider mentioning these permissions in the What's new in this release text.

Most helpful comment

Yeah, base project includes all the permissions required by core plugins, but if you don't use some plugins you can remove those permissions.

Also, camera permission is not even required by camera plugin, it's only required if you use navigator.getUserMedia in your app to get the camera feed.

We should do a better job about documenting the plugin permissions.

All 3 comments

Looks like from manifest.xml I should remove camera permission.

Yeah, base project includes all the permissions required by core plugins, but if you don't use some plugins you can remove those permissions.

Also, camera permission is not even required by camera plugin, it's only required if you use navigator.getUserMedia in your app to get the camera feed.

We should do a better job about documenting the plugin permissions.

Created https://github.com/ionic-team/capacitor/issues/852 to track the docs issue, going to close this one

Was this page helpful?
0 / 5 - 0 ratings

Related issues

danielsogl picture danielsogl  路  3Comments

Kepro picture Kepro  路  3Comments

nicobytes picture nicobytes  路  3Comments

alexcroox picture alexcroox  路  3Comments

daniel-lucas-silva picture daniel-lucas-silva  路  3Comments