Skip to content
This repository has been archived by the owner on Mar 23, 2020. It is now read-only.

Cannot read property 'initialize' of undefined ? #15

Open
Talkwondo opened this issue Aug 4, 2018 · 6 comments
Open

Cannot read property 'initialize' of undefined ? #15

Talkwondo opened this issue Aug 4, 2018 · 6 comments

Comments

@Talkwondo
Copy link

Hi,
Have the same issue like other guy here.

can someone help?

thanks,

@Talkwondo Talkwondo changed the title Cannot read property 'initialize' of undefined ??? #14 Cannot read property 'initialize' of undefined ? Aug 4, 2018
@dreamdev21
Copy link

Same here.

@dreamdev21
Copy link

Please check build.gradle, it should include this library.

dependencies {
...
compile project(':react-native-paypal-wrapper')
}

@vimalN1992
Copy link

@Talkwondo Did you get the solution? I am too getting same issue.

@davekedar
Copy link

I am getting this error in iOS please help @webmasterdragon

@herarya
Copy link

herarya commented Nov 21, 2018

@davekedar

  1. In XCode, in the project navigator, right click Libraries ➜ Add Files to [your project's name]
    Go to node_modules ➜ react-native-paypal-wrapper and add RNPaypalWrapper.xcodeproj

2.In XCode, in the project navigator, select your project. Add libRNPaypalWrapper.a to your project's Build Phases ➜ Link Binary With Libraries

  1. Click in the project navigator and go the Build Settings tab. Make sure 'All' is toggled on and search "Header Search Paths" add "$(SRCROOT)/../node_modules/react-native-paypal-wrapper/ios"

work

@pratikadyalkar
Copy link

I start getting this error as soon as i follow your steps @herarya

duplicate symbol _PPZebraOnePasswordAppExtensionGeneratedPasswordMaxLengthKey in:
/Users/mac/project/ios/Pods/PayPal-iOS-SDK/PayPalMobile/libPayPalMobile.a(PPZebraOnePasswordExtension.o)
/Users/mac/Library/Developer/Xcode/DerivedData/atscommapp-hhmngwwhbjtswfbcxbsfxqtjeljc/Build/Products/Debug-iphonesimulator/libRNPaypalWrapper.a(PPZebraOnePasswordExtension.o)

ld: 933 duplicate symbols for architecture x86_64

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants