react-native-background-geolocation 4.17.2 → 4.17.3
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/android/build.gradle +1 -1
- package/android/libs/com/transistorsoft/tslocationmanager/{3.5.5/tslocationmanager-3.5.5.aar → 3.6.1/tslocationmanager-3.6.1.aar} +0 -0
- package/android/libs/com/transistorsoft/tslocationmanager/3.6.1/tslocationmanager-3.6.1.aar.md5 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager/3.6.1/tslocationmanager-3.6.1.aar.sha1 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager/3.6.1/tslocationmanager-3.6.1.aar.sha256 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager/3.6.1/tslocationmanager-3.6.1.aar.sha512 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager/{3.5.5/tslocationmanager-3.5.5.pom → 3.6.1/tslocationmanager-3.6.1.pom} +1 -1
- package/android/libs/com/transistorsoft/tslocationmanager/3.6.1/tslocationmanager-3.6.1.pom.md5 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager/3.6.1/tslocationmanager-3.6.1.pom.sha1 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager/3.6.1/tslocationmanager-3.6.1.pom.sha256 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager/3.6.1/tslocationmanager-3.6.1.pom.sha512 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager/maven-metadata.xml +5 -4
- package/android/libs/com/transistorsoft/tslocationmanager-v21/{3.5.5/tslocationmanager-v21-3.5.5.aar → 3.6.1/tslocationmanager-v21-3.6.1.aar} +0 -0
- package/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.1/tslocationmanager-v21-3.6.1.aar.md5 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.1/tslocationmanager-v21-3.6.1.aar.sha1 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.1/tslocationmanager-v21-3.6.1.aar.sha256 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.1/tslocationmanager-v21-3.6.1.aar.sha512 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager-v21/{3.5.5/tslocationmanager-v21-3.5.5.pom → 3.6.1/tslocationmanager-v21-3.6.1.pom} +1 -1
- package/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.1/tslocationmanager-v21-3.6.1.pom.md5 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.1/tslocationmanager-v21-3.6.1.pom.sha1 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.1/tslocationmanager-v21-3.6.1.pom.sha256 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.1/tslocationmanager-v21-3.6.1.pom.sha512 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager-v21/maven-metadata.xml +5 -4
- package/expo/plugin/build/androidPlugin.js.map +1 -1
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/_CodeSignature/CodeDirectory +0 -0
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/_CodeSignature/CodeRequirements-1 +0 -0
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/_CodeSignature/CodeResources +78 -78
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/_CodeSignature/CodeSignature +0 -0
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/SOMotionDetector.h +1 -0
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSConfig.h +3 -1
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSLocationManager.h +24 -24
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Info.plist +0 -0
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/TSLocationManager +0 -0
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/_CodeSignature/CodeDirectory +0 -0
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/_CodeSignature/CodeRequirements-1 +0 -0
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/_CodeSignature/CodeResources +10 -10
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/_CodeSignature/CodeSignature +0 -0
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/SOMotionDetector.h +1 -0
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSConfig.h +3 -1
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSLocationManager.h +24 -24
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Resources/Info.plist +1 -1
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/TSLocationManager +0 -0
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/_CodeSignature/CodeDirectory +0 -0
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/_CodeSignature/CodeRequirements-1 +0 -0
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/_CodeSignature/CodeResources +9 -9
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/_CodeSignature/CodeSignature +0 -0
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/SOMotionDetector.h +1 -0
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSConfig.h +3 -1
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSLocationManager.h +24 -24
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Info.plist +0 -0
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/TSLocationManager +0 -0
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/_CodeSignature/CodeDirectory +0 -0
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/_CodeSignature/CodeRequirements-1 +0 -0
- package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/_CodeSignature/CodeResources +10 -10
- package/package.json +1 -1
- package/src/declarations/BackgroundGeolocation.d.ts +2 -1
- package/src/declarations/interfaces/Config.d.ts +7 -1
- package/src/declarations/types.d.ts +1 -0
- package/src/index.js +2 -0
- package/android/libs/com/transistorsoft/tslocationmanager/3.5.5/tslocationmanager-3.5.5.aar.md5 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager/3.5.5/tslocationmanager-3.5.5.aar.sha1 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager/3.5.5/tslocationmanager-3.5.5.aar.sha256 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager/3.5.5/tslocationmanager-3.5.5.aar.sha512 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager/3.5.5/tslocationmanager-3.5.5.pom.md5 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager/3.5.5/tslocationmanager-3.5.5.pom.sha1 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager/3.5.5/tslocationmanager-3.5.5.pom.sha256 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager/3.5.5/tslocationmanager-3.5.5.pom.sha512 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager-v21/3.5.5/tslocationmanager-v21-3.5.5.aar.md5 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager-v21/3.5.5/tslocationmanager-v21-3.5.5.aar.sha1 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager-v21/3.5.5/tslocationmanager-v21-3.5.5.aar.sha256 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager-v21/3.5.5/tslocationmanager-v21-3.5.5.aar.sha512 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager-v21/3.5.5/tslocationmanager-v21-3.5.5.pom.md5 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager-v21/3.5.5/tslocationmanager-v21-3.5.5.pom.sha1 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager-v21/3.5.5/tslocationmanager-v21-3.5.5.pom.sha256 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager-v21/3.5.5/tslocationmanager-v21-3.5.5.pom.sha512 +0 -1
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
</data>
|
|
31
31
|
<key>Headers/SOMotionDetector.h</key>
|
|
32
32
|
<data>
|
|
33
|
-
|
|
33
|
+
tBwhx5UrtJp2mGmzW9ya7Xscc6E=
|
|
34
34
|
</data>
|
|
35
35
|
<key>Headers/SQLQuery.h</key>
|
|
36
36
|
<data>
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
</data>
|
|
55
55
|
<key>Headers/TSConfig.h</key>
|
|
56
56
|
<data>
|
|
57
|
-
|
|
57
|
+
83ih2rd7dnDdaj0L2w3oydingbQ=
|
|
58
58
|
</data>
|
|
59
59
|
<key>Headers/TSConnectivityChangeEvent.h</key>
|
|
60
60
|
<data>
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
</data>
|
|
107
107
|
<key>Headers/TSLocationManager.h</key>
|
|
108
108
|
<data>
|
|
109
|
-
|
|
109
|
+
IkhDXVe/cBSr9qi61wrXldiKyq0=
|
|
110
110
|
</data>
|
|
111
111
|
<key>Headers/TSPowerSaveChangeEvent.h</key>
|
|
112
112
|
<data>
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
</data>
|
|
139
139
|
<key>Info.plist</key>
|
|
140
140
|
<data>
|
|
141
|
-
|
|
141
|
+
ui3J7XnvnbTtcDmueUsklM6sG1Y=
|
|
142
142
|
</data>
|
|
143
143
|
<key>Miniball/Miniball.hpp</key>
|
|
144
144
|
<data>
|
|
@@ -225,11 +225,11 @@
|
|
|
225
225
|
<dict>
|
|
226
226
|
<key>hash</key>
|
|
227
227
|
<data>
|
|
228
|
-
|
|
228
|
+
tBwhx5UrtJp2mGmzW9ya7Xscc6E=
|
|
229
229
|
</data>
|
|
230
230
|
<key>hash2</key>
|
|
231
231
|
<data>
|
|
232
|
-
/
|
|
232
|
+
Rn9bB/g6eB/i2vQwdn+36w+khYfKnOWgDhBCYVejVLs=
|
|
233
233
|
</data>
|
|
234
234
|
</dict>
|
|
235
235
|
<key>Headers/SQLQuery.h</key>
|
|
@@ -291,11 +291,11 @@
|
|
|
291
291
|
<dict>
|
|
292
292
|
<key>hash</key>
|
|
293
293
|
<data>
|
|
294
|
-
|
|
294
|
+
83ih2rd7dnDdaj0L2w3oydingbQ=
|
|
295
295
|
</data>
|
|
296
296
|
<key>hash2</key>
|
|
297
297
|
<data>
|
|
298
|
-
|
|
298
|
+
ZF8TkPiJISltMD1Bq6sBIOWrxi4R6mx8jmdkDzaV1xc=
|
|
299
299
|
</data>
|
|
300
300
|
</dict>
|
|
301
301
|
<key>Headers/TSConnectivityChangeEvent.h</key>
|
|
@@ -434,11 +434,11 @@
|
|
|
434
434
|
<dict>
|
|
435
435
|
<key>hash</key>
|
|
436
436
|
<data>
|
|
437
|
-
|
|
437
|
+
IkhDXVe/cBSr9qi61wrXldiKyq0=
|
|
438
438
|
</data>
|
|
439
439
|
<key>hash2</key>
|
|
440
440
|
<data>
|
|
441
|
-
|
|
441
|
+
giXbpxvmWWNh5onQoi8vOx5cR+S0GD/x6xNytW3M/+w=
|
|
442
442
|
</data>
|
|
443
443
|
</dict>
|
|
444
444
|
<key>Headers/TSPowerSaveChangeEvent.h</key>
|
|
Binary file
|
|
@@ -116,6 +116,7 @@ typedef enum TSPersistMode : NSInteger {
|
|
|
116
116
|
@property (nonatomic) BOOL preventSuspend;
|
|
117
117
|
@property (nonatomic) NSTimeInterval heartbeatInterval;
|
|
118
118
|
@property (nonatomic) NSArray *schedule;
|
|
119
|
+
@property (nonatomic) NSString *triggerActivities;
|
|
119
120
|
/// Logging & Debug
|
|
120
121
|
@property (nonatomic) BOOL debug;
|
|
121
122
|
@property (nonatomic) TSLogLevel logLevel;
|
|
@@ -137,7 +138,7 @@ typedef enum TSPersistMode : NSInteger {
|
|
|
137
138
|
/**
|
|
138
139
|
The SDK's Configuration API.
|
|
139
140
|
*/
|
|
140
|
-
@interface TSConfig : NSObject <NSCoding>
|
|
141
|
+
@interface TSConfig : NSObject <NSCoding, NSSecureCoding>
|
|
141
142
|
|
|
142
143
|
#pragma mark - Singleton
|
|
143
144
|
|
|
@@ -298,6 +299,7 @@ The SDK's Configuration API.
|
|
|
298
299
|
@property (nonatomic, readonly) BOOL preventSuspend;
|
|
299
300
|
@property (nonatomic, readonly) NSTimeInterval heartbeatInterval;
|
|
300
301
|
@property (nonatomic, readonly) NSArray *schedule;
|
|
302
|
+
@property (nonatomic, readonly) NSString *triggerActivities;
|
|
301
303
|
/// @name Logging & Debug Properties
|
|
302
304
|
@property (nonatomic, readonly) BOOL debug;
|
|
303
305
|
@property (nonatomic, readonly) TSLogLevel logLevel;
|
|
@@ -3,30 +3,30 @@
|
|
|
3
3
|
#import <CoreData/CoreData.h>
|
|
4
4
|
#import <CoreLocation/CoreLocation.h>
|
|
5
5
|
#import <AudioToolbox/AudioToolbox.h>
|
|
6
|
-
#import
|
|
7
|
-
#import
|
|
8
|
-
#import
|
|
9
|
-
#import
|
|
10
|
-
#import
|
|
11
|
-
#import
|
|
12
|
-
#import
|
|
13
|
-
#import
|
|
14
|
-
#import
|
|
15
|
-
#import
|
|
16
|
-
#import
|
|
17
|
-
#import
|
|
18
|
-
#import
|
|
19
|
-
#import
|
|
20
|
-
#import
|
|
21
|
-
#import
|
|
22
|
-
#import
|
|
23
|
-
#import
|
|
24
|
-
#import
|
|
25
|
-
#import
|
|
26
|
-
#import
|
|
27
|
-
#import
|
|
28
|
-
#import
|
|
29
|
-
#import
|
|
6
|
+
#import <TSLocationManager/TSSchedule.h>
|
|
7
|
+
#import <TSLocationManager/TSLocation.h>
|
|
8
|
+
#import <TSLocationManager/TSActivityChangeEvent.h>
|
|
9
|
+
#import <TSLocationManager/TSProviderChangeEvent.h>
|
|
10
|
+
#import <TSLocationManager/TSHttpEvent.h>
|
|
11
|
+
#import <TSLocationManager/TSHeartbeatEvent.h>
|
|
12
|
+
#import <TSLocationManager/TSScheduleEvent.h>
|
|
13
|
+
#import <TSLocationManager/TSGeofenceManager.h>
|
|
14
|
+
#import <TSLocationManager/TSGeofencesChangeEvent.h>
|
|
15
|
+
#import <TSLocationManager/TSPowerSaveChangeEvent.h>
|
|
16
|
+
#import <TSLocationManager/TSConnectivityChangeEvent.h>
|
|
17
|
+
#import <TSLocationManager/TSEnabledChangeEvent.h>
|
|
18
|
+
#import <TSLocationManager/TSGeofenceEvent.h>
|
|
19
|
+
#import <TSLocationManager/TSAuthorizationEvent.h>
|
|
20
|
+
#import <TSLocationManager/TSGeofence.h>
|
|
21
|
+
#import <TSLocationManager/LocationManager.h>
|
|
22
|
+
#import <TSLocationManager/TSConfig.h>
|
|
23
|
+
#import <TSLocationManager/TSCurrentPositionRequest.h>
|
|
24
|
+
#import <TSLocationManager/TSWatchPositionRequest.h>
|
|
25
|
+
#import <TSLocationManager/LogQuery.h>
|
|
26
|
+
#import <TSLocationManager/TSDeviceInfo.h>
|
|
27
|
+
#import <TSLocationManager/TSAuthorization.h>
|
|
28
|
+
#import <TSLocationManager/TSHttpService.h>
|
|
29
|
+
#import <TSLocationManager/SOMotionDetector.h>
|
|
30
30
|
|
|
31
31
|
FOUNDATION_EXPORT double TSLocationManagerVersionNumber;
|
|
32
32
|
FOUNDATION_EXPORT const unsigned char TSLocationManagerVersionString[];
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<dict>
|
|
7
7
|
<key>Resources/Info.plist</key>
|
|
8
8
|
<data>
|
|
9
|
-
|
|
9
|
+
aoYo15GUlBJIcAJWALq37OtVNCk=
|
|
10
10
|
</data>
|
|
11
11
|
<key>Resources/Miniball/Miniball.hpp</key>
|
|
12
12
|
<data>
|
|
@@ -89,11 +89,11 @@
|
|
|
89
89
|
<dict>
|
|
90
90
|
<key>hash</key>
|
|
91
91
|
<data>
|
|
92
|
-
|
|
92
|
+
tBwhx5UrtJp2mGmzW9ya7Xscc6E=
|
|
93
93
|
</data>
|
|
94
94
|
<key>hash2</key>
|
|
95
95
|
<data>
|
|
96
|
-
/
|
|
96
|
+
Rn9bB/g6eB/i2vQwdn+36w+khYfKnOWgDhBCYVejVLs=
|
|
97
97
|
</data>
|
|
98
98
|
</dict>
|
|
99
99
|
<key>Headers/SQLQuery.h</key>
|
|
@@ -155,11 +155,11 @@
|
|
|
155
155
|
<dict>
|
|
156
156
|
<key>hash</key>
|
|
157
157
|
<data>
|
|
158
|
-
|
|
158
|
+
83ih2rd7dnDdaj0L2w3oydingbQ=
|
|
159
159
|
</data>
|
|
160
160
|
<key>hash2</key>
|
|
161
161
|
<data>
|
|
162
|
-
|
|
162
|
+
ZF8TkPiJISltMD1Bq6sBIOWrxi4R6mx8jmdkDzaV1xc=
|
|
163
163
|
</data>
|
|
164
164
|
</dict>
|
|
165
165
|
<key>Headers/TSConnectivityChangeEvent.h</key>
|
|
@@ -298,11 +298,11 @@
|
|
|
298
298
|
<dict>
|
|
299
299
|
<key>hash</key>
|
|
300
300
|
<data>
|
|
301
|
-
|
|
301
|
+
IkhDXVe/cBSr9qi61wrXldiKyq0=
|
|
302
302
|
</data>
|
|
303
303
|
<key>hash2</key>
|
|
304
304
|
<data>
|
|
305
|
-
|
|
305
|
+
giXbpxvmWWNh5onQoi8vOx5cR+S0GD/x6xNytW3M/+w=
|
|
306
306
|
</data>
|
|
307
307
|
</dict>
|
|
308
308
|
<key>Headers/TSPowerSaveChangeEvent.h</key>
|
|
@@ -397,11 +397,11 @@
|
|
|
397
397
|
<dict>
|
|
398
398
|
<key>hash</key>
|
|
399
399
|
<data>
|
|
400
|
-
|
|
400
|
+
aoYo15GUlBJIcAJWALq37OtVNCk=
|
|
401
401
|
</data>
|
|
402
402
|
<key>hash2</key>
|
|
403
403
|
<data>
|
|
404
|
-
|
|
404
|
+
mTC8WzwuDo9ZCDZCtjHoKyocXs7Y6YkB8W4uvjl/miM=
|
|
405
405
|
</data>
|
|
406
406
|
</dict>
|
|
407
407
|
<key>Resources/Miniball/Miniball.hpp</key>
|
|
Binary file
|
|
@@ -116,6 +116,7 @@ typedef enum TSPersistMode : NSInteger {
|
|
|
116
116
|
@property (nonatomic) BOOL preventSuspend;
|
|
117
117
|
@property (nonatomic) NSTimeInterval heartbeatInterval;
|
|
118
118
|
@property (nonatomic) NSArray *schedule;
|
|
119
|
+
@property (nonatomic) NSString *triggerActivities;
|
|
119
120
|
/// Logging & Debug
|
|
120
121
|
@property (nonatomic) BOOL debug;
|
|
121
122
|
@property (nonatomic) TSLogLevel logLevel;
|
|
@@ -137,7 +138,7 @@ typedef enum TSPersistMode : NSInteger {
|
|
|
137
138
|
/**
|
|
138
139
|
The SDK's Configuration API.
|
|
139
140
|
*/
|
|
140
|
-
@interface TSConfig : NSObject <NSCoding>
|
|
141
|
+
@interface TSConfig : NSObject <NSCoding, NSSecureCoding>
|
|
141
142
|
|
|
142
143
|
#pragma mark - Singleton
|
|
143
144
|
|
|
@@ -298,6 +299,7 @@ The SDK's Configuration API.
|
|
|
298
299
|
@property (nonatomic, readonly) BOOL preventSuspend;
|
|
299
300
|
@property (nonatomic, readonly) NSTimeInterval heartbeatInterval;
|
|
300
301
|
@property (nonatomic, readonly) NSArray *schedule;
|
|
302
|
+
@property (nonatomic, readonly) NSString *triggerActivities;
|
|
301
303
|
/// @name Logging & Debug Properties
|
|
302
304
|
@property (nonatomic, readonly) BOOL debug;
|
|
303
305
|
@property (nonatomic, readonly) TSLogLevel logLevel;
|
|
@@ -3,30 +3,30 @@
|
|
|
3
3
|
#import <CoreData/CoreData.h>
|
|
4
4
|
#import <CoreLocation/CoreLocation.h>
|
|
5
5
|
#import <AudioToolbox/AudioToolbox.h>
|
|
6
|
-
#import
|
|
7
|
-
#import
|
|
8
|
-
#import
|
|
9
|
-
#import
|
|
10
|
-
#import
|
|
11
|
-
#import
|
|
12
|
-
#import
|
|
13
|
-
#import
|
|
14
|
-
#import
|
|
15
|
-
#import
|
|
16
|
-
#import
|
|
17
|
-
#import
|
|
18
|
-
#import
|
|
19
|
-
#import
|
|
20
|
-
#import
|
|
21
|
-
#import
|
|
22
|
-
#import
|
|
23
|
-
#import
|
|
24
|
-
#import
|
|
25
|
-
#import
|
|
26
|
-
#import
|
|
27
|
-
#import
|
|
28
|
-
#import
|
|
29
|
-
#import
|
|
6
|
+
#import <TSLocationManager/TSSchedule.h>
|
|
7
|
+
#import <TSLocationManager/TSLocation.h>
|
|
8
|
+
#import <TSLocationManager/TSActivityChangeEvent.h>
|
|
9
|
+
#import <TSLocationManager/TSProviderChangeEvent.h>
|
|
10
|
+
#import <TSLocationManager/TSHttpEvent.h>
|
|
11
|
+
#import <TSLocationManager/TSHeartbeatEvent.h>
|
|
12
|
+
#import <TSLocationManager/TSScheduleEvent.h>
|
|
13
|
+
#import <TSLocationManager/TSGeofenceManager.h>
|
|
14
|
+
#import <TSLocationManager/TSGeofencesChangeEvent.h>
|
|
15
|
+
#import <TSLocationManager/TSPowerSaveChangeEvent.h>
|
|
16
|
+
#import <TSLocationManager/TSConnectivityChangeEvent.h>
|
|
17
|
+
#import <TSLocationManager/TSEnabledChangeEvent.h>
|
|
18
|
+
#import <TSLocationManager/TSGeofenceEvent.h>
|
|
19
|
+
#import <TSLocationManager/TSAuthorizationEvent.h>
|
|
20
|
+
#import <TSLocationManager/TSGeofence.h>
|
|
21
|
+
#import <TSLocationManager/LocationManager.h>
|
|
22
|
+
#import <TSLocationManager/TSConfig.h>
|
|
23
|
+
#import <TSLocationManager/TSCurrentPositionRequest.h>
|
|
24
|
+
#import <TSLocationManager/TSWatchPositionRequest.h>
|
|
25
|
+
#import <TSLocationManager/LogQuery.h>
|
|
26
|
+
#import <TSLocationManager/TSDeviceInfo.h>
|
|
27
|
+
#import <TSLocationManager/TSAuthorization.h>
|
|
28
|
+
#import <TSLocationManager/TSHttpService.h>
|
|
29
|
+
#import <TSLocationManager/SOMotionDetector.h>
|
|
30
30
|
|
|
31
31
|
FOUNDATION_EXPORT double TSLocationManagerVersionNumber;
|
|
32
32
|
FOUNDATION_EXPORT const unsigned char TSLocationManagerVersionString[];
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
</data>
|
|
31
31
|
<key>Headers/SOMotionDetector.h</key>
|
|
32
32
|
<data>
|
|
33
|
-
|
|
33
|
+
tBwhx5UrtJp2mGmzW9ya7Xscc6E=
|
|
34
34
|
</data>
|
|
35
35
|
<key>Headers/SQLQuery.h</key>
|
|
36
36
|
<data>
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
</data>
|
|
55
55
|
<key>Headers/TSConfig.h</key>
|
|
56
56
|
<data>
|
|
57
|
-
|
|
57
|
+
83ih2rd7dnDdaj0L2w3oydingbQ=
|
|
58
58
|
</data>
|
|
59
59
|
<key>Headers/TSConnectivityChangeEvent.h</key>
|
|
60
60
|
<data>
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
</data>
|
|
107
107
|
<key>Headers/TSLocationManager.h</key>
|
|
108
108
|
<data>
|
|
109
|
-
|
|
109
|
+
IkhDXVe/cBSr9qi61wrXldiKyq0=
|
|
110
110
|
</data>
|
|
111
111
|
<key>Headers/TSPowerSaveChangeEvent.h</key>
|
|
112
112
|
<data>
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
</data>
|
|
139
139
|
<key>Info.plist</key>
|
|
140
140
|
<data>
|
|
141
|
-
/
|
|
141
|
+
npu/dlksd9TSsIlJZw/dnM+/CPQ=
|
|
142
142
|
</data>
|
|
143
143
|
<key>Miniball/Miniball.hpp</key>
|
|
144
144
|
<data>
|
|
@@ -225,11 +225,11 @@
|
|
|
225
225
|
<dict>
|
|
226
226
|
<key>hash</key>
|
|
227
227
|
<data>
|
|
228
|
-
|
|
228
|
+
tBwhx5UrtJp2mGmzW9ya7Xscc6E=
|
|
229
229
|
</data>
|
|
230
230
|
<key>hash2</key>
|
|
231
231
|
<data>
|
|
232
|
-
/
|
|
232
|
+
Rn9bB/g6eB/i2vQwdn+36w+khYfKnOWgDhBCYVejVLs=
|
|
233
233
|
</data>
|
|
234
234
|
</dict>
|
|
235
235
|
<key>Headers/SQLQuery.h</key>
|
|
@@ -291,11 +291,11 @@
|
|
|
291
291
|
<dict>
|
|
292
292
|
<key>hash</key>
|
|
293
293
|
<data>
|
|
294
|
-
|
|
294
|
+
83ih2rd7dnDdaj0L2w3oydingbQ=
|
|
295
295
|
</data>
|
|
296
296
|
<key>hash2</key>
|
|
297
297
|
<data>
|
|
298
|
-
|
|
298
|
+
ZF8TkPiJISltMD1Bq6sBIOWrxi4R6mx8jmdkDzaV1xc=
|
|
299
299
|
</data>
|
|
300
300
|
</dict>
|
|
301
301
|
<key>Headers/TSConnectivityChangeEvent.h</key>
|
|
@@ -434,11 +434,11 @@
|
|
|
434
434
|
<dict>
|
|
435
435
|
<key>hash</key>
|
|
436
436
|
<data>
|
|
437
|
-
|
|
437
|
+
IkhDXVe/cBSr9qi61wrXldiKyq0=
|
|
438
438
|
</data>
|
|
439
439
|
<key>hash2</key>
|
|
440
440
|
<data>
|
|
441
|
-
|
|
441
|
+
giXbpxvmWWNh5onQoi8vOx5cR+S0GD/x6xNytW3M/+w=
|
|
442
442
|
</data>
|
|
443
443
|
</dict>
|
|
444
444
|
<key>Headers/TSPowerSaveChangeEvent.h</key>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-background-geolocation",
|
|
3
|
-
"version": "4.17.
|
|
3
|
+
"version": "4.17.3",
|
|
4
4
|
"description": "The most sophisticated cross-platform background location-tracking & geofencing module with battery-conscious motion-detection intelligence",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn run build:expo",
|
|
@@ -28,7 +28,7 @@ declare module "react-native-background-geolocation" {
|
|
|
28
28
|
/**
|
|
29
29
|
* Primary API of the SDK.
|
|
30
30
|
* @break
|
|
31
|
-
*
|
|
31
|
+
*
|
|
32
32
|
* ## 📚 Help
|
|
33
33
|
* - 📘 [Philosophy of Operation](github:wiki/Philosophy-of-Operation)
|
|
34
34
|
* - 📘 [[HttpEvent | HTTP Guide]].
|
|
@@ -215,6 +215,7 @@ declare module "react-native-background-geolocation" {
|
|
|
215
215
|
static ACTIVITY_TYPE_AUTOMOTIVE_NAVIGATION:ActivityType;
|
|
216
216
|
static ACTIVITY_TYPE_FITNESS:ActivityType;
|
|
217
217
|
static ACTIVITY_TYPE_OTHER_NAVIGATION:ActivityType;
|
|
218
|
+
static ACTIVITY_TYPE_AIRBORNE:ActivityType;
|
|
218
219
|
|
|
219
220
|
static PERSIST_MODE_ALL: PersistMode;
|
|
220
221
|
static PERSIST_MODE_LOCATION: PersistMode;
|
|
@@ -1969,6 +1969,7 @@ declare module "react-native-background-geolocation" {
|
|
|
1969
1969
|
* | [[BackgroundGeolocation.ACTIVITY_TYPE_AUTOMOTIVE_NAVIGATION]] |
|
|
1970
1970
|
* | [[BackgroundGeolocation.ACTIVITY_TYPE_FITNESS]] |
|
|
1971
1971
|
* | [[BackgroundGeolocation.ACTIVITY_TYPE_OTHER_NAVIGATION]] |
|
|
1972
|
+
* | [[BackgroundGeolocation.ACTIVITY_TYPE_AIRBORNE]] |
|
|
1972
1973
|
*
|
|
1973
1974
|
* @example
|
|
1974
1975
|
* ```typescript
|
|
@@ -2171,7 +2172,10 @@ declare module "react-native-background-geolocation" {
|
|
|
2171
2172
|
|
|
2172
2173
|
/**
|
|
2173
2174
|
|
|
2174
|
-
*
|
|
2175
|
+
* Configures a comma-separated list of motion-activities which are allow to trigger location-tracking.
|
|
2176
|
+
|
|
2177
|
+
* __⚠️ Warning:__ Requires that the user grant your app the "*Motion/Health*" permission.
|
|
2178
|
+
*
|
|
2175
2179
|
* @break
|
|
2176
2180
|
*
|
|
2177
2181
|
* These are the comma-delimited list of [activity-names](https://developers.google.com/android/reference/com/google/android/gms/location/DetectedActivity) returned by the `ActivityRecognition` API which will trigger a state-change from **stationary** to **moving**. By default, the plugin will trigger on **any** of the **moving-states**:
|
|
@@ -2260,6 +2264,8 @@ declare module "react-native-background-geolocation" {
|
|
|
2260
2264
|
* __`[Android only]`__ Configure the plugin service to run as a more robust "Foreground Service".
|
|
2261
2265
|
* @break
|
|
2262
2266
|
*
|
|
2267
|
+
* @deprecated
|
|
2268
|
+
*
|
|
2263
2269
|
* ### ⚠️ Android 8.0+
|
|
2264
2270
|
*
|
|
2265
2271
|
* Defaults to `true` and cannot be set to `false`. Due to strict new [Background Execution Limits](https://www.youtube.com/watch?v=Pumf_4yjTMc) in Android 8, the plugin *enforces* **`foregroundService: true`**.
|
|
@@ -98,6 +98,7 @@ declare module "react-native-background-geolocation" {
|
|
|
98
98
|
* | [[ACTIVITY_TYPE_AUTOMOTIVE_NAVIGATION]] |
|
|
99
99
|
* | [[ACTIVITY_TYPE_FITNESS]] |
|
|
100
100
|
* | [[ACTIVITY_TYPE_OTHER_NAVIGATION]] |
|
|
101
|
+
* | [[ACTIVITY_TYPE_AIRBORNE]]
|
|
101
102
|
*
|
|
102
103
|
* ℹ️ For more information, see [Apple docs](https://developer.apple.com/reference/corelocation/cllocationmanager/1620567-activitytype?language=objc).
|
|
103
104
|
*/
|
package/src/index.js
CHANGED
|
@@ -46,6 +46,7 @@ const ACTIVITY_TYPE_OTHER = 1;
|
|
|
46
46
|
const ACTIVITY_TYPE_AUTOMOTIVE_NAVIGATION = 2;
|
|
47
47
|
const ACTIVITY_TYPE_FITNESS = 3;
|
|
48
48
|
const ACTIVITY_TYPE_OTHER_NAVIGATION = 4;
|
|
49
|
+
const ACTIVITY_TYPE_AIRBORNE = 5;
|
|
49
50
|
|
|
50
51
|
const LOCATION_AUTHORIZATION_ALWAYS = "Always";
|
|
51
52
|
const LOCATION_AUTHORIZATION_WHEN_IN_USE = "WhenInUse";
|
|
@@ -90,6 +91,7 @@ export default class BackgroundGeolocation {
|
|
|
90
91
|
static get ACTIVITY_TYPE_AUTOMOTIVE_NAVIGATION() { return ACTIVITY_TYPE_AUTOMOTIVE_NAVIGATION;}
|
|
91
92
|
static get ACTIVITY_TYPE_FITNESS() { return ACTIVITY_TYPE_FITNESS;}
|
|
92
93
|
static get ACTIVITY_TYPE_OTHER_NAVIGATION() { return ACTIVITY_TYPE_OTHER_NAVIGATION;}
|
|
94
|
+
static get ACTIVITY_TYPE_AIRBORNE() { return ACTIVITY_TYPE_AIRBORNE; }
|
|
93
95
|
|
|
94
96
|
static get DESIRED_ACCURACY_NAVIGATION() { return DESIRED_ACCURACY_NAVIGATION; }
|
|
95
97
|
static get DESIRED_ACCURACY_HIGH() { return DESIRED_ACCURACY_HIGH; }
|
package/android/libs/com/transistorsoft/tslocationmanager/3.5.5/tslocationmanager-3.5.5.aar.md5
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
f8cfcf8e5a7ec8c9ed4bda381d3efdeb
|
package/android/libs/com/transistorsoft/tslocationmanager/3.5.5/tslocationmanager-3.5.5.aar.sha1
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
d1a5afbf1c3c7e36ad169f0b14c47fc6802a2b8d
|
package/android/libs/com/transistorsoft/tslocationmanager/3.5.5/tslocationmanager-3.5.5.aar.sha256
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
3addd9a88ac61f70ccbb931011248ab2d498a3a66cb2b85f373b9dbd067ecca1
|
package/android/libs/com/transistorsoft/tslocationmanager/3.5.5/tslocationmanager-3.5.5.aar.sha512
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
7c74a31e5b339ac2ebcaf9eabad9d4c7260ba7f8a3210c29c7a1bf62c21a8f5bb67aeeb801b93fe2bdc17caad6db45e5a4962d4a065427f0391b5e8c8237d929
|
package/android/libs/com/transistorsoft/tslocationmanager/3.5.5/tslocationmanager-3.5.5.pom.md5
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
e9fe84ef67de7da4fcc9715e824ba6ba
|
package/android/libs/com/transistorsoft/tslocationmanager/3.5.5/tslocationmanager-3.5.5.pom.sha1
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
f7f46463fb33d56dbdaea708827ef747052731ac
|
package/android/libs/com/transistorsoft/tslocationmanager/3.5.5/tslocationmanager-3.5.5.pom.sha256
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
edbae2ab559edf6b0f4e26a029fbae2f5d8e7a634001a61b3cd9d2b41d4bc962
|
package/android/libs/com/transistorsoft/tslocationmanager/3.5.5/tslocationmanager-3.5.5.pom.sha512
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
3c33bd02620a2da79d665b5b16978fab968ea20deef157b01a91bd38e2f835341e78fca96b690534d2ea9320bb7207aaa0f7272684b92d1413d70cfdf2235013
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1cf40d0efafc8bb33c95489f894bf293
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
f8a3f1c1f57f8a02d5288801f4c3e0fb6fdae7d8
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
7362a798727ff0920e90f29a63ebe4767ac0847f6aa27972871d2f9165cbbd56
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
072c278dc5a3170aa1a5529a531b46047c1a77345c3216a0b56a1d7010d1244a9e418fa6e428d77edbedb6abf4232b23e792e4af25c83188aea5b8adb715274f
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
192674dc3808ef2c9316229156d2c31e
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
5b20f4f4da9ed265065382cc1de4bdef41d62260
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
55908f954c16f6eb52e50bec30bceba3ee19bae4962973fe77b983dcb5fdc773
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
9275591d7949d05453b5d1f7418ae8c6f9f0c49085cbe5a78339848d17da2a409651de631f8832c876f99ace08df0bd85946229dad241b272d667db2ca986093
|