react-native-background-geolocation 4.4.6 → 4.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/android/build.gradle +16 -7
- package/android/libs/com/transistorsoft/tslocationmanager/{3.1.37/tslocationmanager-3.1.37.aar → 3.2.0/tslocationmanager-3.2.0.aar} +0 -0
- package/android/libs/com/transistorsoft/tslocationmanager/3.2.0/tslocationmanager-3.2.0.aar.md5 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager/3.2.0/tslocationmanager-3.2.0.aar.sha1 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager/3.2.0/tslocationmanager-3.2.0.aar.sha256 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager/3.2.0/tslocationmanager-3.2.0.aar.sha512 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager/{3.1.37/tslocationmanager-3.1.37.pom → 3.2.0/tslocationmanager-3.2.0.pom} +1 -1
- package/android/libs/com/transistorsoft/tslocationmanager/3.2.0/tslocationmanager-3.2.0.pom.md5 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager/3.2.0/tslocationmanager-3.2.0.pom.sha1 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager/3.2.0/tslocationmanager-3.2.0.pom.sha256 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager/3.2.0/tslocationmanager-3.2.0.pom.sha512 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager/maven-metadata.xml +5 -6
- package/android/libs/com/transistorsoft/tslocationmanager-reverse/{3.1.37/tslocationmanager-reverse-3.1.37.aar → 3.2.0/tslocationmanager-reverse-3.2.0.aar} +0 -0
- package/android/libs/com/transistorsoft/tslocationmanager-reverse/3.2.0/tslocationmanager-reverse-3.2.0.aar.md5 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager-reverse/3.2.0/tslocationmanager-reverse-3.2.0.aar.sha1 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager-reverse/3.2.0/tslocationmanager-reverse-3.2.0.aar.sha256 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager-reverse/3.2.0/tslocationmanager-reverse-3.2.0.aar.sha512 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager-reverse/{3.1.37/tslocationmanager-reverse-3.1.37.pom → 3.2.0/tslocationmanager-reverse-3.2.0.pom} +1 -1
- package/android/libs/com/transistorsoft/tslocationmanager-reverse/3.2.0/tslocationmanager-reverse-3.2.0.pom.md5 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager-reverse/3.2.0/tslocationmanager-reverse-3.2.0.pom.sha1 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager-reverse/3.2.0/tslocationmanager-reverse-3.2.0.pom.sha256 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager-reverse/3.2.0/tslocationmanager-reverse-3.2.0.pom.sha512 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager-reverse/maven-metadata.xml +5 -6
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/Info.plist +7 -7
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64_armv7/TSLocationManager.framework/Headers/TSLocation.h +2 -0
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64_armv7/TSLocationManager.framework/Info.plist +0 -0
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64_armv7/TSLocationManager.framework/TSLocationManager +0 -0
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64_i386_x86_64-simulator/TSLocationManager.framework/Headers/TSLocation.h +2 -0
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64_i386_x86_64-simulator/TSLocationManager.framework/Info.plist +0 -0
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64_i386_x86_64-simulator/TSLocationManager.framework/TSLocationManager +0 -0
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64_i386_x86_64-simulator/TSLocationManager.framework/_CodeSignature/CodeDirectory +0 -0
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64_i386_x86_64-simulator/TSLocationManager.framework/_CodeSignature/CodeRequirements-1 +0 -0
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64_i386_x86_64-simulator/TSLocationManager.framework/_CodeSignature/CodeResources +4 -4
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSLocation.h +2 -0
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Resources/Info.plist +9 -9
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/TSLocationManager +0 -0
- package/package.json +2 -2
- package/src/declarations/types.d.ts +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager/3.1.37/tslocationmanager-3.1.37.aar.md5 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager/3.1.37/tslocationmanager-3.1.37.aar.sha1 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager/3.1.37/tslocationmanager-3.1.37.aar.sha256 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager/3.1.37/tslocationmanager-3.1.37.aar.sha512 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager/3.1.37/tslocationmanager-3.1.37.pom.md5 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager/3.1.37/tslocationmanager-3.1.37.pom.sha1 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager/3.1.37/tslocationmanager-3.1.37.pom.sha256 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager/3.1.37/tslocationmanager-3.1.37.pom.sha512 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager-reverse/3.1.37/tslocationmanager-reverse-3.1.37.aar.md5 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager-reverse/3.1.37/tslocationmanager-reverse-3.1.37.aar.sha1 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager-reverse/3.1.37/tslocationmanager-reverse-3.1.37.aar.sha256 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager-reverse/3.1.37/tslocationmanager-reverse-3.1.37.aar.sha512 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager-reverse/3.1.37/tslocationmanager-reverse-3.1.37.pom.md5 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager-reverse/3.1.37/tslocationmanager-reverse-3.1.37.pom.sha1 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager-reverse/3.1.37/tslocationmanager-reverse-3.1.37.pom.sha256 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager-reverse/3.1.37/tslocationmanager-reverse-3.1.37.pom.sha512 +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,52 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 4.8.0 — 2022-06-21
|
|
4
|
+
* [Android] Fix bug in `onProviderChange` event: not properly detecting when location-services disabled.
|
|
5
|
+
* [Android] __Android 12__: Guard `Context.startForegroundService` with `try / catch`: the plugin will now catch exception `ForegroundServiceStartNotAllowedException` and automatically retry with an `AlarmManager` *oneShot* event.
|
|
6
|
+
* [Android] __Android 12__: Refactor foreground-service management for Android 12: A way has been found to restore the traditional behaviour of foreground-services, allowing them to stop when no longer required (eg: where the plugin is in the stationary state).
|
|
7
|
+
* [Android] Refactor application life-cycle management. Remove deprecated permission `android.permission.GET_TASKS` traditionally used for detecting when the app has been terminated. The new life-cycle mgmt system can detect Android headless-mode in a much more elegant manner.
|
|
8
|
+
* [Android] Better handling for `WhenInUse` behaviour: The plugin will not allow `.changePace(true)` to be executed when the app is in the background (since Android forbids location-services to initiated in the background with `WhenInUse`).
|
|
9
|
+
* [Android] Refactor `useSignificantChangesOnly` behaviour. Will use a default `motionTriggerDelay` with minimum 60000ms, minimum `distanceFilter: 250` and enforced `stopTimeout: 20`.
|
|
10
|
+
* [iOS] iOS 15 has finally implemented *Mock Location Detection*. `location.mock` will now be present for iOS when the location is mocked, just like Android.
|
|
11
|
+
|
|
12
|
+
## 4.7.2 — Unreleased
|
|
13
|
+
* [Android] Re-factor onProviderChange. Add broadcast-receiver for `AIRPLANE_MODE` detection.
|
|
14
|
+
* [Android] Add guard against Android 12 issue where location-services fail to turn off after terminate and plugin enters stationary state.
|
|
15
|
+
* [Android] Prevent recording motionchange position from running after onProviderChange.
|
|
16
|
+
* [Android] Fix bug in Android 12 support for executing `.start()` in background while terminated. Used `JobScheduler` ONESHOT instead of `AlarmManager`.
|
|
17
|
+
* [Android] Plugin could be placed into an infinite loop requesting motionchange position in some cases.
|
|
18
|
+
* [Android] Address `ConcurrentModificationException` in `onPermissionGranted`.
|
|
19
|
+
|
|
20
|
+
## 4.7.1 — 2022-05-12
|
|
21
|
+
* [Android] If on device reboot location-services fails to provide a location (eg: timeout, airplane mode), the plugin would rely on motion API events to try again. This is a problem if the motion api is disabled. Instead, the SDK will keep trying to retrieve a location.
|
|
22
|
+
* [Android] Android 12 support for `ForegroundServiceStartNotAllowedException`: immediately launch the SDK's `TrackingService` as soon as `.start()` executes. If a location-timeout occurs while fetching the onMotionChange position after device reboot with `startOnBoot: true`, the `ForegroundServiceStartNotAllowedException` could be raised.
|
|
23
|
+
* [Android] Add two new attributes `android:enabled` and `android:permission` to the SDK's built-in `BootReceiver`:
|
|
24
|
+
```xml
|
|
25
|
+
<receiver android:name="com.transistorsoft.locationmanager.BootReceiver" android:enabled="true" android:exported="false" android:permission="android.permission.RECEIVE_BOOT_COMPLETED">
|
|
26
|
+
```
|
|
27
|
+
* [Android] Android 12 support for executing `.start()` and `.getCurrentPosition()` while the plugin is disabled and in the background. This is a bypass of new Android 12 restrictions for starting foreground-services in the background by taking advantage of AlarmManager.
|
|
28
|
+
```
|
|
29
|
+
Fatal Exception: android.app.ForegroundServiceStartNotAllowedException: startForegroundService() not allowed due to mAllowStartForeground false: service
|
|
30
|
+
```
|
|
31
|
+
* [Android] Added two new `androidx.lifecycle` dependencies to plugin's `build.gradle`, in addition to corresponding `ext` vars `ext.lifeCycleRunTimeVersion` and `ext.lifeCycleRuntimeVersion`
|
|
32
|
+
- `"androidx.lifecycle:lifecycle-runtime"`
|
|
33
|
+
- `"androidx.lifecycle:lifecycle-extensions"`
|
|
34
|
+
|
|
35
|
+
## 4.6.0 — 2022-04-29
|
|
36
|
+
* [Android] Add a few extra manufacturer-specific `Intent` for `DeviceSettings.showPowerManager()`.
|
|
37
|
+
* [Android] Minimum `compileSdkVersion 31` is now required.
|
|
38
|
+
* [Android] Now that a minimum `targetSdkVersion 29` is required to release an Android app to *Play Store*, the SDK's `AndroidManifest` now automatically applies `android:foregroundServiceType="location"` to all required `Service` declarations. You no longer need to manually provide overrides in your own `AndroidManifest`, ie:
|
|
39
|
+
```diff
|
|
40
|
+
<manifest>
|
|
41
|
+
<application>
|
|
42
|
+
- <service android:name="com.transistorsoft.locationmanager.service.TrackingService" android:foregroundServiceType="location" />
|
|
43
|
+
- <service android:name="com.transistorsoft.locationmanager.service.LocationRequestService" android:foregroundServiceType="location" />
|
|
44
|
+
</application>
|
|
45
|
+
</manifest>
|
|
46
|
+
```
|
|
47
|
+
* [Android] Upgrade `android-permissions` dependency from 0.1.8 -> 2.1.6.
|
|
48
|
+
* [iOS] Rebuild `TSLocationManager.xcframework` with XCode 13.3
|
|
49
|
+
|
|
3
50
|
## 4.4.6 — 2022-03-29
|
|
4
51
|
* [Android] While testing adding 20k geofences, the Logger can cause an `OutOfMemory` error. Define a dedicated thread executor `Executors.newFixedThreadPool(2)` for posting log messages in background.
|
|
5
52
|
* [iOS] remote event-listeners in onAppTerminate to prevent onEnabledChange event being fired in a dying app configured for `stopOnTerminate: true`
|
package/android/build.gradle
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
apply plugin: 'com.android.library'
|
|
2
2
|
|
|
3
3
|
// Android dependencies
|
|
4
|
-
def DEFAULT_COMPILE_SDK_VERSION =
|
|
5
|
-
def DEFAULT_TARGET_SDK_VERSION =
|
|
6
|
-
def DEFAULT_APP_COMPAT_VERSION = "1.
|
|
4
|
+
def DEFAULT_COMPILE_SDK_VERSION = 31
|
|
5
|
+
def DEFAULT_TARGET_SDK_VERSION = 30
|
|
6
|
+
def DEFAULT_APP_COMPAT_VERSION = "1.4.1"
|
|
7
7
|
|
|
8
8
|
// Plugin dependencies
|
|
9
|
-
def DEFAULT_GOOGLE_PLAY_SERVICES_LOCATION_VERSION = "
|
|
9
|
+
def DEFAULT_GOOGLE_PLAY_SERVICES_LOCATION_VERSION = "19.0.1"
|
|
10
10
|
def DEFAULT_OK_HTTP_VERSION = "3.12.13"
|
|
11
|
-
def DEFAULT_ANDROID_PERMISSIONS_VERSION = "
|
|
12
|
-
def DEFAULT_EVENTBUS_VERSION = "3.
|
|
11
|
+
def DEFAULT_ANDROID_PERMISSIONS_VERSION = "2.1.6"
|
|
12
|
+
def DEFAULT_EVENTBUS_VERSION = "3.3.1"
|
|
13
13
|
def DEFAULT_LOCAL_BROADCAST_MANAGER_VERSION = "1.0.0"
|
|
14
|
+
def DEFAULT_LIFE_CYCLE_RUNTIME_VERSION = "2.4.1"
|
|
15
|
+
def DEFAULT_LIFE_CYCLE_EXTENSIONS_VERSION = "2.2.0"
|
|
14
16
|
|
|
15
17
|
def useAndroidX = (project.hasProperty("android.useAndroidX")) ? project.property("android.useAndroidX") : false
|
|
16
18
|
|
|
@@ -43,6 +45,9 @@ dependencies {
|
|
|
43
45
|
def androidPermissionsVersion = safeExtGet('androidPermissionsVersion', DEFAULT_ANDROID_PERMISSIONS_VERSION)
|
|
44
46
|
def eventBusVersion = safeExtGet('eventBusVersion', DEFAULT_EVENTBUS_VERSION)
|
|
45
47
|
def localBroadcastManagerVersion = safeExtGet('localBroadcastManagerVersion', DEFAULT_LOCAL_BROADCAST_MANAGER_VERSION)
|
|
48
|
+
def lifeCycleRuntimeVersion = safeExtGet('lifeCycleRuntimeVersion', DEFAULT_LIFE_CYCLE_RUNTIME_VERSION)
|
|
49
|
+
def lifeCycleExtensionsVersion = safeExtGet('lifeCycleExtensionsVersion', DEFAULT_LIFE_CYCLE_EXTENSIONS_VERSION)
|
|
50
|
+
|
|
46
51
|
implementation "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}"
|
|
47
52
|
// tslocationmanager.aar
|
|
48
53
|
if (useAndroidX) {
|
|
@@ -51,7 +56,7 @@ dependencies {
|
|
|
51
56
|
} else {
|
|
52
57
|
api(group: 'com.transistorsoft', name:'tslocationmanager-reverse', version: '+')
|
|
53
58
|
}
|
|
54
|
-
|
|
59
|
+
|
|
55
60
|
implementation "androidx.appcompat:appcompat:$appCompatVersion"
|
|
56
61
|
implementation "com.google.android.gms:play-services-location:$playServicesLocationVersion"
|
|
57
62
|
implementation "org.greenrobot:eventbus:$eventBusVersion"
|
|
@@ -59,4 +64,8 @@ dependencies {
|
|
|
59
64
|
implementation 'org.slf4j:slf4j-api:1.7.25'
|
|
60
65
|
implementation 'com.github.tony19:logback-android:2.0.0'
|
|
61
66
|
implementation "io.github.nishkarsh:android-permissions:$androidPermissionsVersion"
|
|
67
|
+
// LifeCycleObserver
|
|
68
|
+
implementation "androidx.lifecycle:lifecycle-runtime:$lifeCycleRuntimeVersion"
|
|
69
|
+
implementation "androidx.lifecycle:lifecycle-extensions:$lifeCycleExtensionsVersion"
|
|
70
|
+
|
|
62
71
|
}
|
|
Binary file
|
package/android/libs/com/transistorsoft/tslocationmanager/3.2.0/tslocationmanager-3.2.0.aar.md5
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ec55babe31d8aa3904fef8bf386551b1
|
package/android/libs/com/transistorsoft/tslocationmanager/3.2.0/tslocationmanager-3.2.0.aar.sha1
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ed830184db07958882c6a45e0bd161d3579e76e6
|
package/android/libs/com/transistorsoft/tslocationmanager/3.2.0/tslocationmanager-3.2.0.aar.sha256
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ab123be2746cde234d73d5bcb7ba43d0244863f6793b998957719d2453d29041
|
package/android/libs/com/transistorsoft/tslocationmanager/3.2.0/tslocationmanager-3.2.0.aar.sha512
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
22637965b65d2be0b58c399b22253c1d7e4e5686f44a4feca0530256ae04ea18743352ba052d3244494a3222bd7a8334bc9b1ba9004c5e0fcc776899d435800c
|
package/android/libs/com/transistorsoft/tslocationmanager/3.2.0/tslocationmanager-3.2.0.pom.md5
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
e881a0a90b5fb4c1f8842f5665050749
|
package/android/libs/com/transistorsoft/tslocationmanager/3.2.0/tslocationmanager-3.2.0.pom.sha1
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
40d54ed521787422446dc06afba5a02762f27740
|
package/android/libs/com/transistorsoft/tslocationmanager/3.2.0/tslocationmanager-3.2.0.pom.sha256
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
f986e9fe5e8ecbd9023de7ee2f89f8a483a851397c289c247b666e120d3928ce
|
package/android/libs/com/transistorsoft/tslocationmanager/3.2.0/tslocationmanager-3.2.0.pom.sha512
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
435bf38ae8aff418f334d16f542aea0dc340919d8bcc066b622a011b274d08471377023c4c7194d8a58cfa5bce564ace1d0d6ad8adb2b7e3772778a76596f369
|
|
@@ -3,13 +3,12 @@
|
|
|
3
3
|
<groupId>com.transistorsoft</groupId>
|
|
4
4
|
<artifactId>tslocationmanager</artifactId>
|
|
5
5
|
<versioning>
|
|
6
|
-
<latest>3.
|
|
7
|
-
<release>3.
|
|
6
|
+
<latest>3.2.0</latest>
|
|
7
|
+
<release>3.2.0</release>
|
|
8
8
|
<versions>
|
|
9
|
-
<version>3.1.
|
|
10
|
-
<version>3.
|
|
11
|
-
<version>3.1.37</version>
|
|
9
|
+
<version>3.1.46</version>
|
|
10
|
+
<version>3.2.0</version>
|
|
12
11
|
</versions>
|
|
13
|
-
<lastUpdated>
|
|
12
|
+
<lastUpdated>20220620224941</lastUpdated>
|
|
14
13
|
</versioning>
|
|
15
14
|
</metadata>
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
9e0a49371fc1a89d268de055bb1c5921
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
be1dc0596b9d9daaac55f6998fcd7596c01871b9
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
b0d0def4b4d88b5d2b840aaeb487e4a67d9235e3d5aa1a98f36ca2c38c585c1d
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
145fc2ec5847a3b22f607a5ba75fae4d2d026d712d9fc36477d035b44907d10b35c3a694fbbea07ef3c77b1fc3189cd572306bf2df526f470d083471d379f8b5
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
99d9b1d6ec9e1ac8c6954230f9c4e1b8
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
4708f71fc0007c005de773a73c5a6daf7d8e91aa
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
666f560bd1849f11b898391e7939550d76f3e47608597c2ce0ded18e9fd54040
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ed9e8f7943ad1fb6c1e5eb4ecce9fa5c01c27081fbae3beada0797eb59bc0e1ee54c5ecfddfa80ac99d500a55c4dbc7d3590696ae45d809e11f3f0c6863fc25d
|
|
@@ -3,13 +3,12 @@
|
|
|
3
3
|
<groupId>com.transistorsoft</groupId>
|
|
4
4
|
<artifactId>tslocationmanager-reverse</artifactId>
|
|
5
5
|
<versioning>
|
|
6
|
-
<latest>3.
|
|
7
|
-
<release>3.
|
|
6
|
+
<latest>3.2.0</latest>
|
|
7
|
+
<release>3.2.0</release>
|
|
8
8
|
<versions>
|
|
9
|
-
<version>3.1.
|
|
10
|
-
<version>3.
|
|
11
|
-
<version>3.1.37</version>
|
|
9
|
+
<version>3.1.46</version>
|
|
10
|
+
<version>3.2.0</version>
|
|
12
11
|
</versions>
|
|
13
|
-
<lastUpdated>
|
|
12
|
+
<lastUpdated>20220620224941</lastUpdated>
|
|
14
13
|
</versioning>
|
|
15
14
|
</metadata>
|
|
@@ -6,32 +6,32 @@
|
|
|
6
6
|
<array>
|
|
7
7
|
<dict>
|
|
8
8
|
<key>LibraryIdentifier</key>
|
|
9
|
-
<string>ios-
|
|
9
|
+
<string>ios-arm64_i386_x86_64-simulator</string>
|
|
10
10
|
<key>LibraryPath</key>
|
|
11
11
|
<string>TSLocationManager.framework</string>
|
|
12
12
|
<key>SupportedArchitectures</key>
|
|
13
13
|
<array>
|
|
14
14
|
<string>arm64</string>
|
|
15
|
-
<string>
|
|
15
|
+
<string>i386</string>
|
|
16
|
+
<string>x86_64</string>
|
|
16
17
|
</array>
|
|
17
18
|
<key>SupportedPlatform</key>
|
|
18
19
|
<string>ios</string>
|
|
20
|
+
<key>SupportedPlatformVariant</key>
|
|
21
|
+
<string>simulator</string>
|
|
19
22
|
</dict>
|
|
20
23
|
<dict>
|
|
21
24
|
<key>LibraryIdentifier</key>
|
|
22
|
-
<string>ios-
|
|
25
|
+
<string>ios-arm64_armv7</string>
|
|
23
26
|
<key>LibraryPath</key>
|
|
24
27
|
<string>TSLocationManager.framework</string>
|
|
25
28
|
<key>SupportedArchitectures</key>
|
|
26
29
|
<array>
|
|
27
30
|
<string>arm64</string>
|
|
28
|
-
<string>
|
|
29
|
-
<string>x86_64</string>
|
|
31
|
+
<string>armv7</string>
|
|
30
32
|
</array>
|
|
31
33
|
<key>SupportedPlatform</key>
|
|
32
34
|
<string>ios</string>
|
|
33
|
-
<key>SupportedPlatformVariant</key>
|
|
34
|
-
<string>simulator</string>
|
|
35
35
|
</dict>
|
|
36
36
|
<dict>
|
|
37
37
|
<key>LibraryIdentifier</key>
|
|
@@ -72,6 +72,8 @@ typedef enum tsLocationType : NSInteger {
|
|
|
72
72
|
* to the plugin's database, nor are they posted to your configured #url
|
|
73
73
|
*/
|
|
74
74
|
@property (nonatomic, readonly) BOOL isSample;
|
|
75
|
+
|
|
76
|
+
@property (nonatomic, readonly) BOOL mock;
|
|
75
77
|
/**
|
|
76
78
|
* YES when this location was provided to a heartbeat event
|
|
77
79
|
*/
|
|
Binary file
|
|
Binary file
|
|
@@ -72,6 +72,8 @@ typedef enum tsLocationType : NSInteger {
|
|
|
72
72
|
* to the plugin's database, nor are they posted to your configured #url
|
|
73
73
|
*/
|
|
74
74
|
@property (nonatomic, readonly) BOOL isSample;
|
|
75
|
+
|
|
76
|
+
@property (nonatomic, readonly) BOOL mock;
|
|
75
77
|
/**
|
|
76
78
|
* YES when this location was provided to a heartbeat event
|
|
77
79
|
*/
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
</data>
|
|
103
103
|
<key>Headers/TSLocation.h</key>
|
|
104
104
|
<data>
|
|
105
|
-
|
|
105
|
+
1mg7Br/BpsMYtl9RvmFgPHnnysI=
|
|
106
106
|
</data>
|
|
107
107
|
<key>Headers/TSLocationManager.h</key>
|
|
108
108
|
<data>
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
</data>
|
|
139
139
|
<key>Info.plist</key>
|
|
140
140
|
<data>
|
|
141
|
-
|
|
141
|
+
YDZTb0oJE3fq+OMxysmlktNu66E=
|
|
142
142
|
</data>
|
|
143
143
|
<key>Modules/module.modulemap</key>
|
|
144
144
|
<data>
|
|
@@ -415,11 +415,11 @@
|
|
|
415
415
|
<dict>
|
|
416
416
|
<key>hash</key>
|
|
417
417
|
<data>
|
|
418
|
-
|
|
418
|
+
1mg7Br/BpsMYtl9RvmFgPHnnysI=
|
|
419
419
|
</data>
|
|
420
420
|
<key>hash2</key>
|
|
421
421
|
<data>
|
|
422
|
-
|
|
422
|
+
FTWiNKgNFY9FMbZbJc/dKCyrfir0MadGghuUTPFStXU=
|
|
423
423
|
</data>
|
|
424
424
|
</dict>
|
|
425
425
|
<key>Headers/TSLocationManager.h</key>
|
|
@@ -72,6 +72,8 @@ typedef enum tsLocationType : NSInteger {
|
|
|
72
72
|
* to the plugin's database, nor are they posted to your configured #url
|
|
73
73
|
*/
|
|
74
74
|
@property (nonatomic, readonly) BOOL isSample;
|
|
75
|
+
|
|
76
|
+
@property (nonatomic, readonly) BOOL mock;
|
|
75
77
|
/**
|
|
76
78
|
* YES when this location was provided to a heartbeat event
|
|
77
79
|
*/
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<plist version="1.0">
|
|
4
4
|
<dict>
|
|
5
5
|
<key>BuildMachineOSBuild</key>
|
|
6
|
-
<string>
|
|
6
|
+
<string>21E258</string>
|
|
7
7
|
<key>CFBundleDevelopmentRegion</key>
|
|
8
8
|
<string>en</string>
|
|
9
9
|
<key>CFBundleExecutable</key>
|
|
@@ -17,29 +17,29 @@
|
|
|
17
17
|
<key>CFBundlePackageType</key>
|
|
18
18
|
<string>FMWK</string>
|
|
19
19
|
<key>CFBundleShortVersionString</key>
|
|
20
|
-
<string>4.1.
|
|
20
|
+
<string>4.1.3</string>
|
|
21
21
|
<key>CFBundleSupportedPlatforms</key>
|
|
22
22
|
<array>
|
|
23
23
|
<string>MacOSX</string>
|
|
24
24
|
</array>
|
|
25
25
|
<key>CFBundleVersion</key>
|
|
26
|
-
<string>
|
|
26
|
+
<string>385</string>
|
|
27
27
|
<key>DTCompiler</key>
|
|
28
28
|
<string>com.apple.compilers.llvm.clang.1_0</string>
|
|
29
29
|
<key>DTPlatformBuild</key>
|
|
30
|
-
<string>
|
|
30
|
+
<string>13E500a</string>
|
|
31
31
|
<key>DTPlatformName</key>
|
|
32
32
|
<string>macosx</string>
|
|
33
33
|
<key>DTPlatformVersion</key>
|
|
34
|
-
<string>12.
|
|
34
|
+
<string>12.3</string>
|
|
35
35
|
<key>DTSDKBuild</key>
|
|
36
|
-
<string>
|
|
36
|
+
<string>21E226</string>
|
|
37
37
|
<key>DTSDKName</key>
|
|
38
|
-
<string>macosx12.
|
|
38
|
+
<string>macosx12.3</string>
|
|
39
39
|
<key>DTXcode</key>
|
|
40
|
-
<string>
|
|
40
|
+
<string>1331</string>
|
|
41
41
|
<key>DTXcodeBuild</key>
|
|
42
|
-
<string>
|
|
42
|
+
<string>13E500a</string>
|
|
43
43
|
<key>LSMinimumSystemVersion</key>
|
|
44
44
|
<string>10.15</string>
|
|
45
45
|
<key>UIDeviceFamily</key>
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-background-geolocation",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.8.0",
|
|
4
4
|
"description": "The most sophisticated cross-platform background location-tracking & geofencing module with battery-conscious motion-detection intelligence",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"react-native": ">=0.36.0"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"react-native-background-fetch": "~4.0
|
|
46
|
+
"react-native-background-fetch": "~4.1.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@transistorsoft/typedoc-theme": "^2.0.8",
|
|
@@ -137,6 +137,7 @@ declare module "react-native-background-geolocation" {
|
|
|
137
137
|
* | 0 | Location unknown |
|
|
138
138
|
* | 1 | Location permission denied |
|
|
139
139
|
* | 2 | Network error |
|
|
140
|
+
* | 3 | Attempt to initiate location-services in background with WhenInUse authorization |
|
|
140
141
|
* | 408 | Location timeout |
|
|
141
142
|
* | 499 | Location request cancelled |
|
|
142
143
|
*/
|
package/android/libs/com/transistorsoft/tslocationmanager/3.1.37/tslocationmanager-3.1.37.aar.md5
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
94509245b59beba1eef5ad6c797a7300
|
package/android/libs/com/transistorsoft/tslocationmanager/3.1.37/tslocationmanager-3.1.37.aar.sha1
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1bc15ddbd5a4ac5fe890df974f189d948c8dee51
|
package/android/libs/com/transistorsoft/tslocationmanager/3.1.37/tslocationmanager-3.1.37.aar.sha256
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
5560bd00493c2cb1aa3e935646b17259e2824fc05d64f78173de7a2e38fd038f
|
package/android/libs/com/transistorsoft/tslocationmanager/3.1.37/tslocationmanager-3.1.37.aar.sha512
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
3ded320caece5a52e284c933eed8650652f74a27bd6fccb0de4f9ce5c40d7009c4aa9224b71e3af376660139703f92cc43663a759894986153aae0efe5ab53cf
|
package/android/libs/com/transistorsoft/tslocationmanager/3.1.37/tslocationmanager-3.1.37.pom.md5
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1287cb6ffc74386746c02bb39aec8582
|
package/android/libs/com/transistorsoft/tslocationmanager/3.1.37/tslocationmanager-3.1.37.pom.sha1
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
c1ec3da7e690679d535310d8632fcde68dcf93c5
|
package/android/libs/com/transistorsoft/tslocationmanager/3.1.37/tslocationmanager-3.1.37.pom.sha256
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
803287cc3ec4f189c68984f298bac22bcf603960fcaf6eb62f90f1a34d2c8f22
|
package/android/libs/com/transistorsoft/tslocationmanager/3.1.37/tslocationmanager-3.1.37.pom.sha512
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
619f2409676fc88ef2fc333e81a7ff17e454bff6ff9c5908c98ae227db697f65050eb453ac0a9075aa58404ae810cd8f97013fe86526fed872004038241bd7d9
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
e25af69d618ce983f405323fe25048d9
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
a3c31969674ef2fc190f35c97f5c36e4d23011d9
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
a7760ae3818c0327344e0f63a66f3fe6950897584b10f92eed0a237adc576451
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
ff7bc0ea6f82304e562f3f97fb77f0f6f52a0abcf34bf4b9731141ec9934e645386d453578efa5b574f0397541eaa8cfa747e87f7aaa350ea57e4fc6eb8be7bc
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
46b90e28023f4a9216f2495d95fdf267
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
26d3a52cc07d8ef9fa19c867cbf19416fe179b05
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1af3d6787fa6cc6c11da3d70b3f61786811241ece6e4d5769af9bec64538f0ab
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
231e43be69dc269fb2bf44240427279515680b8c9121a2f6c0225465995c0407ee6bae6d290da919066c1da5ede684f19c188add8bbcf510ea2aa5b18f80deef
|