@transistorsoft/capacitor-background-geolocation 5.4.0 → 5.4.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.
Files changed (45) hide show
  1. package/TransistorsoftCapacitorBackgroundGeolocation.podspec +1 -1
  2. package/android/libs/com/transistorsoft/tslocationmanager/3.5.4/tslocationmanager-3.5.4.aar +0 -0
  3. package/android/libs/com/transistorsoft/tslocationmanager/3.5.4/tslocationmanager-3.5.4.aar.md5 +1 -1
  4. package/android/libs/com/transistorsoft/tslocationmanager/3.5.4/tslocationmanager-3.5.4.aar.sha1 +1 -1
  5. package/android/libs/com/transistorsoft/tslocationmanager/3.5.4/tslocationmanager-3.5.4.aar.sha256 +1 -1
  6. package/android/libs/com/transistorsoft/tslocationmanager/3.5.4/tslocationmanager-3.5.4.aar.sha512 +1 -1
  7. package/android/libs/com/transistorsoft/tslocationmanager/maven-metadata.xml +1 -1
  8. package/android/libs/com/transistorsoft/tslocationmanager-v21/3.5.4/tslocationmanager-v21-3.5.4.aar +0 -0
  9. package/android/libs/com/transistorsoft/tslocationmanager-v21/3.5.4/tslocationmanager-v21-3.5.4.aar.md5 +1 -1
  10. package/android/libs/com/transistorsoft/tslocationmanager-v21/3.5.4/tslocationmanager-v21-3.5.4.aar.sha1 +1 -1
  11. package/android/libs/com/transistorsoft/tslocationmanager-v21/3.5.4/tslocationmanager-v21-3.5.4.aar.sha256 +1 -1
  12. package/android/libs/com/transistorsoft/tslocationmanager-v21/3.5.4/tslocationmanager-v21-3.5.4.aar.sha512 +1 -1
  13. package/android/libs/com/transistorsoft/tslocationmanager-v21/maven-metadata.xml +1 -1
  14. package/dist/declarations/BackgroundGeolocation.d.ts +11 -1
  15. package/dist/declarations/interfaces/AuthorizationEvent.d.ts +17 -17
  16. package/ios/Resources/PrivacyInfo.xcprivacy +35 -0
  17. package/ios/TSLocationManager.xcframework/Info.plist +9 -9
  18. package/ios/TSLocationManager.xcframework/_CodeSignature/CodeDirectory +0 -0
  19. package/ios/TSLocationManager.xcframework/_CodeSignature/CodeRequirements +0 -0
  20. package/ios/TSLocationManager.xcframework/_CodeSignature/CodeRequirements-1 +0 -0
  21. package/ios/TSLocationManager.xcframework/_CodeSignature/CodeResources +2033 -0
  22. package/ios/TSLocationManager.xcframework/_CodeSignature/CodeSignature +0 -0
  23. package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Info.plist +0 -0
  24. package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/PrivacyInfo.xcprivacy +36 -0
  25. package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/TSLocationManager +0 -0
  26. package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/_CodeSignature/CodeDirectory +0 -0
  27. package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/_CodeSignature/CodeRequirements +0 -0
  28. package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/_CodeSignature/CodeRequirements-1 +0 -0
  29. package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/_CodeSignature/CodeResources +642 -0
  30. package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/_CodeSignature/CodeSignature +0 -0
  31. package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Resources/Info.plist +7 -7
  32. package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Resources/PrivacyInfo.xcprivacy +36 -0
  33. package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/TSLocationManager +0 -0
  34. package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/_CodeSignature/CodeDirectory +0 -0
  35. package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/_CodeSignature/CodeRequirements +0 -0
  36. package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/_CodeSignature/CodeRequirements-1 +0 -0
  37. package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/_CodeSignature/CodeResources +536 -0
  38. package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/_CodeSignature/CodeSignature +0 -0
  39. package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Info.plist +0 -0
  40. package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/PrivacyInfo.xcprivacy +36 -0
  41. package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/TSLocationManager +0 -0
  42. package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/_CodeSignature/CodeDirectory +0 -0
  43. package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/_CodeSignature/CodeRequirements-1 +0 -0
  44. package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/_CodeSignature/CodeResources +16 -1
  45. package/package.json +3 -2
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
16
16
  s.dependency 'CocoaLumberjack', '~> 3.7.2'
17
17
  s.libraries = 'sqlite3', 'z', 'stdc++'
18
18
  s.vendored_frameworks = ['ios/TSLocationManager.xcframework']
19
+ s.resource_bundles = {'TSLocationManagerPrivacy' => ['ios/Resources/PrivacyInfo.xcprivacy']}
19
20
  s.static_framework = true
20
21
  s.swift_version = '5.1'
21
- s.resource_bundles = {'TSLocationManager' => ['ios/Resources/PrivacyInfo.xcprivacy']}
22
22
  end
