@woosmap/react-native-plugin-geofencing 0.12.0 → 0.12.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 0.12.1
2
+ - Enhancement: Update publishing process workflow
3
+
1
4
  ## 0.12.0
2
5
  - Enhancement:
3
6
  1. Use the SPM repo to fetch the Woosmap geofencing SDK instead of COCOAPODS.
@@ -813,7 +813,7 @@ extension CLRegion {
813
813
  }
814
814
 
815
815
  if customProfile != "" {
816
- DispatchQueue.main.async {
816
+ //DispatchQueue.main.async {
817
817
  let (status, errors) = self.sdkInstance!.startCustomTracking(
818
818
  url: customProfile
819
819
  )
@@ -829,35 +829,11 @@ extension CLRegion {
829
829
  forKey: "WoosmapGeofenceService.profile"
830
830
  )
831
831
  }
832
- }
832
+ //}
833
833
  }
834
-
835
- }
836
-
837
- public func startCustomTracking1(mode: String, source: String) throws {
838
- if mode == "local" {
839
- let bundle = Bundle.main //Bundle(for: Self.self)
840
- if let url = bundle.url(forResource: source, withExtension: nil) {
841
- let (status, errors) = self.sdkInstance!.startCustomTracking(
842
- url: url.absoluteString
843
- )
844
- if status == false {
845
- throw WoosGeofenceError(errors[0])
846
- }
847
- } else {
848
- throw WoosGeofenceError(WoosmapGeofenceMessage.invalid_profilefile)
849
- }
850
- } else if mode == "external" {
851
- let (status, errors) = self.sdkInstance!.startCustomTracking(url: source)
852
- if status == false {
853
- throw WoosGeofenceError(errors[0])
854
- }
855
- } else {
856
- throw WoosGeofenceError(WoosmapGeofenceMessage.invalid_profilesourcetype)
857
- }
858
-
859
834
  }
860
835
 
836
+
861
837
  ///Refresh POI info in storage
862
838
  public func refreshPOI() {
863
839
  self.sdkInstance?.refreshPOIs()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@woosmap/react-native-plugin-geofencing",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "This react-native plugin extends the functionality offered by the Woosmap Geofencing Mobile SDKs. Find more about the Woosmap Geofencing SDK",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -24,14 +24,6 @@
24
24
  "!**/__mocks__",
25
25
  "!**/.*"
26
26
  ],
27
- "scripts": {
28
- "example": "yarn workspace react-native-plugin-geofencing-example",
29
- "test": "jest",
30
- "typecheck": "tsc --noEmit",
31
- "lint": "eslint \"**/*.{js,ts,tsx}\"",
32
- "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib",
33
- "prepack": "bob build && node scripts/write-module-package.js"
34
- },
35
27
  "keywords": [
36
28
  "react-native",
37
29
  "ios",
@@ -55,7 +47,6 @@
55
47
  "@evilmartians/lefthook": "^1.5.0",
56
48
  "@react-native-community/cli": "19.0.0",
57
49
  "@react-native/eslint-config": "^0.73.1",
58
- "@release-it/conventional-changelog": "^9.0.2",
59
50
  "@types/jest": "^29.5.5",
60
51
  "@types/react": "^19.1.0",
61
52
  "commitlint": "^17.0.2",
@@ -68,7 +59,6 @@
68
59
  "react": "19.1.0",
69
60
  "react-native": "0.80.1",
70
61
  "react-native-builder-bob": "^0.40.12",
71
- "release-it": "^17.10.0",
72
62
  "turbo": "^1.10.7",
73
63
  "typescript": "^5.2.2"
74
64
  },
@@ -79,10 +69,7 @@
79
69
  "react": "*",
80
70
  "react-native": "*"
81
71
  },
82
- "engines": {
83
- "node": ">= 16.0.0"
84
- },
85
72
  "dependencies": {
86
73
  "react-native-uuid": "^2.0.3"
87
74
  }
88
- }
75
+ }