Closed gerardim90 closed 3 years ago
@gerardim90 what version of the nativescript-braintree plugin did you use? When using the latest version (3.1.0), you should migrate your project to NS 7.
And did you try to run the demo app in this repo? When I run it, everything works as expected for Android and for iOS so please give it a try.
According to your Android issue: I also noticed that once in the past, but without uninstalling and re-installing the app, it was working some hours later, so maybe that is a braintree related issue.
Unfortunately, I have no Angular knowledge so I am not able to provide an Angular sample app right now.
I ended up solving the issue
iOS Issue: I have followed and review twice the instructions for setting up paypal... I see in the logs [BraintreeSDK] CRITICAL PayPal requires a return URL scheme to be configured via [BTAppSwitch setReturnURLScheme:]. This custom URL scheme must also be registered with your app. My info.plist has: