@capacitor-community/background-geolocation
Advanced tools
Comparing version 1.2.13 to 1.2.14
{ | ||
"name": "@capacitor-community/background-geolocation", | ||
"version": "1.2.13", | ||
"description": "Receive geolocation updates even while app is backgrounded.", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/capacitor-community/background-geolocation" | ||
}, | ||
"license": "MIT", | ||
"author": "James Diacono", | ||
"types": "definitions.d.ts", | ||
"files": [ | ||
"android/build.gradle", | ||
"android/settings.gradle", | ||
"android/proguard-rules.pro", | ||
"android/gradle/wrapper/gradle-wrapper.properties", | ||
"android/gradle.properties", | ||
"ios/Plugin/Plugin.*", | ||
"android/src/main/", | ||
"ios/Podfile*", | ||
"ios/Plugin/Info.plist", | ||
"CapacitorCommunityBackgroundGeolocation.podspec", | ||
"definitions.d.ts" | ||
], | ||
"devDependencies": { | ||
"@capacitor/android": "^4.0.0", | ||
"@capacitor/core": "^4.0.0", | ||
"@capacitor/ios": "^4.0.0" | ||
}, | ||
"peerDependencies": { | ||
"@capacitor/core": ">=3.0.0" | ||
}, | ||
"capacitor": { | ||
"ios": { | ||
"src": "ios" | ||
"name": "@capacitor-community/background-geolocation", | ||
"version": "1.2.14", | ||
"description": "Receive geolocation updates even while the app is in the background.", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/capacitor-community/background-geolocation" | ||
}, | ||
"android": { | ||
"src": "android" | ||
"license": "MIT", | ||
"author": "James Diacono", | ||
"types": "definitions.d.ts", | ||
"files": [ | ||
"android/build.gradle", | ||
"android/settings.gradle", | ||
"android/proguard-rules.pro", | ||
"android/gradle/wrapper/gradle-wrapper.properties", | ||
"android/gradle.properties", | ||
"ios/Plugin/Plugin.*", | ||
"android/src/main/", | ||
"ios/Podfile*", | ||
"ios/Plugin/Info.plist", | ||
"CapacitorCommunityBackgroundGeolocation.podspec", | ||
"definitions.d.ts" | ||
], | ||
"devDependencies": { | ||
"@capacitor/android": "^5.0.0", | ||
"@capacitor/core": "^5.0.0", | ||
"@capacitor/ios": "^5.0.0" | ||
}, | ||
"peerDependencies": { | ||
"@capacitor/core": "^5.0.0" | ||
}, | ||
"capacitor": { | ||
"ios": { | ||
"src": "ios" | ||
}, | ||
"android": { | ||
"src": "android" | ||
} | ||
} | ||
} | ||
} |
@@ -134,2 +134,3 @@ # Background Geolocation | ||
| v4 | v1 | | ||
| v5 | v1 | | ||
@@ -163,2 +164,6 @@ Read the documentation for v0.3 [here](https://github.com/capacitor-community/background-geolocation/tree/0.3.x). | ||
Set the the `android.useLegacyBridge` option to `true` in your Capacitor configuration. This prevent location updates from halting after 5 minutes in the background. See https://capacitorjs.com/docs/config and #89. | ||
On Android 13+, the app needs the `POST_NOTIFICATIONS` runtime permission to show the persistent notification informing the user that their location is being used in the background. You may need to request this permission from the user, see https://developer.android.com/develop/ui/views/notifications/notification-permission. | ||
Configration specific to Android can be made in `strings.xml`: | ||
@@ -165,0 +170,0 @@ ```xml |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47632
217