From 5a222b7d8b050055cc57bd47269f22f7d320a3df Mon Sep 17 00:00:00 2001 From: Lukas Baranauskas <46403446+lukebars@users.noreply.github.com> Date: Sat, 28 Oct 2023 18:25:14 +0300 Subject: [PATCH] build: use React-Core pod instead of React Having React as s.dependency in podspec results in errors like "duplicate interface definition for RCTModuleRegistry", React-Core avoids this. Tested. --- RNBraintreeDropIn.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RNBraintreeDropIn.podspec b/RNBraintreeDropIn.podspec index 3bfda25..fae6d2f 100644 --- a/RNBraintreeDropIn.podspec +++ b/RNBraintreeDropIn.podspec @@ -13,7 +13,7 @@ Pod::Spec.new do |s| s.source = { :git => "https://github.com/BradyShober/react-native-braintree-dropin-ui.git", :tag => "master" } s.source_files = "ios/**/*.{h,m}" s.requires_arc = true - s.dependency 'React' + s.dependency 'React-Core' s.dependency 'Braintree', '5.20.1' s.dependency 'BraintreeDropIn', '9.8.1' s.dependency 'Braintree/DataCollector', '5.20.1'