google play services mismatch with firebase requirement
See original GitHub issueI added the following dep because I’m still figuring out how to add project wide properties (always causing me more error that I barely understand):
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.1'
and I used 15.0.1 because I’m also using firebase messaging which requires me to put this:
implementation "com.google.android.gms:play-services-base:15.0.1"
implementation "com.google.firebase:firebase-core:16.0.1"
implementation "com.google.firebase:firebase-messaging:17.1.0"
implementation 'me.leolin:ShortcutBadger:1.1.21@aar'
in dependencies
and this on the bottom of app level gradle:
apply plugin: 'com.google.gms.google-services'
with that, I’m getting this error:
The library com.google.android.gms:play-services-basement is being requested by various other libraries at [[15.0.1,15.0.1]], but resolves to 11.0.0. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.
Do u have any suggestion as to what kind of config that would let ur lib to work with this situation? I’m pretty new with this (managing dependencies manually), so any help would be great 😄
Thanks in advance for trying to solve RN navigator.geolocation issue 😃
Issue Analytics
- State:
- Created 5 years ago
- Comments:13 (6 by maintainers)
Top Results From Across the Web
Dependencies of Firebase Android SDKs on Google Play ...
Which Firebase Android SDKs require Google Play services? Google Play services not required; Google Play services required or recommended.
Read more >firebase integration error: Google Play Services out of date
Seems that your device is not running the required version of Google Play services. Try updating Google Play services on the the device...
Read more >Android Mismatched Users - OneSignal Documentation
Mismatched Users is thrown when Google returns a ... Open your project's Firebase Developer Console and navigate to the Firebase ... No app...
Read more >Library versions | Google Play services
The Google Services Gradle plugin checks for compatible versions of Google Play services and Firebase libraries. Standalone version matcher plugin. If you're ...
Read more >The mystery of Google Play Services: Android's black box
11:20 - What advantages do apps have in using Google's Firebase Cloud Messaging (FCM) over alternative push notification APIs? 13:28 - How are ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No, I meant emulator will not give you the actual location. It’ll always return the same position that you entered. If you want to test your actual current position, you’re gonna need a real device.
@rayj10 Yes i use react-native-firebase, but not with messaging yet. This is part of my build.gradle: