I have an React Native Expo project that started out using the Expo “managed workflow”. However, since then I have ejected out of the managed workflow (while still using some expo modules).
The issue I’m experiencing is that Expo seems to have added arbitrary permission requests to my Android app.
I must remove this particular permission request from the app:
I’ve tried many ways to remove it in my
AndroidManifest.xml file, for example:
<uses-permission tools:node="remove" android:name="LOCATION_HARDWARE" /> <uses-permission tools:node="remove" android:name="ACCESS_COARSE_LOCATION" /> <uses-permission tools:node="remove" android:name="ACCESS_FINE_LOCATION" /> <uses-feature android:name="android.hardware.location" android:required="false" tools:node="remove" />
But in the end the bundled Android app still requests the
How can I remove it before bundling the app?