@transistorsoft/capacitor-background-geolocation 7.2.0 → 7.2.2
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/Package.swift +45 -0
- package/android/Package.swift +2 -0
- package/android/build.gradle +0 -4
- package/android/libs/com/transistorsoft/tslocationmanager/{3.6.8/tslocationmanager-3.6.8.aar → 3.7.0/tslocationmanager-3.7.0.aar} +0 -0
- package/android/libs/com/transistorsoft/tslocationmanager/3.7.0/tslocationmanager-3.7.0.aar.md5 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager/3.7.0/tslocationmanager-3.7.0.aar.sha1 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager/3.7.0/tslocationmanager-3.7.0.aar.sha256 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager/3.7.0/tslocationmanager-3.7.0.aar.sha512 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager/{3.6.8/tslocationmanager-3.6.8.pom → 3.7.0/tslocationmanager-3.7.0.pom} +1 -1
- package/android/libs/com/transistorsoft/tslocationmanager/3.7.0/tslocationmanager-3.7.0.pom.md5 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager/3.7.0/tslocationmanager-3.7.0.pom.sha1 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager/3.7.0/tslocationmanager-3.7.0.pom.sha256 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager/3.7.0/tslocationmanager-3.7.0.pom.sha512 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager/maven-metadata.xml +4 -4
- package/android/libs/com/transistorsoft/tslocationmanager-v21/{3.6.8/tslocationmanager-v21-3.6.8.aar → 3.7.0/tslocationmanager-v21-3.7.0.aar} +0 -0
- package/android/libs/com/transistorsoft/tslocationmanager-v21/3.7.0/tslocationmanager-v21-3.7.0.aar.md5 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager-v21/3.7.0/tslocationmanager-v21-3.7.0.aar.sha1 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager-v21/3.7.0/tslocationmanager-v21-3.7.0.aar.sha256 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager-v21/3.7.0/tslocationmanager-v21-3.7.0.aar.sha512 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager-v21/{3.6.8/tslocationmanager-v21-3.6.8.pom → 3.7.0/tslocationmanager-v21-3.7.0.pom} +1 -1
- package/android/libs/com/transistorsoft/tslocationmanager-v21/3.7.0/tslocationmanager-v21-3.7.0.pom.md5 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager-v21/3.7.0/tslocationmanager-v21-3.7.0.pom.sha1 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager-v21/3.7.0/tslocationmanager-v21-3.7.0.pom.sha256 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager-v21/3.7.0/tslocationmanager-v21-3.7.0.pom.sha512 +1 -0
- package/android/libs/com/transistorsoft/tslocationmanager-v21/maven-metadata.xml +4 -4
- package/ios/Frameworks/TSLocationManager.xcframework/Info.plist +61 -0
- package/ios/Frameworks/TSLocationManager.xcframework/_CodeSignature/CodeDirectory +0 -0
- package/ios/Frameworks/TSLocationManager.xcframework/_CodeSignature/CodeRequirements +0 -0
- package/ios/Frameworks/TSLocationManager.xcframework/_CodeSignature/CodeRequirements-1 +0 -0
- package/ios/Frameworks/TSLocationManager.xcframework/_CodeSignature/CodeResources +2033 -0
- package/ios/Frameworks/TSLocationManager.xcframework/_CodeSignature/CodeSignature +0 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/AtomicBoolean.h +18 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/ConfigModule.h +21 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/HttpRequest.h +21 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/HttpResponse.h +29 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/LocationManager.h +55 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/LogQuery.h +13 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/SOMotionDetector.h +141 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/SQLQuery.h +34 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSActivityChangeEvent.h +16 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSAuthorization.h +38 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSAuthorizationEvent.h +18 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSCallback.h +18 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSConfig.h +310 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSConnectivityChangeEvent.h +17 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSCurrentPositionRequest.h +43 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSDeviceInfo.h +24 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSEnabledChangeEvent.h +15 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSGeofence.h +54 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSGeofenceEvent.h +64 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSGeofenceManager.h +54 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSGeofencesChangeEvent.h +17 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSHeartbeatEvent.h +18 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSHttpEvent.h +19 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSHttpService.h +58 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSLocation.h +105 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSLocationManager.h +315 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSPowerSaveChangeEvent.h +14 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSProviderChangeEvent.h +20 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSReachability.h +106 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSSchedule.h +40 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSScheduleEvent.h +18 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TSWatchPositionRequest.h +41 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Headers/TransistorAuthorizationToken.h +31 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Info.plist +0 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Miniball/Miniball.hpp +525 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Modules/module.modulemap +6 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/PrivacyInfo.xcprivacy +36 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/TSLocationManager +0 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/_CodeSignature/CodeDirectory +0 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/_CodeSignature/CodeRequirements +0 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/_CodeSignature/CodeRequirements-1 +0 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/_CodeSignature/CodeResources +642 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/_CodeSignature/CodeSignature +0 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/AtomicBoolean.h +18 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/ConfigModule.h +21 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/HttpRequest.h +21 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/HttpResponse.h +29 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/LocationManager.h +55 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/LogQuery.h +13 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/SOMotionDetector.h +141 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/SQLQuery.h +34 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSActivityChangeEvent.h +16 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSAuthorization.h +38 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSAuthorizationEvent.h +18 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSCallback.h +18 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSConfig.h +310 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSConnectivityChangeEvent.h +17 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSCurrentPositionRequest.h +43 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSDeviceInfo.h +24 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSEnabledChangeEvent.h +15 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSGeofence.h +54 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSGeofenceEvent.h +64 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSGeofenceManager.h +54 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSGeofencesChangeEvent.h +17 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSHeartbeatEvent.h +18 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSHttpEvent.h +19 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSHttpService.h +58 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSLocation.h +105 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSLocationManager.h +315 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSPowerSaveChangeEvent.h +14 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSProviderChangeEvent.h +20 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSReachability.h +106 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSSchedule.h +40 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSScheduleEvent.h +18 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TSWatchPositionRequest.h +41 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/TransistorAuthorizationToken.h +31 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Modules/module.modulemap +6 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Resources/Info.plist +50 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Resources/Miniball/Miniball.hpp +525 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Resources/PrivacyInfo.xcprivacy +36 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/TSLocationManager +0 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/_CodeSignature/CodeDirectory +0 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/_CodeSignature/CodeRequirements +0 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/_CodeSignature/CodeRequirements-1 +0 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/_CodeSignature/CodeResources +536 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/_CodeSignature/CodeSignature +0 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/AtomicBoolean.h +18 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/ConfigModule.h +21 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/HttpRequest.h +21 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/HttpResponse.h +29 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/LocationManager.h +55 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/LogQuery.h +13 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/SOMotionDetector.h +141 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/SQLQuery.h +34 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSActivityChangeEvent.h +16 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSAuthorization.h +38 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSAuthorizationEvent.h +18 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSCallback.h +18 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSConfig.h +310 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSConnectivityChangeEvent.h +17 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSCurrentPositionRequest.h +43 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSDeviceInfo.h +24 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSEnabledChangeEvent.h +15 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSGeofence.h +54 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSGeofenceEvent.h +64 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSGeofenceManager.h +54 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSGeofencesChangeEvent.h +17 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSHeartbeatEvent.h +18 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSHttpEvent.h +19 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSHttpService.h +58 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSLocation.h +105 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSLocationManager.h +315 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSPowerSaveChangeEvent.h +14 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSProviderChangeEvent.h +20 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSReachability.h +106 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSSchedule.h +40 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSScheduleEvent.h +18 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TSWatchPositionRequest.h +41 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/TransistorAuthorizationToken.h +31 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Info.plist +0 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Miniball/Miniball.hpp +525 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Modules/module.modulemap +6 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/PrivacyInfo.xcprivacy +36 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/TSLocationManager +0 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/_CodeSignature/CodeDirectory +0 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/_CodeSignature/CodeRequirements +0 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/_CodeSignature/CodeRequirements-1 +0 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/_CodeSignature/CodeResources +642 -0
- package/ios/Frameworks/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/_CodeSignature/CodeSignature +0 -0
- package/ios/Sources/BackgroundGeolocationPlugin/BackgroundGeolocationPlugin.swift +880 -0
- package/ios/Sources/BackgroundGeolocationPlugin/PrivacyInfo.xcprivacy +35 -0
- package/package.json +5 -5
- package/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.aar.md5 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.aar.sha1 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.aar.sha256 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.aar.sha512 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.pom.md5 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.pom.sha1 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.pom.sha256 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.pom.sha512 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.aar.md5 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.aar.sha1 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.aar.sha256 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.aar.sha512 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.pom.md5 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.pom.sha1 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.pom.sha256 +0 -1
- package/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.pom.sha512 +0 -1
- package/ios/Plugin/BackgroundGeolocationModule.h +0 -14
- package/ios/Plugin/BackgroundGeolocationModule.m +0 -694
- package/ios/Plugin/BackgroundGeolocationPlugin.h +0 -10
- package/ios/Plugin/BackgroundGeolocationPlugin.m +0 -66
- package/ios/Plugin/Info.plist +0 -24
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
//
|
|
2
|
+
// TSGeofence.h
|
|
3
|
+
// TSLocationManager
|
|
4
|
+
//
|
|
5
|
+
// Created by Christopher Scott on 2016-12-21.
|
|
6
|
+
// Copyright © 2016 Transistor Software. All rights reserved.
|
|
7
|
+
//
|
|
8
|
+
#import <Foundation/Foundation.h>
|
|
9
|
+
|
|
10
|
+
@interface TSGeofence : NSObject
|
|
11
|
+
{
|
|
12
|
+
|
|
13
|
+
}
|
|
14
|
+
@property (nonatomic) NSString* identifier;
|
|
15
|
+
@property (nonatomic) CLLocationDistance radius;
|
|
16
|
+
|
|
17
|
+
@property (nonatomic) CLLocationDegrees latitude;
|
|
18
|
+
@property (nonatomic) CLLocationDegrees longitude;
|
|
19
|
+
@property (nonatomic) BOOL notifyOnEntry;
|
|
20
|
+
@property (nonatomic) BOOL notifyOnExit;
|
|
21
|
+
@property (nonatomic) BOOL notifyOnDwell;
|
|
22
|
+
@property (nonatomic) double loiteringDelay;
|
|
23
|
+
@property (nonatomic) NSDictionary* extras;
|
|
24
|
+
@property (nonatomic) NSArray* vertices;
|
|
25
|
+
/**
|
|
26
|
+
* Arbitrary extra data attached to the geofence
|
|
27
|
+
*/
|
|
28
|
+
|
|
29
|
+
-(instancetype) initWithIdentifier:(NSString*)identifier
|
|
30
|
+
radius:(CLLocationDistance)radius
|
|
31
|
+
latitude:(CLLocationDegrees)latitude
|
|
32
|
+
longitude:(CLLocationDegrees)lontitude
|
|
33
|
+
notifyOnEntry:(BOOL)notifyOnEntry
|
|
34
|
+
notifyOnExit:(BOOL)notifyOnExit
|
|
35
|
+
notifyOnDwell:(BOOL)notifyOnDwell
|
|
36
|
+
loiteringDelay:(double)loiteringDelay;
|
|
37
|
+
|
|
38
|
+
-(instancetype) initWithIdentifier:(NSString*)identifier
|
|
39
|
+
radius:(CLLocationDistance)radius
|
|
40
|
+
latitude:(CLLocationDegrees)latitude
|
|
41
|
+
longitude:(CLLocationDegrees)longitude
|
|
42
|
+
notifyOnEntry:(BOOL)notifyOnEntry
|
|
43
|
+
notifyOnExit:(BOOL)notifyOnExit
|
|
44
|
+
notifyOnDwell:(BOOL)notifyOnDwell
|
|
45
|
+
loiteringDelay:(double)loiteringDelay
|
|
46
|
+
extras:(NSDictionary*)extras
|
|
47
|
+
vertices:(NSArray*)vertices;
|
|
48
|
+
|
|
49
|
+
- (NSDictionary*) toDictionary;
|
|
50
|
+
- (BOOL) isPolygon;
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
@end
|
|
54
|
+
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
//
|
|
2
|
+
// TSGeofenceEvent.h
|
|
3
|
+
// TSLocationManager
|
|
4
|
+
//
|
|
5
|
+
// Created by Christopher Scott on 2017-03-27.
|
|
6
|
+
// Copyright © 2017 Transistor Software. All rights reserved.
|
|
7
|
+
//
|
|
8
|
+
|
|
9
|
+
#import <Foundation/Foundation.h>
|
|
10
|
+
#import "TSLocation.h"
|
|
11
|
+
#import "TSGeofence.h"
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
The event object provided to `-[TSLocationManager onGeofence:]`
|
|
15
|
+
|
|
16
|
+
```obj-c
|
|
17
|
+
TSLocationManager *bgGeo = [TSLocationManager sharedInstance];
|
|
18
|
+
[bgGeo onGeofence:^(TSGeofenceEvent *event) {
|
|
19
|
+
NSLog(@"[onGeofence]: %@", event);
|
|
20
|
+
}];
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
*/
|
|
24
|
+
@interface TSGeofenceEvent : NSObject
|
|
25
|
+
{
|
|
26
|
+
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/// The location associated with this geofence event.
|
|
30
|
+
@property (nonatomic, readonly) TSLocation* location;
|
|
31
|
+
/// The triggered geofence
|
|
32
|
+
@property (nonatomic, readonly) TSGeofence* geofence;
|
|
33
|
+
/// The region instance.
|
|
34
|
+
@property (nonatomic, readonly) CLCircularRegion* region;
|
|
35
|
+
|
|
36
|
+
@property (nonatomic) NSDate *timestamp;
|
|
37
|
+
|
|
38
|
+
/// The geofence transition (eg: "ENTER", "EXIT", "DWELL"
|
|
39
|
+
@property (nonatomic, readonly) NSString* action;
|
|
40
|
+
/// :nodoc:
|
|
41
|
+
@property (nonatomic, readonly) BOOL isLoitering;
|
|
42
|
+
|
|
43
|
+
/// :nodoc:
|
|
44
|
+
@property (nonatomic, readonly) BOOL isFinishedLoitering;
|
|
45
|
+
|
|
46
|
+
/// :nodoc:
|
|
47
|
+
-(instancetype)initWithGeofence:(TSGeofence*)geofence region:(CLCircularRegion*)circularRegion action:(NSString*)actionName;
|
|
48
|
+
-(instancetype)initWithGeofence:(TSGeofence*)geofence action:(NSString*)actionName;
|
|
49
|
+
|
|
50
|
+
/// :nodoc:
|
|
51
|
+
-(void) startLoiteringAt:(CLLocation*)location callback:(void (^)(void))callback;
|
|
52
|
+
/// :nodoc:
|
|
53
|
+
-(BOOL) isLoiteringAt:(CLLocation*)location;
|
|
54
|
+
/// :nodoc:
|
|
55
|
+
-(void) setTriggerLocation:(CLLocation*)location;
|
|
56
|
+
/// :nodoc:
|
|
57
|
+
-(void) cancel;
|
|
58
|
+
|
|
59
|
+
/// Returns an `NSDictionary` representaton.
|
|
60
|
+
-(NSDictionary*)toDictionary;
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
@end
|
|
64
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
//
|
|
2
|
+
// GeofenceManager.h
|
|
3
|
+
// TSLocationManager
|
|
4
|
+
//
|
|
5
|
+
// Created by Christopher Scott on 2016-10-04.
|
|
6
|
+
// Copyright © 2016 Transistor Software. All rights reserved.
|
|
7
|
+
//
|
|
8
|
+
|
|
9
|
+
#import <Foundation/Foundation.h>
|
|
10
|
+
#import <CoreLocation/CoreLocation.h>
|
|
11
|
+
#import "TSGeofenceEvent.h"
|
|
12
|
+
#import "TSGeofencesChangeEvent.h"
|
|
13
|
+
|
|
14
|
+
extern NSString *const STATIONARY_REGION_IDENTIFIER;
|
|
15
|
+
|
|
16
|
+
@interface TSGeofenceManager : NSObject<CLLocationManagerDelegate>
|
|
17
|
+
{
|
|
18
|
+
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@property (copy) void (^onGeofence) (TSGeofenceEvent* event);
|
|
22
|
+
|
|
23
|
+
@property (atomic) BOOL isMoving;
|
|
24
|
+
@property (atomic) BOOL enabled;
|
|
25
|
+
@property (atomic) BOOL evaluated;
|
|
26
|
+
@property (atomic) BOOL isUpdatingLocation;
|
|
27
|
+
@property (atomic) BOOL isEvaluatingEvents;
|
|
28
|
+
@property (atomic) BOOL isRequestingLocation;
|
|
29
|
+
@property (atomic) BOOL isMonitoringSignificantChanges;
|
|
30
|
+
@property (atomic) BOOL willEvaluateProximity;
|
|
31
|
+
@property (atomic) CLLocation *lastLocation;
|
|
32
|
+
|
|
33
|
+
@property (atomic, readonly) NSMutableArray *geofencesChangeListeners;
|
|
34
|
+
@property (atomic, readonly) NSMutableArray *geofenceListeners;
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
// Event listeners
|
|
38
|
+
-(void) onGeofencesChange:(void (^)(TSGeofencesChangeEvent*))success;
|
|
39
|
+
-(void) onGeofence:(void (^)(TSGeofenceEvent*))success;
|
|
40
|
+
-(void) un:(NSString*)event callback:(void(^)(id))callback;
|
|
41
|
+
-(void) removeListeners;
|
|
42
|
+
-(void) start;
|
|
43
|
+
-(void) stop;
|
|
44
|
+
-(void) ready;
|
|
45
|
+
-(void) setLocation:(CLLocation*)location isMoving:(BOOL)isMoving;
|
|
46
|
+
-(void) setProximityRadius:(CLLocationDistance)radius;
|
|
47
|
+
-(BOOL) isMonitoringRegion:(CLCircularRegion*)region;
|
|
48
|
+
-(void) didBecomeStationary:(CLLocation*)locaiton;
|
|
49
|
+
-(NSString*) identifierFor:(CLCircularRegion*)region;
|
|
50
|
+
-(void) create:(NSArray*)geofences success:(void (^)(void))success failure:(void (^)(NSString*))failure;
|
|
51
|
+
-(void) destroy:(NSArray*)identifiers success:(void (^)(void))success failure:(void (^)(NSString*))failure;
|
|
52
|
+
-(BOOL) isInfiniteMonitoring;
|
|
53
|
+
|
|
54
|
+
@end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
//
|
|
2
|
+
// TSGeofencesChangeEvent.h
|
|
3
|
+
// TSLocationManager
|
|
4
|
+
//
|
|
5
|
+
// Created by Christopher Scott on 2017-07-29.
|
|
6
|
+
// Copyright © 2017 Transistor Software. All rights reserved.
|
|
7
|
+
//
|
|
8
|
+
#import "TSSchedule.h"
|
|
9
|
+
|
|
10
|
+
@interface TSGeofencesChangeEvent : NSObject
|
|
11
|
+
|
|
12
|
+
@property (nonatomic, readonly) NSArray* on;
|
|
13
|
+
@property (nonatomic, readonly) NSArray* off;
|
|
14
|
+
|
|
15
|
+
-(id) initWithOn:(NSArray*)on off:(NSArray*)off;
|
|
16
|
+
-(NSDictionary*) toDictionary;
|
|
17
|
+
@end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
//
|
|
2
|
+
// TSHeartbeat.h
|
|
3
|
+
// TSLocationManager
|
|
4
|
+
//
|
|
5
|
+
// Created by Christopher Scott on 2017-07-28.
|
|
6
|
+
// Copyright © 2017 Transistor Software. All rights reserved.
|
|
7
|
+
//
|
|
8
|
+
|
|
9
|
+
#import "TSLocation.h"
|
|
10
|
+
|
|
11
|
+
@interface TSHeartbeatEvent : NSObject
|
|
12
|
+
|
|
13
|
+
@property (nonatomic, readonly) TSLocation* location;
|
|
14
|
+
|
|
15
|
+
-(id) initWithLocation:(CLLocation*)location;
|
|
16
|
+
-(NSDictionary*) toDictionary;
|
|
17
|
+
@end
|
|
18
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
//
|
|
2
|
+
// TSHttpResponse.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 TSHttpEvent : NSObject
|
|
10
|
+
|
|
11
|
+
@property (nonatomic, readonly) BOOL isSuccess;
|
|
12
|
+
@property (nonatomic, readonly) NSInteger statusCode;
|
|
13
|
+
@property (nonatomic, readonly) NSDictionary *requestData;
|
|
14
|
+
@property (nonatomic, readonly) NSString *responseText;
|
|
15
|
+
@property (nonatomic, readonly) NSError *error;
|
|
16
|
+
|
|
17
|
+
-(id) initWithStatusCode:(NSInteger)statusCode requestData:(NSDictionary*)requestData responseData:(NSData*)responseData error:(NSError*)error;
|
|
18
|
+
-(NSDictionary*) toDictionary;
|
|
19
|
+
@end
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
//
|
|
2
|
+
// TSScheduler.h
|
|
3
|
+
// TSLocationManager
|
|
4
|
+
//
|
|
5
|
+
// Created by Christopher Scott on 2016-04-26.
|
|
6
|
+
// Copyright © 2016 Transistor Software. All rights reserved.
|
|
7
|
+
//
|
|
8
|
+
//
|
|
9
|
+
// TSScheduler
|
|
10
|
+
// TODO This should be decoupled into some sort of plugin
|
|
11
|
+
//
|
|
12
|
+
#import <Foundation/Foundation.h>
|
|
13
|
+
#import <UIKit/UIKit.h>
|
|
14
|
+
#import "TSConnectivityChangeEvent.h"
|
|
15
|
+
#import "TSAuthorizationEvent.h"
|
|
16
|
+
#import "AtomicBoolean.h"
|
|
17
|
+
#import "HttpRequest.h"
|
|
18
|
+
#import "TSReachability.h"
|
|
19
|
+
#import "TSCallback.h"
|
|
20
|
+
|
|
21
|
+
@class TSHttpService;
|
|
22
|
+
|
|
23
|
+
@interface TSHttpService : NSObject
|
|
24
|
+
|
|
25
|
+
#pragma mark - Singleton
|
|
26
|
+
+ (TSHttpService *)sharedInstance;
|
|
27
|
+
|
|
28
|
+
#pragma mark - Properties
|
|
29
|
+
|
|
30
|
+
@property (copy) void (^httpResponseBlock) (HttpRequest *request, HttpResponse *response);
|
|
31
|
+
|
|
32
|
+
@property (nonatomic) AtomicBoolean *isBusy;
|
|
33
|
+
@property (nonatomic) BOOL hasNetworkConnection;
|
|
34
|
+
|
|
35
|
+
@property (nonatomic, readonly) NSMutableArray *syncedRecords;
|
|
36
|
+
@property (nonatomic, readonly) TSReachability *reachability;
|
|
37
|
+
@property (nonatomic, readonly) UIBackgroundTaskIdentifier bgTask;
|
|
38
|
+
|
|
39
|
+
@property (nonatomic, readonly) NSMutableSet *connectivityChangeListeners;
|
|
40
|
+
@property (nonatomic, readonly) NSMutableSet *authorizationListeners;
|
|
41
|
+
|
|
42
|
+
@property (nonatomic) TSCallback *callback;
|
|
43
|
+
@property (nonatomic) long autoSyncThreshold;
|
|
44
|
+
|
|
45
|
+
#pragma mark - Methods
|
|
46
|
+
-(void)flush;
|
|
47
|
+
-(void)flush:(BOOL)overrideSyncThreshold;
|
|
48
|
+
-(void)flush:(void(^)(NSArray*))success failure:(void(^)(NSError*))failure;
|
|
49
|
+
-(void)startMonitoring;
|
|
50
|
+
-(void)stopMonitoring;
|
|
51
|
+
|
|
52
|
+
-(void)onConnectivityChange:(void (^)(TSConnectivityChangeEvent*))success;
|
|
53
|
+
-(void)onAuthorization:(void(^)(TSAuthorizationEvent*))callback;
|
|
54
|
+
-(void)un:(NSString*)event callback:(void(^)(id))callback;
|
|
55
|
+
-(void)removeListeners;
|
|
56
|
+
-(void)removeListeners:(NSString*)event;
|
|
57
|
+
|
|
58
|
+
@end
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
//
|
|
2
|
+
// TSLocation.h
|
|
3
|
+
// TSLocationManager
|
|
4
|
+
//
|
|
5
|
+
// Created by Christopher Scott on 2017-02-11.
|
|
6
|
+
// Copyright © 2017 Transistor Software. All rights reserved.
|
|
7
|
+
//
|
|
8
|
+
|
|
9
|
+
@interface TSLocation : NSObject
|
|
10
|
+
|
|
11
|
+
// Location types
|
|
12
|
+
typedef enum tsLocationType : NSInteger {
|
|
13
|
+
TS_LOCATION_TYPE_MOTIONCHANGE = 0,
|
|
14
|
+
TS_LOCATION_TYPE_TRACKING = 1,
|
|
15
|
+
TS_LOCATION_TYPE_CURRENT = 2,
|
|
16
|
+
TS_LOCATION_TYPE_SAMPLE = 3,
|
|
17
|
+
TS_LOCATION_TYPE_WATCH = 4,
|
|
18
|
+
TS_LOCATION_TYPE_GEOFENCE = 5,
|
|
19
|
+
TS_LOCATION_TYPE_HEARTBEAT = 6
|
|
20
|
+
} tsLocationtype;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* The native CLLocation instance
|
|
24
|
+
*/
|
|
25
|
+
@property (nonatomic, readonly) CLLocation* location;
|
|
26
|
+
/**
|
|
27
|
+
* Universally unique identifier. The uuid is used to locate the record in the database. It is also posted by default in HTTP requests so your server can determine if a duplicate location has been posted. It's also helpful to match a location received at your server to entries in the plugin logs.
|
|
28
|
+
*/
|
|
29
|
+
@property (nonatomic, readonly) NSString *uuid;
|
|
30
|
+
/**
|
|
31
|
+
* The rendered timestamp in ISO-8851 UTC format (YYYY-MM-dd HH:mm:sssZ)
|
|
32
|
+
*/
|
|
33
|
+
@property (nonatomic, readonly) NSString *timestamp;
|
|
34
|
+
|
|
35
|
+
@property (nonatomic, readonly) NSNumber *age;
|
|
36
|
+
/**
|
|
37
|
+
* The type of location: MOTIONCHANGE|TRACKING|CURRENT|SAMPLE|WATCH|GEOFENCE|HEARTBEAT
|
|
38
|
+
*/
|
|
39
|
+
@property (nonatomic, readonly) enum tsLocationType type;
|
|
40
|
+
/**
|
|
41
|
+
* YES when location was recorded while device is in motion; NO otherwise.
|
|
42
|
+
*/
|
|
43
|
+
@property (nonatomic, readonly) BOOL isMoving;
|
|
44
|
+
/**
|
|
45
|
+
* Arbitrary extras data attached to the location.
|
|
46
|
+
*/
|
|
47
|
+
@property (nonatomic, readonly) NSDictionary* extras;
|
|
48
|
+
/**
|
|
49
|
+
* For internal use only. Geofence data rendered to NSDictionary for posting to server.
|
|
50
|
+
*/
|
|
51
|
+
@property (nonatomic, readonly) NSDictionary* geofence;
|
|
52
|
+
// Battery
|
|
53
|
+
/**
|
|
54
|
+
* YES when device is plugged into power and charging
|
|
55
|
+
*/
|
|
56
|
+
@property (nonatomic, readonly) BOOL batteryIsCharging;
|
|
57
|
+
/**
|
|
58
|
+
* The battery level between 0 (empty) and 1 (full)
|
|
59
|
+
*/
|
|
60
|
+
@property (nonatomic, readonly) NSNumber *batteryLevel;
|
|
61
|
+
// Activity
|
|
62
|
+
/**
|
|
63
|
+
* Activity type rendered as string: still|on_foot|in_vehicle|running|on_bicycle
|
|
64
|
+
*/
|
|
65
|
+
@property (nonatomic, readonly) NSString *activityType;
|
|
66
|
+
/**
|
|
67
|
+
* Confidence of activity-type estimation as % 0-100
|
|
68
|
+
*/
|
|
69
|
+
@property (nonatomic, readonly) NSNumber *activityConfidence;
|
|
70
|
+
// State
|
|
71
|
+
/**
|
|
72
|
+
* YES when recorded location is a sample. The plugin records multiple locations for particular events, such as "motionchange" in order to determine
|
|
73
|
+
* highest accuracy location before persisting that location to the database and POSTing to your configured #url. Location "samples" are not persisted
|
|
74
|
+
* to the plugin's database, nor are they posted to your configured #url
|
|
75
|
+
*/
|
|
76
|
+
@property (nonatomic, readonly) BOOL isSample;
|
|
77
|
+
|
|
78
|
+
@property (nonatomic, readonly) BOOL mock;
|
|
79
|
+
/**
|
|
80
|
+
* YES when this location was provided to a heartbeat event
|
|
81
|
+
*/
|
|
82
|
+
@property (nonatomic, readonly) BOOL isHeartbeat;
|
|
83
|
+
/**
|
|
84
|
+
* The current value of the odometer in meters
|
|
85
|
+
*/
|
|
86
|
+
@property (nonatomic, readonly) NSNumber *odometer;
|
|
87
|
+
/**
|
|
88
|
+
* The event associated with this location: location|motionchange|heartbeat|providerchange
|
|
89
|
+
*/
|
|
90
|
+
@property (nonatomic, readonly) NSString *event;
|
|
91
|
+
|
|
92
|
+
-(instancetype) initWithLocation:(CLLocation*)location;
|
|
93
|
+
-(instancetype) initWithLocation:(CLLocation*)location type:(enum tsLocationType)type extras:(NSDictionary*)extras;
|
|
94
|
+
-(instancetype) initWithLocation:(CLLocation*)location geofence:(NSDictionary*)geofenceData;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Render location-data as JSON string
|
|
98
|
+
*/
|
|
99
|
+
- (NSData*)toJson:(NSError**)error;
|
|
100
|
+
/**
|
|
101
|
+
* Render location-data as NSDictionary
|
|
102
|
+
*/
|
|
103
|
+
- (NSDictionary*)toDictionary;
|
|
104
|
+
|
|
105
|
+
@end
|