diff --git a/example/ios/Podfile b/example/ios/Podfile index 00028252..592540f1 100644 --- a/example/ios/Podfile +++ b/example/ios/Podfile @@ -1,7 +1,7 @@ require_relative '../node_modules/react-native/scripts/react_native_pods' require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules' -platform :ios, '11.0' +platform :ios, '14.0' install! 'cocoapods', :deterministic_uuids => false ENV['RCT_NEW_ARCH_ENABLED'] = '0' diff --git a/ios/SmallcaseGateway.m b/ios/SmallcaseGateway.m index 11627054..17377ebb 100644 --- a/ios/SmallcaseGateway.m +++ b/ios/SmallcaseGateway.m @@ -30,8 +30,8 @@ @interface RCT_EXTERN_MODULE(SmallcaseGateway, NSObject) RCT_REMAP_METHOD(setConfigEnvironment, envName:(NSString *)envName gateway:(NSString *)gateway - isLeprechaunActive: (BOOL *)isLeprechaunActive - isAmoEnabled: (BOOL *)isAmoEnabled + isLeprechaunActive: (BOOL)isLeprechaunActive + isAmoEnabled: (BOOL)isAmoEnabled preProvidedBrokers: (NSArray *)preProvidedBrokers setConfigEnvironmentWithResolver:(RCTPromiseResolveBlock)resolve rejecter:(RCTPromiseRejectBlock)reject) { @@ -480,7 +480,7 @@ @interface RCT_EXTERN_MODULE(SmallcaseGateway, NSObject) RCT_REMAP_METHOD(triggerLeadGenWithLoginCta, userParams: (NSDictionary *)userParams utmParams:(NSDictionary *)utmParams - showLoginCta:(BOOL *)showLoginCta + showLoginCta:(BOOL)showLoginCta leadGenGenWithResolver: (RCTPromiseResolveBlock)resolve rejecter:(RCTPromiseRejectBlock)reject ) { diff --git a/react-native-smallcase-gateway.podspec b/react-native-smallcase-gateway.podspec index 283b06cd..a2bea9eb 100644 --- a/react-native-smallcase-gateway.podspec +++ b/react-native-smallcase-gateway.podspec @@ -11,7 +11,7 @@ Pod::Spec.new do |s| s.license = package["license"] s.authors = package["author"] - s.platforms = { :ios => "11.0" } + s.platforms = { :ios => "14.0" } s.source = { :git => "https://github.com/smallcase/react-native-smallcase-gateway.git", :tag => "#{s.version}" } s.vendored_frameworks = 'SCGateway.xcframework' s.source_files = "ios/**/*.{h,m,mm,swift}"