tschoffelen / react-native-email-link

📭 Open an email client from React Native (for 'magic link' type functionality).
MIT License
394 stars 70 forks source link

Library requiring location permissions #136

Closed msachi closed 4 months ago

msachi commented 4 months ago

Hi there,

I've had my app rejected by the Google Play store for not declaring that I'm using the user's precise location in the data safety form. After some digging, I found the following line in the merged AndroidManifest.xml:

<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> <!-- Required for react-native-email-link on Android 30+ -->

What is the reason for the library requiring location permissions? I don't see this documented anywhere.

Thanks!

tschoffelen commented 4 months ago

I'm not sure why that would be the case - I can't find any code related to that location permission in the repo. Are you sure this is coming from the library, and not manually added at some point to your code base?

I think that comment might be concatenated from here, but it will refer to the next line rather than this one.

msachi commented 4 months ago

Ah yes, I think you're right it's referring to the next line!

I'm not manually adding anything location-related to the manifest, and it only appears in the merged manifest after building, so I think it's coming from a library. But it must be some other library, not yours.

Will close the issue, thanks for your help!