dapriett / nativescript-google-maps-sdk

Cross Platform Google Maps SDK for Nativescript
MIT License
244 stars 164 forks source link

New location for "googlePlayServicesVersion" in NativeScript 5+ #327

Open tiagoblackcode opened 5 years ago

tiagoblackcode commented 5 years ago

In NativeScript 5+, the Gradle property that allows the SDK version to be customised must now be placed in app/App_Resources/Android/before-plugins.gradle instead of app/App_Resources/Android/app.gradle.

The change in question is https://github.com/NativeScript/android-runtime/pull/1185 released on version 5 (https://github.com/NativeScript/android-runtime/blob/master/CHANGELOG.md#500).

Placing it in app/App_Resources/Android/app.gradle won't work. The documentation should be updated to reflect this.