@woosmap/react-native-plugin-geofencing 0.11.1 → 0.11.2-beta.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@woosmap/react-native-plugin-geofencing",
3
- "version": "0.11.1",
3
+ "version": "0.11.2-beta.2",
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",
@@ -38,7 +38,20 @@ Pod::Spec.new do |s|
38
38
  end
39
39
  end
40
40
 
41
- s.dependency "WoosmapGeofencing", '~> 4.0'
41
+ s.swift_version = '5.0'
42
+
43
+ if defined?(:spm_dependency)
44
+ spm_dependency(s,
45
+ url: 'https://github.com/Woosmap/geofencing-ios-sdk-spm-release.git',
46
+ requirement: {kind: 'upToNextMajorVersion', minimumVersion: '4.0.0'},
47
+ products: ['WoosmapGeofencing']
48
+ )
49
+ else
50
+ raise "Please upgrade React Native to >=0.75.0 to use SPM dependencies."
51
+ end
52
+
53
+ #s.dependency 'WoosmapGeofencing', '~> 4.0'
54
+
42
55
  s.default_subspec = :default
43
56
 
44
57
  s.subspec "default" do |spec|