Skip to content

react native 0.76 fix (new arch) #96

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion example/ios/Podfile
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
6 changes: 3 additions & 3 deletions ios/SmallcaseGateway.m
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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
) {
Expand Down
2 changes: 1 addition & 1 deletion react-native-smallcase-gateway.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down