@@ -1 +1 @@
1
- 6598f22abd8bc5cecea9b5b2c87ebd4f
1
+ 2061702453bcb97a73dba6b86d1edaf7
@@ -1 +1 @@
1
- 76debc7f1489446d3ca2cc0e013a6bc4497a5dd3
1
+ feb2367f72761f4b699ae58ec047461e9a9234d6
@@ -1 +1 @@
1
- 880b9defc76a46181bc3f287a9ed87035913725d0a83a629132f7904f9e64b5d
1
+ d591c768f36f5312337747427dc34e860871086323d975f1388f7d36480a2702
@@ -1 +1 @@
1
- 64731b53b3800186eb47d0a95c8bd59c053e248d34db6c56d9627d6c9f4970081f01bb8f099ec7a88cd5622ef899871fe13e491b1e738a357a9841b419ed6d35
1
+ b37bbbf38d78ae8d1e939475578deed59aa6974b57b2f2875e010d852ed334764ab0b17314468a1cad1b6f96288ecbaa5e66a3d5dbc3dd9ba5b265614685fc3f
@@ -13,6 +13,6 @@
13
13
  <version>3.5.3</version>
14
14
  <version>3.5.4</version>
15
15
  </versions>
16
- <lastUpdated>20240320010615</lastUpdated>
16
+ <lastUpdated>20240416171250</lastUpdated>
17
17
  </versioning>
18
18
  </metadata>
@@ -1 +1 @@
1
- e3d385acf2d12b6b91329a5f394d9531
1
+ ef24420944e46ec3be54a938ace6ea5b
@@ -1 +1 @@
1
- 3ea77566b3f15963f39057bc083529fdc4d39cd4
1
+ 5ffb007eee69e2670b1addd2dc467289671cf3d9
@@ -1 +1 @@
1
- 0971fa90e5260c85d040cf09ddfd19cae0297bebc97625765a677c8fbd2f59e7
1
+ 6d18e0695079ef503e690852c4482688e017de7bb566724732cc6bb9e0b8f3c2
@@ -1 +1 @@
1
- 1a947fcd13c911d1cbb144ee9337964e732a5677c8f6910f45c8af56fe2f89162739266a0fda626c7591ecffe1d0a4c741afa281c40a64a09a2b7ad26235cd48
1
+ 0217b0a97fe4a3379d2e56197a99d5664269f7ef8b985dbcaa5e4b587e0335021ebf3e88f2d0742e9e7f119374dfd2c9cb42c01ea0f681b75b26a9d460092235
@@ -13,6 +13,6 @@
13
13
  <version>3.5.3</version>
14
14
  <version>3.5.4</version>
15
15
  </versions>
16
- <lastUpdated>20240320010615</lastUpdated>
16
+ <lastUpdated>20240416171250</lastUpdated>
17
17
  </versioning>
18
18
  </metadata>
@@ -725,7 +725,7 @@ declare module "@transistorsoft/capacitor-background-geolocation" {
725
725
  * });
726
726
  * ```
727
727
  *
728
- * ### ⚠️ Warning: You must call `#ready` **once** and **only** once, each time your app is launched.
728
+ * ### ⚠️ Warning: You must call __`.ready(confg)`__ **once** and **only** once, each time your app is launched.
729
729
  * - Do not hide the call to `#ready` within a view which is loaded only by clicking a UI action. This is particularly important
730
730
  * for iOS in the case where the OS relaunches your app in the background when the device is detected to be moving. If you don't ensure that `#ready` is called in this case, tracking will not resume.
731
731
  *
@@ -733,6 +733,16 @@ declare module "@transistorsoft/capacitor-background-geolocation" {
733
733
  *
734
734
  * If you wish, you can use the [[reset]] method to reset all [[Config]] options to documented default-values (with optional overrides):
735
735
  *
736
+ * ### [[Config.reset]]: false
737
+ *
738
+ * Configuring the plugin with __`reset: false`__ should generally be avoided unless you know *exactly* what it does. People often find this from the *Demo* app. If you do configure `reset: false`, you'll find that your `Config` provided to `.ready` is consumed **only at first launch after install**. Thereafter, the plugin will ignore any changes you've provided there. The only way to change the config then is to use [[setConfig]].
739
+ *
740
+ * You will especially not want to use `reset: false` during development, while you're fine-tuning your `Config` options.
741
+ *
742
+ * The reason the *Demo* app uses `reset: false` is because it hosts an advanced "*Settings*" screen to tune the `Config` at runtime and we don't want those runtime changes to be overwritten by `.ready(config)` each time the app launches.
743
+ *
744
+ * ⚠️ If you *don't* undestand what __`reset: false`__ does, **NO NOT USE IT**. If you blindly copy/pasted it from the *Demo* app, **REMOVE IT** from your `Config`.
745
+ *
736
746
  * @example
737
747
  * ```typescript
738
748
  * BackgroundGeolocation.reset();
@@ -14,21 +14,21 @@ declare module "@transistorsoft/capacitor-background-geolocation" {
14
14
  * ```
15
15
  */
16
16
  interface AuthorizationEvent {
17
- /**
18
- * HTTP Status returned from your [[Authorization.refreshUrl]] (or `0` if the HTTP request failed).
19
- */
20
- status:number;
21
- /**
22
- * `true` when an authorization request to [[Authorization.refreshUrl]] was successful.
23
- */
24
- success: boolean;
25
- /**
26
- * When [[success]] is `false`, this is the error message from [[Authorization.refreshUrl]]. Otherwise, `null`.
27
- */
28
- error: string;
29
- /**
30
- * when [[success]] is `true`, this is the decoded JSON response returned from [[Authorization.refreshUrl]]. Otherwise, `null`.
31
- */
32
- response:any;
33
- }
17
+ /**
18
+ * HTTP Status returned from your [[Authorization.refreshUrl]] (or `0` if the HTTP request failed).
19
+ */
20
+ status:number;
21
+ /**
22
+ * `true` when an authorization request to [[Authorization.refreshUrl]] was successful.
23
+ */
24
+ success: boolean;
25
+ /**
26
+ * When [[success]] is `false`, this is the error message from [[Authorization.refreshUrl]]. Otherwise, `null`.
27
+ */
28
+ error: string;
29
+ /**
30
+ * when [[success]] is `true`, this is the decoded JSON response returned from [[Authorization.refreshUrl]]. Otherwise, `null`.
31
+ */
32
+ response:any;
33
+ }
34
34
  }
@@ -0,0 +1,35 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <!--
4
+ PrivacyInfo.xcprivacy
5
+ TSLocationManager
6
+
7
+ Created by Christopher Scott on 2024-03-20.
8
+ Copyright (c) 2024 Christopher Scott. All rights reserved.
9
+ -->
10
+ <plist version="1.0">
11
+ <dict>
12
+ <key>NSPrivacyTrackingDomains</key>
13
+ <array/>
14
+
15
+ <key>NSPrivacyAccessedAPITypes</key>
16
+ <array>
17
+ <dict>
18
+ <key>NSPrivacyAccessedAPIType</key>
19
+ <string>NSPrivacyAccessedAPICategoryUserDefaults</string>
20
+
21
+ <key>NSPrivacyAccessedAPITypeReasons</key>
22
+ <array>
23
+ <string>CA92.1</string>
24
+ <string>1C8F.1</string>
25
+ </array>
26
+ </dict>
27
+ </array>
28
+
29
+ <key>NSPrivacyCollectedDataTypes</key>
30
+ <array/>
31
+
32
+ <key>NSPrivacyTracking</key>
33
+ <false/>
34
+ </dict>
35
+ </plist>
@@ -8,38 +8,38 @@
8
8
  <key>BinaryPath</key>
9
9
  <string>TSLocationManager.framework/TSLocationManager</string>
10
10
  <key>LibraryIdentifier</key>
11
- <string>ios-arm64</string>
11
+ <string>ios-arm64_x86_64-simulator</string>
12
12
  <key>LibraryPath</key>
13
13
  <string>TSLocationManager.framework</string>
14
14
  <key>SupportedArchitectures</key>
15
15
  <array>
16
16
  <string>arm64</string>
17
+ <string>x86_64</string>
17
18
  </array>
18
19
  <key>SupportedPlatform</key>
19
20
  <string>ios</string>
21
+ <key>SupportedPlatformVariant</key>
22
+ <string>simulator</string>
20
23
  </dict>
21
24
  <dict>
22
25
  <key>BinaryPath</key>
23
- <string>TSLocationManager.framework/Versions/A/TSLocationManager</string>
26
+ <string>TSLocationManager.framework/TSLocationManager</string>
24
27
  <key>LibraryIdentifier</key>
25
- <string>ios-arm64_x86_64-maccatalyst</string>
28
+ <string>ios-arm64</string>
26
29
  <key>LibraryPath</key>
27
30
  <string>TSLocationManager.framework</string>
28
31
  <key>SupportedArchitectures</key>
29
32
  <array>
30
33
  <string>arm64</string>
31
- <string>x86_64</string>
32
34
  </array>
33
35
  <key>SupportedPlatform</key>
34
36
  <string>ios</string>
35
- <key>SupportedPlatformVariant</key>
36
- <string>maccatalyst</string>
37
37
  </dict>
38
38
  <dict>
39
39
  <key>BinaryPath</key>
40
- <string>TSLocationManager.framework/TSLocationManager</string>
40
+ <string>TSLocationManager.framework/Versions/A/TSLocationManager</string>
41
41
  <key>LibraryIdentifier</key>
42
- <string>ios-arm64_x86_64-simulator</string>
42
+ <string>ios-arm64_x86_64-maccatalyst</string>
43
43
  <key>LibraryPath</key>
44
44
  <string>TSLocationManager.framework</string>
45
45
  <key>SupportedArchitectures</key>
@@ -50,7 +50,7 @@
50
50
  <key>SupportedPlatform</key>
51
51
  <string>ios</string>
52
52
  <key>SupportedPlatformVariant</key>
53
- <string>simulator</string>
53
+ <string>maccatalyst</string>
54
54
  </dict>
55
55
  </array>
56
56
  <key>CFBundlePackageType</key>