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

App Stoped #12

Open sturmenta opened 6 years ago

sturmenta commented 6 years ago

After installing manually correctly, when run react-native run-android the application closes.

It was done:

rm -Rf node_modules ./gradlew clean

and without any results.

I can not detect the error since I do not see any error in the console, only the android message.

Richou commented 6 years ago

I will need more informations :

You can also, look in the android log (with adb logcat), to see if there is any stacktrace, when your application is closed.

Ternowy commented 6 years ago

Same problem Real device android 5 PSL version 11 RN 55.1

veeran-dev commented 6 years ago

Any solution / work around found, I am also facing the same problem.

MateRyze commented 6 years ago

Are you using other android dependencies? List them with ./gradlew app:dependencies in ./android My app was crashing, because react-native maps used other play-services version.

jntdst commented 6 years ago

Yes, make the versions all of of play-services identical. To do this, add these dependencies in build.gradle file. dependencies { ... compile 'com.google.android.gms:play-services-vision:15.0.1' compile 'com.google.android.gms:play-services-maps:15.0.1' ... }