omnipay-reactnative-sdk 1.2.3-beta.4 → 1.2.3-beta.6

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.
@@ -0,0 +1,6 @@
1
+ #ifndef omnipay_reactnative_sdk_h
2
+ #define omnipay_reactnative_sdk_h
3
+
4
+ #import <React/RCTBridgeModule.h>
5
+
6
+ #endif /* omnipay_reactnative_sdk_h */
@@ -3,7 +3,7 @@ require "json"
3
3
  package = JSON.parse(File.read(File.join(__dir__, "package.json")))
4
4
 
5
5
  Pod::Spec.new do |s|
6
- s.name = "omnipay-reactnative-sdk"
6
+ s.name = "omnipay_reactnative_sdk"
7
7
  s.version = package["version"]
8
8
  s.summary = package["description"]
9
9
  s.description = <<-DESC
@@ -17,10 +17,14 @@ Pod::Spec.new do |s|
17
17
  s.source = { :git => "https://github.com/engrtitus/omnipay-reactnative-sdk.git", :tag => "#{s.version}" }
18
18
 
19
19
  s.source_files = "ios/**/*.{h,c,cc,cpp,m,mm,swift}"
20
+ s.public_header_files = "ios/*.h"
20
21
  s.requires_arc = true
21
22
 
22
- # Use static framework to resolve Swift modular headers issue
23
- s.static_framework = true
23
+ # Standard React Native SDK configuration
24
+ s.pod_target_xcconfig = {
25
+ 'DEFINES_MODULE' => 'YES',
26
+ 'SWIFT_COMPILATION_MODE' => 'wholemodule'
27
+ }
24
28
 
25
29
  # Essential dependencies only
26
30
  s.dependency "React-Core"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omnipay-reactnative-sdk",
3
- "version": "1.2.3-beta.4",
3
+ "version": "1.2.3-beta.6",
4
4
  "description": "Omnipay react native sdk",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -173,7 +173,7 @@
173
173
  "packageImportPath": "import com.omniretail.omnipay.OmnipayActivityPackage;"
174
174
  },
175
175
  "ios": {
176
- "podspecPath": "./omnipay-reactnative-sdk.podspec"
176
+ "podspecPath": "./omnipay_reactnative_sdk.podspec"
177
177
  }
178
178
  },
179
179
  "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"