Removing the READ_SMS permission on Android for Google Play's new policy


#21

Ok thanks, I’ve updated the apk on the app store but my artefact library still has READ_SMS as a required permission. It sounds like I just have to wait for that to be removed


#22

just built with expo build:android, no permissions specified in app.json and READ_SMS is in the AndroidManifest.xml file :frowning:


#23

Sorry, I misspoke earlier. The READ_SMS permission has been removed only from SDK 32 builds. For SDK 31 and older, you’ll need to set "permissions": [] – or list out the permissions you use, if you do use extra permissions – in your app.json file.


#24

I’m using sdk 30 and 31, I can confirm that the alert is still there even after some time. I’ve this in one of apps:

"permissions":["READ_EXTERNAL_STORAGE", "WRITE_EXTERNAL_STORAGE","CAMERA"]

and this in the other:

"permissions":[]

I need to contact Google and explain the situation or is a bug in Google Play Console?


#25

The alert on the Google Play dashboard appears even if your latest uploaded APK is compliant. Checking your APK manifest is the best way to see the source of truth.


#26

I noticed that although the "permissions":[] trick works, the in-app permissions that I have configured (such as LOCATION and NOTIFICATIONS) are ignored. If I update the SDK to latest version, and remove the empty array from app.json, will this get solved?


#27

@ide I am include to give permissions:[] in app.json, but I am afraid that will disable PushNotification permission. How do I ensure I dont loose push notification permission ?


#28

My Push Notification permission got disabled. How do I “whitelist” it? I tried including "com.google.android.c2dm.permission.RECEIVE" in the app.json file to no avail.