Skip to content

Commit

Permalink
Added FOREGROUND_SERVICE_LOCATION permission, bump version to 2.2.1 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
HarelM authored May 29, 2024
1 parent 9d577ae commit a714d26
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_LOCATION" />

<application android:label="@string/app_name">
</application>
Expand Down
1 change: 1 addition & 0 deletions android/common/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,5 @@
<uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_LOCATION" />
</manifest>
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cordova-background-geolocation-plugin",
"version": "2.2.0",
"version": "2.2.1",
"description": "Cordova Background Geolocation Plugin",
"main": "./www/BackgroundGeolocation.js",
"types": "./www/BackgroundGeolocation.d.ts",
Expand Down
3 changes: 2 additions & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-background-geolocation-plugin"
version="2.2.0">
version="2.2.1">
<name>cordova-background-geolocation-plugin</name>
<description>Cordova Background Geolocation Plugin</description>
<license>Apache-2.0</license>
Expand Down Expand Up @@ -184,6 +184,7 @@
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_LOCATION" />
<uses-permission android:name="android.hardware.location" />
</config-file>
<config-file target="res/xml/config.xml" parent="/*">
Expand Down

0 comments on commit a714d26

Please sign in to comment.