The setup instructions suggest adding googlePlayServicesVersion, playServicesVersion or playServicesLocationVersion to the android/build.gradle file.
Only using the last one playServicesLocationVersion works. The other 2 throw dependency errors.
Summary
I updated the version numbers referenced in the setup instructions for the android/build.gradle file.
Adding googlePlayServicesVersion or playServicesVersion throws an error while using playServicesLocationVersion works.
398
Test Plan
I tried using googlePlayServicesVersion and using playServicesVersion. In both scenarios, building the app (by executing npx react-native run-android) throws an error regarding dependencies. I used playServicesLocationVersion. The app was built successfully, and the current location was picked correctly.
The setup instructions suggest adding
googlePlayServicesVersion
,playServicesVersion
orplayServicesLocationVersion
to theandroid/build.gradle
file. Only using the last oneplayServicesLocationVersion
works. The other 2 throw dependency errors.Summary
android/build.gradle
file.googlePlayServicesVersion
orplayServicesVersion
throws an error while usingplayServicesLocationVersion
works.398
Test Plan
I tried using
googlePlayServicesVersion
and usingplayServicesVersion
. In both scenarios, building the app (by executingnpx react-native run-android
) throws an error regarding dependencies. I usedplayServicesLocationVersion
. The app was built successfully, and the current location was picked correctly.