I tried to remove the CALL_LOG and SMS permission within my React Native app to compliant with Google new policy. However, after multiple tried, I can’t seem to get the alert message on Google Dev Console go away. It seem my APK still have not remove these permission. In my Android Manifest, I added
Also I tried to search all of my project and see that the CALL_LOG and SMS permission is nowhere to be found. If anyone had successful remove these permission with their ejected RN app can help me, that would be much appreciated.
Hi, same here. I commented out anything related to SMS and CALL in AndroidManifest.xml, but the warning persists. Does anyone know how to deal with it? Thanks.
After these steps I checked my play store listing, and it did reflect my changes (no call/sms permissions) but in the Play Console the warning is still there.
We are working on removing the need for the SMS permission in a future SDK version.
The only thing it was used for was so that the SMS API, which presented the system UI for sending texts, could report back whether the user hit “Send” or canceled the text — moving forward, the SMS API will provide this only on platforms that provide this info (namely iOS) since it is no longer available on Android.
The deadline is quite soon
Is there any guideline how we can remove these specific permissions using Expo (without ejecting the app) for Android right now ?
@llecocq@ohope - assuming you’re not using the SMS module, there is already a way around this – you can set android.permissions to [] in app.json and rebuild your app. This will completely remove the READ_SMS permission from your app.
Note that if your app is ejected, you’ll need to manually add the line
@esamelson I am using ExpoKit (detached app) and I have updated “AndroidManifest.xml” manually and deployed the latest build into google play store and it has been 4-5 hours, it is still showing the same alert message in google play console dashboard.
“This app will be impacted by a change in the Google Play policy governing the use of SMS and CALL_LOG permissions. Apps that are not compliant may be removed from Google Play on Jan 9th, 2019.”
How do I verify that its actually removed that permission or not?
Hi @opptygo.com - please see this post https://github.com/expo/expo/issues/2739#issuecomment-448269654 . Apparently there is a bug with the Play Console where that warning is cached and will take a day or two to go away. As long as you check the permissions pop up box and see that SMS is not there, and you don’t have any older APKs in other alpha/beta/internal tracks that do still have the permission, you should be good to go. I’d still recommend checking again in a day or two to ensure the warning has gone away.
I have tried multiple method but the warning still doesn’t seem to go away. How to I open the permissions pop up box as you mention to check for permission ? I have ejected the app and building it with android studio
Thank you for the advice, when I go back and checked, my app also still have the old beta release with wrong permission. Changed that and the warning go away
hey expo team, if I remove permissions from app json like you said with " android.permissions to []", is all my permission revoked? For example, I am using notifications. Is my permission for notification revoked too?