@transistorsoft/capacitor-background-geolocation 4.12.0 → 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.
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,14 +48,15 @@ def safeExtGet(prop, fallback) {
48
48
  }
49
49
 
50
50
  android {
51
+ namespace "com.transistorsoft.bggeo.capacitor"
51
52
  if (project.android.hasProperty("namespace")) {
52
53
  namespace("com.transistorsoft.bggeo.capacitor")
53
54
  }
54
55
 
55
56
  compileSdkVersion safeExtGet('compileSdkVersion', DEFAULT_COMPILE_SDK_VERSION)
56
57
  defaultConfig {
57
- minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 21
58
- 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
59
60
  versionCode 1
60
61
  versionName "1.0"
61
62
  testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
@@ -70,8 +71,8 @@ android {
70
71
  abortOnError false
71
72
  }
72
73
  compileOptions {
73
- sourceCompatibility JavaVersion.VERSION_1_8
74
- targetCompatibility JavaVersion.VERSION_1_8
74
+ sourceCompatibility JavaVersion.VERSION_17
75
+ targetCompatibility JavaVersion.VERSION_17
75
76
  }
76
77
  }
77
78
 
@@ -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>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transistorsoft/capacitor-background-geolocation",
3
- "version": "4.12.0",
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.4"
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",