omnipay-reactnative-sdk 1.2.3-beta.8 → 1.2.3-beta.9

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.
@@ -1,10 +1,4 @@
1
1
  #import <VisionCamera/FrameProcessorPlugin.h>
2
2
  #import <VisionCamera/FrameProcessorPluginRegistry.h>
3
3
 
4
- #if __has_include("omnipay_reactnative_sdk/omnipay_reactnative_sdk-Swift.h")
5
- #import "omnipay_reactnative_sdk/omnipay_reactnative_sdk-Swift.h"
6
- #else
7
- #import "omnipay_reactnative_sdk-Swift.h"
8
- #endif
9
-
10
4
  VISION_EXPORT_SWIFT_FRAME_PROCESSOR(FaceVerificationFrameProcessor, detectFaces)
@@ -20,10 +20,12 @@ Pod::Spec.new do |s|
20
20
  s.public_header_files = "ios/*.h"
21
21
  s.requires_arc = true
22
22
 
23
- # Standard React Native SDK configuration
23
+ # Swift support configuration
24
+ s.swift_version = '5.0'
24
25
  s.pod_target_xcconfig = {
25
26
  'DEFINES_MODULE' => 'YES',
26
- 'SWIFT_COMPILATION_MODE' => 'wholemodule'
27
+ 'SWIFT_COMPILATION_MODE' => 'wholemodule',
28
+ 'SWIFT_OBJC_BRIDGING_HEADER' => '$(PODS_TARGET_SRCROOT)/ios/omnipay-reactnative-sdk-Bridging-Header.h'
27
29
  }
28
30
 
29
31
  # Essential dependencies only
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omnipay-reactnative-sdk",
3
- "version": "1.2.3-beta.8",
3
+ "version": "1.2.3-beta.9",
4
4
  "description": "Omnipay react native sdk",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",