Adding CAMERA permission makes so app does not install on Galaxy Tab 2

I added android permission

android.permission.CAMERA

to my app config file and when I upload to the google play store I see it adds to the features:

  • android.hardware.CAMERA
  • android.hardware.camera.AUTOFOCUS.

Now my app does not install on Galaxy Tab 2’s. I read elsewhere it’s because auto-focus camera. As you can see below, I attempt to set camera and autofocus to non-required but the problem persists.

 

Any suggestions?

 -- Android permissions android = { usesPermissions = { "android.permission.INTERNET", "android.permission.CAMERA", "android.permission.WRITE\_EXTERNAL\_STORAGE", -- Required by the MapView to fetch its contents from the Google "android.permission.INTERNET", -- Optional permission used to display current location via the GPS. "android.permission.ACCESS\_FINE\_LOCATION", -- Optional permission used to display current location via WiFi or "android.permission.ACCESS\_COARSE\_LOCATION", }, usesFeatures = { { name = "android.hardware.location", required = false }, { name = "android.hardware.location.gps", required = false }, { name = "android.hardware.location.network", required = false }, { name = "android.hardware.CAMERA", required = false }, { name = "android.hardware.camera.AUTOFOCUS", required = false }, }, }, 

 

 

Simple mistake, easy fix. 

Permissions are UPPERCASE while Features are lowercase.

Changed CAMERA to camera and the same for autofocus.

 { name = "android.hardware.camera", required = false }, { name = "android.hardware.camera.autofocus", required = false },

Simple mistake, easy fix. 

Permissions are UPPERCASE while Features are lowercase.

Changed CAMERA to camera and the same for autofocus.

 { name = "android.hardware.camera", required = false }, { name = "android.hardware.camera.autofocus", required = false },

thanks!

thanks!