-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Allow Specifying a different version for base and maps on android #2587
Conversation
For use in cocoapods only projects
Update from master
Update react-native maps
update from master
Update from master
lib/android/build.gradle
Outdated
def googlePlayServicesVersion = rootProject.hasProperty('googlePlayServicesVersion') ? rootProject.googlePlayServicesVersion : DEFAULT_GOOGLE_PLAY_SERVICES_VERSION | ||
def androidMapsUtilsVersion = rootProject.hasProperty('androidMapsUtilsVersion') ? rootProject.androidMapsUtilsVersion : DEFAULT_ANDROID_MAPS_UTILS_VERSION | ||
def googlePlayServicesVersion = rootProject.hasProperty('googlePlayServicesVersion') ? rootProject.googlePlayServicesVersion : DEFAULT_GOOGLE_PLAY_SERVICES_VERSION | ||
// googlePlayServicesMapsVersion > googlePlayServicesVersion > DEFAULT_GOOGLE_PLAY_SERVICES_MAPS_VERSION (16.0.0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need this commented code?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not code, it was a comment so that people understand the line below. It can remove it completely
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe you could make then more clear (more descriptive) or delete it, your call 😄
Well I could import his pr inside of mine if you want me to, or wait for his to be merged |
Sure thing 😄 |
hey guys, sorry for delay. sure thing mate @Titozzz go ahead 😃 |
Will do :) |
@rborn Done ✅ |
Still nothing ? 😢 |
@Titozzz sorry man, vacations + very busy, done now ❤️ |
Don't worry ❤️ This was part of emptying my github gigantic pile of notifications after vacations :D ! Thanks ! you can close #2584 |
…act-native-maps#2587) * Fix Google map podspec For use in cocoapods only projects * Update react-native-google-maps.podspec * Update build.gradle * Update build.gradle * Update build.gradle * Update build.gradle
…act-native-maps#2587) * Fix Google map podspec For use in cocoapods only projects * Update react-native-google-maps.podspec * Update build.gradle * Update build.gradle * Update build.gradle * Update build.gradle
Does any other open PR do the same thing?
No
What issue is this PR fixing?
#2584
How did you test this PR?
This allows android to specify a custom version for
com.google.android.gms : play-services-maps
and
com.google.android.gms : play-services-base
by specifying
for example I had to use 16.0.1 for base but maps does not exist for that version
https://mvnrepository.com/artifact/com.google.android.gms/play-services-maps
It should automatically fallback to googlePlayServicesVersion value if googlePlayServicesMapsVersion is not specified