@capacitor/geolocation 7.1.4 → 8.0.0-next.1

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.
@@ -11,8 +11,8 @@ Pod::Spec.new do |s|
11
11
  s.author = package['author']
12
12
  s.source = { :git => package['repository']['url'], :tag => s.version.to_s }
13
13
  s.source_files = 'ios/Sources/**/*.{swift,h,m,c,cc,mm,cpp}'
14
- s.ios.deployment_target = '14.0'
14
+ s.ios.deployment_target = '15.0'
15
15
  s.dependency 'Capacitor'
16
- s.dependency 'IONGeolocationLib', spec='~> 1.0'
16
+ s.dependency 'IONGeolocationLib', spec='1.0.1'
17
17
  s.swift_version = '5.1'
18
18
  end
package/Package.swift CHANGED
@@ -3,7 +3,7 @@ import PackageDescription
3
3
 
4
4
  let package = Package(
5
5
  name: "CapacitorGeolocation",
6
- platforms: [.iOS(.v14)],
6
+ platforms: [.iOS(.v15)],
7
7
  products: [
8
8
  .library(
9
9
  name: "CapacitorGeolocation",
@@ -15,8 +15,8 @@ let package = Package(
15
15
  targets: [
16
16
  .binaryTarget(
17
17
  name: "IONGeolocationLib",
18
- url: "https://github.com/ionic-team/ion-ios-geolocation/releases/download/1.0.0/IONGeolocationLib.zip",
19
- checksum: "b117d3681a947f5d367e79abdb3bfc9abf7ab070ea5279d7da634ddd2d54ffdb" // sha-256
18
+ url: "https://github.com/ionic-team/ion-ios-geolocation/releases/download/1.0.1/IONGeolocationLib.zip",
19
+ checksum: "80e0283964bce3c5d05f61ff4acf4e029305f58d1699a7f16453058ba876bc21" // sha-256
20
20
  ),
21
21
  .target(
22
22
  name: "GeolocationPlugin",
@@ -23,10 +23,10 @@ apply plugin: 'kotlin-android'
23
23
 
24
24
  android {
25
25
  namespace "com.capacitorjs.plugins.geolocation"
26
- compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 35
26
+ compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 36
27
27
  defaultConfig {
28
- minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 23
29
- targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 35
28
+ minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 24
29
+ targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 36
30
30
  versionCode 1
31
31
  versionName "1.0"
32
32
  testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
@@ -208,6 +208,7 @@ private extension GeolocationPlugin {
208
208
  }
209
209
 
210
210
  func handleLocationRequest(_ enableHighAccuracy: Bool, watchUUID: String? = nil, call: CAPPluginCall) {
211
+ bindLocationPublisher()
211
212
  let configurationModel = IONGLOCConfigurationModel(enableHighAccuracy: enableHighAccuracy)
212
213
  locationService?.updateConfiguration(configurationModel)
213
214
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capacitor/geolocation",
3
- "version": "7.1.4",
3
+ "version": "8.0.0-next.1",
4
4
  "description": "The Geolocation API provides simple methods for getting and tracking the current position of the device using GPS, along with altitude, heading, and speed information if available.",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -46,7 +46,7 @@
46
46
  "prepublishOnly": "npm run build"
47
47
  },
48
48
  "dependencies": {
49
- "@capacitor/synapse": "^1.0.3"
49
+ "@capacitor/synapse": "^1.0.4"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@capacitor/android": "next",
@@ -57,6 +57,7 @@
57
57
  "@ionic/prettier-config": "^4.0.0",
58
58
  "@ionic/swiftlint-config": "^2.0.0",
59
59
  "@semantic-release/changelog": "^6.0.3",
60
+ "@semantic-release/exec": "^7.1.0",
60
61
  "@semantic-release/git": "^10.0.1",
61
62
  "@semantic-release/github": "^11.0.1",
62
63
  "@semantic-release/npm": "^12.0.1",
@@ -71,7 +72,7 @@
71
72
  "typescript": "~5.4.5"
72
73
  },
73
74
  "peerDependencies": {
74
- "@capacitor/core": ">=7.0.0"
75
+ "@capacitor/core": ">=8.0.0-alpha.2"
75
76
  },
76
77
  "prettier": "@ionic/prettier-config",
77
78
  "swiftlint": "@ionic/swiftlint-config",