Skip to content

Commit

Permalink
Upgrade google play service version to 17+ (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
HarelM authored Jul 3, 2024
1 parent 33dcfdb commit d7c3ae5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ You may also want to change default iOS permission prompts and set specific goog

```bash
cordova plugin add cordova-background-geolocation-plugin \
--variable GOOGLE_PLAY_SERVICES_VERSION=11+ \
--variable GOOGLE_PLAY_SERVICES_VERSION=17+ \
--variable ALWAYS_USAGE_DESCRIPTION="App requires ..." \
--variable MOTION_USAGE_DESCRIPTION="App requires motion detection"
```
Expand Down
2 changes: 1 addition & 1 deletion android/common/VERSIONS.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ def DEFAULT_COMPILE_SDK_VERSION = 28
def DEFAULT_BUILD_TOOLS_VERSION = "28.0.3"
def DEFAULT_TARGET_SDK_VERSION = 28
def DEFAULT_MIN_SDK_VERSION = 16
def DEFAULT_PLAY_SERVICES_VERSION = "11+"
def DEFAULT_PLAY_SERVICES_VERSION = "17+"
def DEFAULT_SUPPORT_LIB_VERSION = "28.0.0"
def DEFAULT_REACT_NATIVE_LIB_VERSION = "+"

Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ You may also want to change default iOS permission prompts and set specific goog

```bash
cordova plugin add cordova-background-geolocation-plugin \
--variable GOOGLE_PLAY_SERVICES_VERSION=11+ \
--variable GOOGLE_PLAY_SERVICES_VERSION=17+ \
--variable ANDROID_SUPPORT_LIBRARY_VERSION=26+ \
--variable ALWAYS_USAGE_DESCRIPTION="App requires ..." \
--variable MOTION_USAGE_DESCRIPTION="App requires motion detection"
Expand Down
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

<!-- android -->
<platform name="android">
<preference name="GOOGLE_PLAY_SERVICES_VERSION" default="11+"/>
<preference name="GOOGLE_PLAY_SERVICES_VERSION" default="17+"/>
<preference name="ICON" default="@mipmap/ic_launcher" />
<preference name="SMALL_ICON" default="@mipmap/ic_launcher" />
<preference name="ACCOUNT_NAME" default="@string/app_name" />
Expand Down

0 comments on commit d7c3ae5

Please sign in to comment.