react-native-paypal icon indicating copy to clipboard operation
react-native-paypal copied to clipboard

Compiling issue with latest version of Braintree

Open jbatra-umeey opened this issue 4 years ago • 1 comments

Not compiling with the latest version of Braintree

Xcode : 12.4 Swift version : 5.3.2

Podfile :

require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

platform :ios, '12.0'

target 'paypalExample' do
  config = use_native_modules!

  use_react_native!(:path => config["reactNativePath"])

  target 'paypalExampleTests' do
    inherit! :complete
    # Pods for testing
  end

  # Enables Flipper.
  #
  # Note that if you have use_frameworks! enabled, Flipper will not work and
  # you should disable these next few lines.
  use_flipper!
  post_install do |installer|
    flipper_post_install(installer)
  end
end

target 'paypalExample-tvOS' do
  # Pods for paypalExample-tvOS

  target 'paypalExample-tvOSTests' do
    inherit! :search_paths
    # Pods for testing
  end
end

pod 'Braintree/Core'
pod 'Braintree/PayPal'

Updated podspec

Pod::Spec.new do |s|
   ....
  s.dependency "Braintree/Core"
  s.dependency "Braintree/PayPal"
end

Request you to please share the react-native sample or guide with steps

jbatra-umeey avatar May 04 '21 17:05 jbatra-umeey

@jbatra-umeey is this in your app? could you check the example app and see if it works? that should give you a good idea of how to set up your app

nzankich avatar May 17 '21 22:05 nzankich