Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Google play service is not available." #19

Closed
pluberski opened this issue Apr 15, 2018 · 2 comments
Closed

"Google play service is not available." #19

pluberski opened this issue Apr 15, 2018 · 2 comments

Comments

@pluberski
Copy link

pluberski commented Apr 15, 2018

Hey! Thanks for making this plugin! It was working pretty well for me until I needed to update my code to Google Play Services version 15.0.0. After that, I updated my build.gradle file to reflect the change:

 dependencies {
     compile project(':react-native-code-push')
     compile project(':react-native-sentry')
     compile project(':react-native-restart')
     compile project(':react-native-linear-gradient')
     compile project(':react-native-spinkit')
     compile project(':react-native-device-info')
     compile project(':react-native-push-notification')
     compile(project(':react-native-geolocation-service')){
      exclude group: 'com.google.android.gms', module: 'play-services-location'
    }

    compile 'com.google.android.gms:play-services-location:15.0.0'

    compile fileTree(dir: "libs", include: ["*.jar"])
    compile "com.android.support:appcompat-v7:23.0.1"
    compile "com.facebook.react:react-native:+"  // From node_modules
}

Ever after, I just get the "Google play service is not available." error. Is there something I should know or is the library not compatible with 15.0.0?

@Agontuk
Copy link
Owner

Agontuk commented Apr 15, 2018

It means your device does not have the latest play service apk installed. Check if there's any update from the play store.

@pluberski
Copy link
Author

Ahhh, I see - I thought that would be taken care of by gradle installing the package with my app. Apparently not. :) Thanks! All's working now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants