Can I customize which permissions are asked when a user installs my standalone app from the Play Store?


#1

Asked by Jan-Philipp over emal:

Hello,

is there a way to set the permissions when building a standalone android
app for publishing?

Is seems that per default permissions like location, read contacts,
camera (…) are required.

Cheers!


#2

Hello!

On Android 6 (Api 23) and higher all permissions are asked at runtime (after install, on demand), and on Android 5.1 (Api 22) and lower they are asked when you install the app from the Play Store.

There is currently no way to customize which permissions are asked for Api 22 and lower devices using Expo standalone builds. We’re hesitant to build this because 5.1 is on the way out and it represents a non-trivial amount of work. Android 5 is now two major versions behind, and while the adoption of new OS versions on Android is slower than iOS, only about 25% of all devices are on Android 5 (according to Mixpanel: https://mixpanel.com/trends/#report/android_frag/from_date:-19,to_date:0).

Best,
Brent


#3

A little privacy policy nightmare in a bottle.
Is it truly not possible to add a "permissions": false to exp.json just to get rid of all of them?


#4

we are working on this: https://expo.canny.io/feature-requests/p/customize-android-permissions

for now you can change the AndroidManifest.xml and resign the apk if you need to do this


#5

Thank you for your work :sunny:


#6

new SDK supports some permissions to be set now :slight_smile: