@transistorsoft/capacitor-background-geolocation 4.11.4 → 5.0.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.
Files changed (17) hide show
  1. package/README.md +4 -0
  2. package/android/build.gradle +14 -9
  3. package/android/libs/com/transistorsoft/tslocationmanager/maven-metadata.xml +1 -1
  4. package/android/libs/com/transistorsoft/tslocationmanager-v21/maven-metadata.xml +1 -1
  5. package/android/src/main/AndroidManifest.xml +1 -1
  6. package/dist/declarations/interfaces/Config.d.ts +1 -1
  7. package/ios/TSLocationManager.xcframework/Info.plist +5 -5
  8. package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Info.plist +0 -0
  9. package/ios/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/TSLocationManager +0 -0
  10. package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Resources/Info.plist +1 -1
  11. package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/TSLocationManager +0 -0
  12. package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Info.plist +0 -0
  13. package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/TSLocationManager +0 -0
  14. package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/_CodeSignature/CodeDirectory +0 -0
  15. package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/_CodeSignature/CodeRequirements-1 +0 -0
  16. package/ios/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/_CodeSignature/CodeResources +1 -1
  17. package/package.json +7 -7
package/README.md CHANGED
@@ -28,6 +28,10 @@ The **[Android module](http://www.transistorsoft.com/shop/products/capacitor-bac
28
28
  ![Home](https://dl.dropboxusercontent.com/s/wa43w1n3xhkjn0i/home-framed-350.png?dl=1)
29
29
  ![Settings](https://dl.dropboxusercontent.com/s/8oad228siog49kt/settings-framed-350.png?dl=1)
30
30
 
31
+ > ### :rotating_light: This plugin requires Capacitor 5 :rotating_light:
32
+ >
33
+ > For Capacitor 4, use the 4.x version of the plugin.
34
+
31
35
  # Contents
32
36
  - ### 😫 [Help!](../../wiki/Help)
33
37
  - ### :books: [API Documentation](https://transistorsoft.github.io/capacitor-background-geolocation)
@@ -1,8 +1,8 @@
1
1
  ext {
2
- junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.1'
3
- androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.3.1'
4
- androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.2'
5
- androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.3.0'
2
+ junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.2'
3
+ androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.6.1'
4
+ androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.5'
5
+ androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.5.1'
6
6
  }
7
7
 
8
8
 
@@ -12,7 +12,7 @@ buildscript {
12
12
  mavenCentral()
13
13
  }
14
14
  dependencies {
15
- classpath 'com.android.tools.build:gradle:4.1.3'
15
+ classpath 'com.android.tools.build:gradle:8.0.0'
16
16
  }
17
17
  }
18
18
 
@@ -48,10 +48,15 @@ def safeExtGet(prop, fallback) {
48
48
  }
49
49
 
50
50
  android {
51
+ namespace "com.transistorsoft.bggeo.capacitor"
52
+ if (project.android.hasProperty("namespace")) {
53
+ namespace("com.transistorsoft.bggeo.capacitor")
54
+ }
55
+
51
56
  compileSdkVersion safeExtGet('compileSdkVersion', DEFAULT_COMPILE_SDK_VERSION)
52
57
  defaultConfig {
53
- minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 21
54
- targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 30
58
+ minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 22
59
+ targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 33
55
60
  versionCode 1
56
61
  versionName "1.0"
57
62
  testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
@@ -66,8 +71,8 @@ android {
66
71
  abortOnError false
67
72
  }
68
73
  compileOptions {
69
- sourceCompatibility JavaVersion.VERSION_1_8
70
- targetCompatibility JavaVersion.VERSION_1_8
74
+ sourceCompatibility JavaVersion.VERSION_17
75
+ targetCompatibility JavaVersion.VERSION_17
71
76
  }
72
77
  }
73
78
 
@@ -8,6 +8,6 @@
8
8
  <versions>
9
9
  <version>3.4.0</version>
10
10
  </versions>
11
- <lastUpdated>20230417163702</lastUpdated>
11
+ <lastUpdated>20230502142318</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -8,6 +8,6 @@
8
8
  <versions>
9
9
  <version>3.4.0</version>
10
10
  </versions>
11
- <lastUpdated>20230417163702</lastUpdated>
11
+ <lastUpdated>20230502142318</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1,3 +1,3 @@
1
1
  <manifest xmlns:android="http://schemas.android.com/apk/res/android"
2
- package="com.transistorsoft.bggeo.capacitor">
2
+ >
3
3
  </manifest>
@@ -1739,7 +1739,7 @@ declare module "@transistorsoft/capacitor-background-geolocation" {
1739
1739
  /**
1740
1740
  * [__iOS Only__] A Boolean indicating whether the status bar changes its appearance when an app uses location services in the background with `Always` authorization.
1741
1741
  *
1742
- * The default value of this property is `false`. The background location usage indicator is a blue bar or a blue pill in the status bar on iOS; on watchOS the indicator is a small icon. Users can tap the indicator to return to your app.
1742
+ * The default value of this property is `true`. The background location usage indicator is a blue bar or a blue pill in the status bar on iOS; on watchOS the indicator is a small icon. Users can tap the indicator to return to your app.
1743
1743
  *
1744
1744
  * This property affects only apps that received `Always` authorization. When such an app moves to the background, the system uses this property to determine whether to change the status bar appearance to indicate that location services are in use. Set this value to true to maintain transparency with the user.
1745
1745
  *
@@ -6,15 +6,18 @@
6
6
  <array>
7
7
  <dict>
8
8
  <key>LibraryIdentifier</key>
9
- <string>ios-arm64</string>
9
+ <string>ios-arm64_x86_64-maccatalyst</string>
10
10
  <key>LibraryPath</key>
11
11
  <string>TSLocationManager.framework</string>
12
12
  <key>SupportedArchitectures</key>
13
13
  <array>
14
14
  <string>arm64</string>
15
+ <string>x86_64</string>
15
16
  </array>
16
17
  <key>SupportedPlatform</key>
17
18
  <string>ios</string>
19
+ <key>SupportedPlatformVariant</key>
20
+ <string>maccatalyst</string>
18
21
  </dict>
19
22
  <dict>
20
23
  <key>LibraryIdentifier</key>
@@ -33,18 +36,15 @@
33
36
  </dict>
34
37
  <dict>
35
38
  <key>LibraryIdentifier</key>
36
- <string>ios-arm64_x86_64-maccatalyst</string>
39
+ <string>ios-arm64</string>
37
40
  <key>LibraryPath</key>
38
41
  <string>TSLocationManager.framework</string>
39
42
  <key>SupportedArchitectures</key>
40
43
  <array>
41
44
  <string>arm64</string>
42
- <string>x86_64</string>
43
45
  </array>
44
46
  <key>SupportedPlatform</key>
45
47
  <string>ios</string>
46
- <key>SupportedPlatformVariant</key>
47
- <string>maccatalyst</string>
48
48
  </dict>
49
49
  </array>
50
50
  <key>CFBundlePackageType</key>
@@ -3,7 +3,7 @@
3
3
  <plist version="1.0">
4
4
  <dict>
5
5
  <key>BuildMachineOSBuild</key>
6
- <string>22D68</string>
6
+ <string>22E261</string>
7
7
  <key>CFBundleDevelopmentRegion</key>
8
8
  <string>en</string>
9
9
  <key>CFBundleExecutable</key>
@@ -138,7 +138,7 @@
138
138
  </data>
139
139
  <key>Info.plist</key>
140
140
  <data>
141
- hm0DjuKnDrPfuEOUC8jri+GmuzY=
141
+ lok/9opDgRKlecXpN/143TrQZ5M=
142
142
  </data>
143
143
  <key>Modules/module.modulemap</key>
144
144
  <data>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transistorsoft/capacitor-background-geolocation",
3
- "version": "4.11.4",
3
+ "version": "5.0.0",
4
4
  "description": "The most sophisticated cross platform Capacitor background location tracking & geofencing module with battery-conscious motion-detection intelligence",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/index.js",
@@ -54,17 +54,17 @@
54
54
  "prepublishOnly": "npm run build"
55
55
  },
56
56
  "dependencies": {
57
- "@transistorsoft/capacitor-background-fetch": "^1.0.2"
57
+ "@transistorsoft/capacitor-background-fetch": "^5.0.0"
58
58
  },
59
59
  "devDependencies": {
60
- "@capacitor/android": "^4.0.0",
61
- "@capacitor/core": "^4.0.0",
62
- "@capacitor/ios": "^4.0.0",
60
+ "@transistorsoft/typedoc-theme": "^2.0.9",
61
+ "@capacitor/android": "^5.0.0",
62
+ "@capacitor/core": "^5.0.0",
63
+ "@capacitor/ios": "^5.0.0",
63
64
  "@ionic/eslint-config": "^0.3.0",
64
65
  "@ionic/prettier-config": "^1.0.1",
65
66
  "@ionic/swiftlint-config": "^1.1.2",
66
67
  "@rollup/plugin-commonjs": "^19.0.0",
67
- "@transistorsoft/typedoc-theme": "^2.0.7",
68
68
  "chalk": "^4.1.0",
69
69
  "eslint": "^7.11.0",
70
70
  "fs-extra": "^9.1.0",
@@ -77,7 +77,7 @@
77
77
  "typescript": "~4.0.3"
78
78
  },
79
79
  "peerDependencies": {
80
- "@capacitor/core": "^4.0.0"
80
+ "@capacitor/core": "^5.0.0"
81
81
  },
82
82
  "prettier": "@ionic/prettier-config",
83
83
  "swiftlint": "@ionic/swiftlint-config",