@transistorsoft/capacitor-background-geolocation 7.0.5 → 7.2.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/TransistorsoftCapacitorBackgroundGeolocation.podspec +4 -4
- package/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.aar +0 -0
- package/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.aar.md5 +1 -1
- package/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.aar.sha1 +1 -1
- package/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.aar.sha256 +1 -1
- package/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.aar.sha512 +1 -1
- package/android/libs/com/transistorsoft/tslocationmanager/maven-metadata.xml +1 -3
- package/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.aar +0 -0
- package/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.aar.md5 +1 -1
- package/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.aar.sha1 +1 -1
- package/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.aar.sha256 +1 -1
- package/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.aar.sha512 +1 -1
- package/android/libs/com/transistorsoft/tslocationmanager-v21/maven-metadata.xml +1 -3
- package/android/src/main/java/com/transistorsoft/bggeo/capacitor/BackgroundGeolocationPlugin.java +2 -5
- package/package.json +4 -3
- package/ios/Resources/PrivacyInfo.xcprivacy +0 -35
- package/ios/TSLocationManager.xcframework/Info.plist +0 -61
- package/ios/TSLocationManager.xcframework/_CodeSignature/CodeDirectory +0 -0
- package/ios/TSLocationManager.xcframework/_CodeSignature/CodeRequirements +0 -0
- package/ios/TSLocationManager.xcframework/_CodeSignature/CodeRequirements-1 +0 -0
- package/ios/TSLocationManager.xcframework/_CodeSignature/CodeResources +0 -2033
- package/ios/TSLocationManager.xcframework/_CodeSignature/CodeSignature +0 -0
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/AtomicBoolean.h +0 -18
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/ConfigModule.h +0 -21
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/HttpRequest.h +0 -21
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/HttpResponse.h +0 -29
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/LocationManager.h +0 -55
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/LogQuery.h +0 -13
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/SOMotionDetector.h +0 -141
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/SQLQuery.h +0 -34
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSActivityChangeEvent.h +0 -16
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSAuthorization.h +0 -38
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSAuthorizationEvent.h +0 -18
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSCallback.h +0 -18
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSConfig.h +0 -310
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSConnectivityChangeEvent.h +0 -17
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSCurrentPositionRequest.h +0 -43
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSDeviceInfo.h +0 -24
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSEnabledChangeEvent.h +0 -15
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSGeofence.h +0 -54
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSGeofenceEvent.h +0 -64
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSGeofenceManager.h +0 -54
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSGeofencesChangeEvent.h +0 -17
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSHeartbeatEvent.h +0 -18
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSHttpEvent.h +0 -19
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSHttpService.h +0 -58
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSLocation.h +0 -105
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSLocationManager.h +0 -315
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSPowerSaveChangeEvent.h +0 -14
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSProviderChangeEvent.h +0 -20
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSReachability.h +0 -106
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSSchedule.h +0 -40
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSScheduleEvent.h +0 -18
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSWatchPositionRequest.h +0 -41
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TransistorAuthorizationToken.h +0 -31
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Info.plist +0 -0
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Miniball/Miniball.hpp +0 -525
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Modules/module.modulemap +0 -6
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/PrivacyInfo.xcprivacy +0 -36
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/TSLocationManager +0 -0
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/_CodeSignature/CodeDirectory +0 -0
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/_CodeSignature/CodeRequirements +0 -0
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/_CodeSignature/CodeRequirements-1 +0 -0
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/_CodeSignature/CodeResources +0 -642
- package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/_CodeSignature/CodeSignature +0 -0
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/AtomicBoolean.h +0 -18
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/ConfigModule.h +0 -21
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/HttpRequest.h +0 -21
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/HttpResponse.h +0 -29
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/LocationManager.h +0 -55
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/LogQuery.h +0 -13
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/SOMotionDetector.h +0 -141
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/SQLQuery.h +0 -34
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSActivityChangeEvent.h +0 -16
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSAuthorization.h +0 -38
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSAuthorizationEvent.h +0 -18
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSCallback.h +0 -18
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSConfig.h +0 -310
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSConnectivityChangeEvent.h +0 -17
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSCurrentPositionRequest.h +0 -43
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSDeviceInfo.h +0 -24
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSEnabledChangeEvent.h +0 -15
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSGeofence.h +0 -54
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSGeofenceEvent.h +0 -64
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSGeofenceManager.h +0 -54
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSGeofencesChangeEvent.h +0 -17
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSHeartbeatEvent.h +0 -18
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSHttpEvent.h +0 -19
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSHttpService.h +0 -58
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSLocation.h +0 -105
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSLocationManager.h +0 -315
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSPowerSaveChangeEvent.h +0 -14
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSProviderChangeEvent.h +0 -20
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSReachability.h +0 -106
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSSchedule.h +0 -40
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSScheduleEvent.h +0 -18
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSWatchPositionRequest.h +0 -41
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TransistorAuthorizationToken.h +0 -31
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Modules/module.modulemap +0 -6
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Resources/Info.plist +0 -50
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Resources/Miniball/Miniball.hpp +0 -525
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Resources/PrivacyInfo.xcprivacy +0 -36
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/TSLocationManager +0 -0
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/_CodeSignature/CodeDirectory +0 -0
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/_CodeSignature/CodeRequirements +0 -0
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/_CodeSignature/CodeRequirements-1 +0 -0
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/_CodeSignature/CodeResources +0 -536
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/_CodeSignature/CodeSignature +0 -0
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/AtomicBoolean.h +0 -18
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/ConfigModule.h +0 -21
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/HttpRequest.h +0 -21
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/HttpResponse.h +0 -29
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/LocationManager.h +0 -55
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/LogQuery.h +0 -13
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/SOMotionDetector.h +0 -141
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/SQLQuery.h +0 -34
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSActivityChangeEvent.h +0 -16
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSAuthorization.h +0 -38
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSAuthorizationEvent.h +0 -18
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSCallback.h +0 -18
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSConfig.h +0 -310
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSConnectivityChangeEvent.h +0 -17
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSCurrentPositionRequest.h +0 -43
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSDeviceInfo.h +0 -24
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSEnabledChangeEvent.h +0 -15
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSGeofence.h +0 -54
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSGeofenceEvent.h +0 -64
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSGeofenceManager.h +0 -54
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSGeofencesChangeEvent.h +0 -17
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSHeartbeatEvent.h +0 -18
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSHttpEvent.h +0 -19
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSHttpService.h +0 -58
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSLocation.h +0 -105
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSLocationManager.h +0 -315
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSPowerSaveChangeEvent.h +0 -14
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSProviderChangeEvent.h +0 -20
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSReachability.h +0 -106
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSSchedule.h +0 -40
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSScheduleEvent.h +0 -18
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSWatchPositionRequest.h +0 -41
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TransistorAuthorizationToken.h +0 -31
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Info.plist +0 -0
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Miniball/Miniball.hpp +0 -525
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Modules/module.modulemap +0 -6
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/PrivacyInfo.xcprivacy +0 -36
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/TSLocationManager +0 -0
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/_CodeSignature/CodeDirectory +0 -0
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/_CodeSignature/CodeRequirements +0 -0
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/_CodeSignature/CodeRequirements-1 +0 -0
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/_CodeSignature/CodeResources +0 -642
- package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/_CodeSignature/CodeSignature +0 -0
|
Binary file
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// AtomicBoolean.h
|
|
3
|
-
// TSLocationManager
|
|
4
|
-
//
|
|
5
|
-
// Created by Christopher Scott on 2018-11-14.
|
|
6
|
-
// Copyright © 2018 Transistor Software. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
#import <Foundation/Foundation.h>
|
|
10
|
-
|
|
11
|
-
/// :nodoc:
|
|
12
|
-
@interface AtomicBoolean : NSObject
|
|
13
|
-
- (instancetype)initWithValue:(BOOL)value;
|
|
14
|
-
- (BOOL)getValue;
|
|
15
|
-
- (void)setValue:(BOOL)value;
|
|
16
|
-
- (BOOL)compareTo:(BOOL)expected andSetValue:(BOOL)value;
|
|
17
|
-
- (BOOL)getAndSetValue:(BOOL)value;
|
|
18
|
-
@end
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// ConfigModule.h
|
|
3
|
-
// TSLocationManager
|
|
4
|
-
//
|
|
5
|
-
// Created by Christopher Scott on 2019-11-21.
|
|
6
|
-
// Copyright © 2019 Christopher Scott. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
#import <Foundation/Foundation.h>
|
|
9
|
-
|
|
10
|
-
/// :nodoc:
|
|
11
|
-
@interface ConfigModule:NSObject
|
|
12
|
-
|
|
13
|
-
//-(NSDictionary*) toDictionary;
|
|
14
|
-
+(instancetype) createWithDictionary:(NSDictionary*)values;
|
|
15
|
-
|
|
16
|
-
-(NSDictionary*) toDictionary;
|
|
17
|
-
-(NSDictionary*) toDictionary:(BOOL)redact;
|
|
18
|
-
-(BOOL) isEqual;
|
|
19
|
-
- (id) valueFromDictionary:(NSDictionary*)values forKey:(NSString*)key forObject:(id)object defaultValue:(id)defaultValue;
|
|
20
|
-
|
|
21
|
-
@end
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// HttpRequest.h
|
|
3
|
-
// TSLocationManager
|
|
4
|
-
//
|
|
5
|
-
// Created by Christopher Scott on 2019-10-31.
|
|
6
|
-
// Copyright © 2019 Christopher Scott. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
#import <Foundation/Foundation.h>
|
|
9
|
-
#import "HttpResponse.h"
|
|
10
|
-
|
|
11
|
-
@interface HttpRequest : NSObject
|
|
12
|
-
|
|
13
|
-
@property(nonatomic) id requestData;
|
|
14
|
-
@property(nonatomic) NSURL *url;
|
|
15
|
-
|
|
16
|
-
+(void) execute:(NSArray*)records callback:(void(^)(HttpRequest*, HttpResponse*))callback;
|
|
17
|
-
|
|
18
|
-
-(instancetype) initWithRecords:(NSArray*)records callback:(void(^)(HttpRequest*, HttpResponse*))callback;
|
|
19
|
-
|
|
20
|
-
@end
|
|
21
|
-
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// HttpResponse.h
|
|
3
|
-
// TSLocationManager
|
|
4
|
-
//
|
|
5
|
-
// Created by Christopher Scott on 2019-10-31.
|
|
6
|
-
// Copyright © 2019 Christopher Scott. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
#import <Foundation/Foundation.h>
|
|
9
|
-
|
|
10
|
-
// Location types
|
|
11
|
-
typedef enum TSHttpServiceError : NSInteger {
|
|
12
|
-
TSHttpServiveErrorInvalidUrl = 1,
|
|
13
|
-
TSHttpServiceErrorNetworkConnection = 2,
|
|
14
|
-
TSHttpServiceErrorSyncInProgress = 3,
|
|
15
|
-
TSHttpServiceErrorResponse = 4,
|
|
16
|
-
TSHttpServiceRedirectError = 5
|
|
17
|
-
} TSHttpServiceError;
|
|
18
|
-
|
|
19
|
-
@interface HttpResponse : NSObject
|
|
20
|
-
|
|
21
|
-
-(instancetype) initWithData:(NSData*)data response:(NSURLResponse*)response error:(NSError*)error;
|
|
22
|
-
|
|
23
|
-
@property(nonatomic) NSError* error;
|
|
24
|
-
@property(nonatomic) NSData *data;
|
|
25
|
-
@property(nonatomic) NSHTTPURLResponse *response;
|
|
26
|
-
@property(nonatomic) NSInteger status;
|
|
27
|
-
|
|
28
|
-
@end
|
|
29
|
-
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// CurrentPositionManager.h
|
|
3
|
-
// TSLocationManager
|
|
4
|
-
//
|
|
5
|
-
// Created by Christopher Scott on 2015-12-07.
|
|
6
|
-
// Copyright © 2015 Transistor Software. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
#import <UIKit/UIKit.h>
|
|
9
|
-
#import <Foundation/Foundation.h>
|
|
10
|
-
#import <CoreData/CoreData.h>
|
|
11
|
-
#import <CoreLocation/CoreLocation.h>
|
|
12
|
-
#import "TSWatchPositionRequest.h"
|
|
13
|
-
#import "TSCurrentPositionRequest.h"
|
|
14
|
-
|
|
15
|
-
/// :nodoc:
|
|
16
|
-
@interface LocationManager : NSObject <CLLocationManagerDelegate>
|
|
17
|
-
|
|
18
|
-
// Error codes
|
|
19
|
-
typedef enum tsLocationError : NSInteger {
|
|
20
|
-
TS_LOCATION_ERROR_ACCEPTABLE_ACCURACY = 100,
|
|
21
|
-
TS_LOCATION_ERROR_TIMEOUT = 408
|
|
22
|
-
} tsLocationError;
|
|
23
|
-
|
|
24
|
-
@property (readonly) NSInteger currentAttempts;
|
|
25
|
-
@property (atomic) NSTimer *timeoutTimer;
|
|
26
|
-
@property (atomic) NSTimer *watchPositionTimer;
|
|
27
|
-
@property (atomic, readonly) NSTimeInterval locationTimeout;
|
|
28
|
-
|
|
29
|
-
@property (atomic, readonly) BOOL isAcquiringBackgroundTime;
|
|
30
|
-
@property (atomic, readonly) NSTimer *preventSuspendTimer;
|
|
31
|
-
|
|
32
|
-
@property (strong, atomic, readonly) CLLocationManager* locationManager;
|
|
33
|
-
@property (atomic, readonly) UIBackgroundTaskIdentifier preventSuspendTask;
|
|
34
|
-
@property (strong, atomic, readonly) CLLocation* lastLocation;
|
|
35
|
-
@property (strong, atomic, readonly) CLLocation* bestLocation;
|
|
36
|
-
@property (atomic) NSInteger maxLocationAttempts;
|
|
37
|
-
@property (atomic) CLLocationDistance distanceFilter;
|
|
38
|
-
@property (atomic) CLLocationAccuracy desiredAccuracy;
|
|
39
|
-
@property (atomic) CLActivityType activityType;
|
|
40
|
-
@property (readonly) BOOL isUpdating;
|
|
41
|
-
@property (readonly) BOOL isWatchingPosition;
|
|
42
|
-
|
|
43
|
-
@property (copy) void (^locationChangedBlock) (LocationManager* manager, CLLocation* location, BOOL isSample);
|
|
44
|
-
@property (copy) void (^errorBlock) (LocationManager* manager, NSError* error);
|
|
45
|
-
|
|
46
|
-
-(void)watchPosition:(TSWatchPositionRequest*)request;
|
|
47
|
-
-(void)requestLocation;
|
|
48
|
-
-(void)stopWatchPosition;
|
|
49
|
-
-(void)startUpdatingLocation;
|
|
50
|
-
-(void)startUpdatingLocation:(NSInteger)samples;
|
|
51
|
-
-(void)startUpdatingLocation:(NSInteger)samples timeout:(NSTimeInterval)timeout;
|
|
52
|
-
-(void)startUpdatingLocation:(NSInteger)samples timeout:(NSTimeInterval)timeout desiredAccuracy:(CLLocationAccuracy)desiredAccuracy;
|
|
53
|
-
-(void)stopUpdatingLocation;
|
|
54
|
-
|
|
55
|
-
@end
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// MotionDetecter.h
|
|
3
|
-
// MotionDetection
|
|
4
|
-
//
|
|
5
|
-
// The MIT License (MIT)
|
|
6
|
-
//
|
|
7
|
-
// Created by : arturdev (With heavy modifications by Chris Scott of Transistor Software <chris@transistorsoft.com>)
|
|
8
|
-
// Copyright (c) 2014 SocialObjects Software. All rights reserved.
|
|
9
|
-
//
|
|
10
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
11
|
-
// this software and associated documentation files (the "Software"), to deal in
|
|
12
|
-
// the Software without restriction, including without limitation the rights to
|
|
13
|
-
// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
14
|
-
// the Software, and to permit persons to whom the Software is furnished to do so,
|
|
15
|
-
// subject to the following conditions:
|
|
16
|
-
//
|
|
17
|
-
// The above copyright notice and this permission notice shall be included in all
|
|
18
|
-
// copies or substantial portions of the Software.
|
|
19
|
-
//
|
|
20
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
21
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
22
|
-
// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
23
|
-
// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
24
|
-
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
25
|
-
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
|
|
26
|
-
|
|
27
|
-
#import <Foundation/Foundation.h>
|
|
28
|
-
#import <CoreMotion/CoreMotion.h>
|
|
29
|
-
#import <UIKit/UIKit.h>
|
|
30
|
-
#import <CoreLocation/CoreLocation.h>
|
|
31
|
-
|
|
32
|
-
@class SOMotionDetector;
|
|
33
|
-
typedef enum
|
|
34
|
-
{
|
|
35
|
-
MotionTypeStationary = 1,
|
|
36
|
-
MotionTypeWalking,
|
|
37
|
-
MotionTypeRunning,
|
|
38
|
-
MotionTypeAutomotive,
|
|
39
|
-
MotionTypeCycling,
|
|
40
|
-
MotionTypeUnknown,
|
|
41
|
-
MotionTypeMoving
|
|
42
|
-
} SOMotionType;
|
|
43
|
-
|
|
44
|
-
@interface SOMotionDetector : NSObject
|
|
45
|
-
|
|
46
|
-
#pragma mark - Singleton
|
|
47
|
-
+ (SOMotionDetector *)sharedInstance;
|
|
48
|
-
|
|
49
|
-
#pragma mark - Properties
|
|
50
|
-
|
|
51
|
-
@property (copy) void (^motionActivityChangedBlock) (CMMotionActivity *activity);
|
|
52
|
-
@property (copy) void (^motionTypeChangedBlock) (SOMotionType motionType, int shakeCount, double averageVectorSum);
|
|
53
|
-
@property (copy) void (^accelerationChangedBlock) (CMAcceleration acceleration);
|
|
54
|
-
|
|
55
|
-
@property (atomic, readonly) SOMotionType motionType;
|
|
56
|
-
@property (atomic) CMMotionActivity* motionActivity;
|
|
57
|
-
@property (atomic, readonly) BOOL accelerometerAvailable;
|
|
58
|
-
@property (atomic, readonly) BOOL isMoving;
|
|
59
|
-
|
|
60
|
-
@property (atomic) CLLocation* location;
|
|
61
|
-
@property (atomic) double currentSpeed;
|
|
62
|
-
@property (atomic) CMAcceleration acceleration;
|
|
63
|
-
@property (atomic, readonly) BOOL isShaking;
|
|
64
|
-
@property (atomic) NSTimeInterval accelerometerUpdateInterval;
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* Set this parameter to YES if you want to use M7 chip to detect more exact motion type. By default is No.
|
|
68
|
-
* Set this parameter before calling startDetection method.
|
|
69
|
-
* Available only on devices that have M7 chip. At this time only the iPhone 5S, iPhone6/6plus, the iPad Air and iPad mini with retina display have the M7 coprocessor.
|
|
70
|
-
*/
|
|
71
|
-
@property (atomic) BOOL useM7IfAvailable NS_AVAILABLE_IOS(7_0);
|
|
72
|
-
@property (atomic) BOOL M7Authorized;
|
|
73
|
-
|
|
74
|
-
// For debug/diagnostics mode
|
|
75
|
-
@property (atomic) BOOL debug;
|
|
76
|
-
@property (atomic) NSString *statedActivity;
|
|
77
|
-
|
|
78
|
-
#pragma mark - Methods
|
|
79
|
-
-(BOOL) isDeviceMotionAvailable;
|
|
80
|
-
-(BOOL) isAccelerometerAvailable;
|
|
81
|
-
-(BOOL) isGyroAvailable;
|
|
82
|
-
-(BOOL) isMagnetometerAvailable;
|
|
83
|
-
- (void)startDetection;
|
|
84
|
-
- (void)stopDetection;
|
|
85
|
-
- (void)stopShakeDetection;
|
|
86
|
-
- (void)startShakeDetection:(NSTimeInterval)sampleRate;
|
|
87
|
-
- (void)calculate;
|
|
88
|
-
- (BOOL)isUsingM7;
|
|
89
|
-
- (BOOL) isMoving:(NSString*)triggerActivities;
|
|
90
|
-
|
|
91
|
-
#pragma mark - Customization Methods
|
|
92
|
-
|
|
93
|
-
+ (BOOL) motionHardwareAvailable;
|
|
94
|
-
|
|
95
|
-
- (void) setMotionDetectionInterval:(NSTimeInterval)interval;
|
|
96
|
-
- (void) setAccelerometerUpdateInterval:(double)interval;
|
|
97
|
-
- (BOOL) isMoving;
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
*@param speed The minimum speed value less than which will be considered as not moving state
|
|
101
|
-
*/
|
|
102
|
-
- (void)setMinimumSpeed:(CGFloat)speed;
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
*@param speed The maximum speed value more than which will be considered as running state
|
|
106
|
-
*/
|
|
107
|
-
- (void)setMaximumWalkingSpeed:(CGFloat)speed;
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
*@param speed The maximum speed value more than which will be considered as automotive state
|
|
111
|
-
*/
|
|
112
|
-
- (void)setMaximumRunningSpeed:(CGFloat)speed;
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
*@param acceleration The minimum acceleration value less than which will be considered as non shaking state
|
|
116
|
-
*/
|
|
117
|
-
- (void)setMinimumRunningAcceleration:(CGFloat)acceleration;
|
|
118
|
-
|
|
119
|
-
/**
|
|
120
|
-
* @param location Set the current location
|
|
121
|
-
*/
|
|
122
|
-
- (void)setLocation:(CLLocation*)location isMoving:(BOOL)isMoving;
|
|
123
|
-
|
|
124
|
-
- (BOOL) queryMotionActivityHistory;
|
|
125
|
-
|
|
126
|
-
/**
|
|
127
|
-
* Return the human-readable activity name
|
|
128
|
-
*/
|
|
129
|
-
- (NSString*) motionTypeName;
|
|
130
|
-
- (NSString*) motionTypeName:(SOMotionType)motionType;
|
|
131
|
-
/**
|
|
132
|
-
* Return confidence of current motion activity name
|
|
133
|
-
*/
|
|
134
|
-
- (int) motionActivityConfidence;
|
|
135
|
-
|
|
136
|
-
/**
|
|
137
|
-
* Return vectorSum, shakes data for testing / analysis
|
|
138
|
-
*/
|
|
139
|
-
- (NSArray*) getDiagnosticsData;
|
|
140
|
-
|
|
141
|
-
@end
|
package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/SQLQuery.h
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// SQLQuery.h
|
|
3
|
-
// TSLocationManager
|
|
4
|
-
//
|
|
5
|
-
// Created by Christopher Scott on 2019-10-22.
|
|
6
|
-
// Copyright © 2019 Transistor Software. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
typedef enum SQLQueryOrder : NSInteger {
|
|
10
|
-
tsSQLQueryOrderDESC = -1,
|
|
11
|
-
tsSQLQueryOrderASC = 1
|
|
12
|
-
} SQLQueryOrder;
|
|
13
|
-
|
|
14
|
-
@interface SQLQuery : NSObject
|
|
15
|
-
{
|
|
16
|
-
@protected
|
|
17
|
-
NSString *_tableName;
|
|
18
|
-
NSString *_orderColumn;
|
|
19
|
-
NSString *_timestampColumn;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
@property (nonatomic) double start;
|
|
23
|
-
@property (nonatomic) double end;
|
|
24
|
-
@property (nonatomic) int limit;
|
|
25
|
-
@property (nonatomic) SQLQueryOrder order;
|
|
26
|
-
|
|
27
|
-
- (instancetype) initWithDictionary:(NSDictionary*)params;
|
|
28
|
-
|
|
29
|
-
- (NSString*) render;
|
|
30
|
-
- (NSArray*) arguments;
|
|
31
|
-
- (NSString*) toString;
|
|
32
|
-
|
|
33
|
-
@end
|
|
34
|
-
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// TSActivityChange.h
|
|
3
|
-
// TSLocationManager
|
|
4
|
-
//
|
|
5
|
-
// Created by Christopher Scott on 2017-07-28.
|
|
6
|
-
// Copyright © 2017 Transistor Software. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
@interface TSActivityChangeEvent : NSObject
|
|
10
|
-
|
|
11
|
-
@property (nonatomic, readonly) NSInteger confidence;
|
|
12
|
-
@property (nonatomic, readonly) NSString *activity;
|
|
13
|
-
|
|
14
|
-
-(id) initWithActivityName:(NSString*)activityName confidence:(NSInteger)confidence;
|
|
15
|
-
-(NSDictionary*) toDictionary;
|
|
16
|
-
@end
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Authorization.h
|
|
3
|
-
// TSLocationManager
|
|
4
|
-
//
|
|
5
|
-
// Created by Christopher Scott on 2019-11-21.
|
|
6
|
-
// Copyright © 2019 Christopher Scott. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
#import <Foundation/Foundation.h>
|
|
9
|
-
#import "ConfigModule.h"
|
|
10
|
-
#import "TransistorAuthorizationToken.h"
|
|
11
|
-
#import "TSAuthorizationEvent.h"
|
|
12
|
-
|
|
13
|
-
extern NSString * const TS_AUTHORIZATION_STRATEGY;
|
|
14
|
-
extern NSString * const TS_ACCESS_TOKEN;
|
|
15
|
-
extern NSString * const TS_REFRESH_TOKEN;
|
|
16
|
-
extern NSString * const TS_REFRESH_PAYLOAD;
|
|
17
|
-
extern NSString * const TS_EXPIRES;
|
|
18
|
-
extern NSString * const TS_REFRESH_URL;
|
|
19
|
-
|
|
20
|
-
@interface TSAuthorization:ConfigModule
|
|
21
|
-
|
|
22
|
-
@property(nonatomic) NSString* strategy;
|
|
23
|
-
@property(nonatomic) NSString* accessToken;
|
|
24
|
-
@property(nonatomic) NSString* refreshToken;
|
|
25
|
-
@property(nonatomic) NSDictionary* refreshPayload;
|
|
26
|
-
@property(nonatomic) NSDictionary* refreshHeaders;
|
|
27
|
-
@property(nonatomic) NSString* refreshUrl;
|
|
28
|
-
@property(nonatomic) NSTimeInterval expires;
|
|
29
|
-
|
|
30
|
-
- (instancetype) initWithDictionary:(NSDictionary*)values;
|
|
31
|
-
|
|
32
|
-
- (void) apply:(NSMutableURLRequest*)request;
|
|
33
|
-
- (NSString*) toString;
|
|
34
|
-
- (void) resolve:(NSInteger)status success:(void(^)(TSAuthorizationEvent*))success failure:(void(^)(TSAuthorizationEvent*))failure;
|
|
35
|
-
|
|
36
|
-
@end
|
|
37
|
-
|
|
38
|
-
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// TSAuthorizationEvent.h
|
|
3
|
-
// TSLocationManager
|
|
4
|
-
//
|
|
5
|
-
// Created by Christopher Scott on 2019-11-26.
|
|
6
|
-
// Copyright © 2019 Christopher Scott. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
@interface TSAuthorizationEvent : NSObject
|
|
10
|
-
|
|
11
|
-
@property (nonatomic, readonly) NSInteger status;
|
|
12
|
-
@property (nonatomic, readonly) NSError* error;
|
|
13
|
-
@property (nonatomic, readonly) NSDictionary *response;
|
|
14
|
-
|
|
15
|
-
-(instancetype) initWithResponse:(NSDictionary*)response status:(NSInteger)status;
|
|
16
|
-
-(instancetype) initWithError:(NSError*)error status:(NSInteger)status;
|
|
17
|
-
-(NSDictionary*) toDictionary;
|
|
18
|
-
@end
|
package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSCallback.h
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// TSCallback.h
|
|
3
|
-
// TSLocationManager
|
|
4
|
-
//
|
|
5
|
-
// Created by Christopher Scott on 2017-07-31.
|
|
6
|
-
// Copyright © 2017 Transistor Software. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
@interface TSCallback : NSObject
|
|
10
|
-
|
|
11
|
-
@property (nonatomic, copy) void (^success)(id);
|
|
12
|
-
@property (nonatomic, copy) void (^failure)(id);
|
|
13
|
-
@property (nonatomic, readonly) NSDictionary *options;
|
|
14
|
-
|
|
15
|
-
-(id) initWithSuccess:(void(^)(id))success failure:(void(^)(id))failure;
|
|
16
|
-
-(id) initWithSuccess:(void(^)(id))success failure:(void(^)(id))failure options:(NSDictionary*)options;
|
|
17
|
-
|
|
18
|
-
@end
|