@woosmap/react-native-plugin-geofencing 0.11.1-beta.2 → 0.11.2-beta.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@woosmap/react-native-plugin-geofencing",
3
- "version": "0.11.1-beta.2",
3
+ "version": "0.11.2-beta.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",
@@ -38,7 +38,31 @@ 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
+ begin
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
+ rescue NoMethodError
50
+ s.dependency "WoosmapGeofencing", "~> 4.0"
51
+ end
52
+
53
+ # if s.respond_to?(:swift_packages=)
54
+ # s.swift_packages = [
55
+ # {
56
+ # name: 'WoosmapGeofencing',
57
+ # url: 'https://github.com/Woosmap/geofencing-ios-sdk-spm-release.git',
58
+ # requirement: { kind: 'upToNextMajorVersion', minimumVersion: '4.0.0' }
59
+ # }
60
+ # ]
61
+ # s.swift_package_products = ["WoosmapGeofencing"]
62
+ # else
63
+ # s.dependency 'WoosmapGeofencing', '~> 4.0'
64
+ # end
65
+
42
66
  s.default_subspec = :default
43
67
 
44
68
  s.subspec "default" do |spec|