Richou / react-native-android-location-enabler

Display a GoogleMap like android popup to ask for user to enable location services if disabled
MIT License
209 stars 52 forks source link

Support React-native 0.60 and AndroidX #24

Closed MBach closed 5 years ago

MBach commented 5 years ago

Hello,

New release of React-native https://facebook.github.io/react-native/blog/2019/07/03/version-60 has changed on how dependencies should be linked.

Regards,

Richou commented 5 years ago

Hello, Thanks for the issue, I release v1.2.0, can you tell me if it is good for you ?

Regards.

MBach commented 5 years ago

Working perfectly!

Adibacaj commented 5 years ago

Hello, Thanks for the issue, I release v1.2.0, can you tell me if it is good for you ?

Regards.

@Richou can you see this issue? https://github.com/Richou/react-native-android-location-enabler/issues/29

I have this problem when I upgraded to react-native 0.61.0-rc.3

Jojr commented 4 years ago

@Adibacaj I'm facing the same issue in RN 61.5.

Have you solved this issue?

singhvishal802 commented 4 years ago

Try adding following dependency under app/build.gradle implementation 'com.google.android.gms:play-services-location:15.0.0' Make sure to change all the play services dependency to same version.

Jojr commented 4 years ago

@singhvishal802 thank you for your advice. I changed my code to another approach using PermissionsAndroid from RN core.

If anyone want to know about it: https://facebook.github.io/react-native/docs/permissionsandroid