braintree / braintree-ios-drop-in

Braintree Drop-in for iOS
https://developers.braintreepayments.com
MIT License
98 stars 77 forks source link

iOS 8+ cannot use braintree-ios-drop-in? #17

Closed ShaoSikang closed 7 years ago

ShaoSikang commented 7 years ago

My project base on iOS 8.0 , Can I use braintree-ios-drop-in? Or I need to use braintree_ios. There is another question, My App cannot jump to PayPal App when I install PayPal App.

Can you please help to solve this issue

Thannk in Advance.

demerino commented 7 years ago

@ShaoSikang Thanks for submitting your question.

You need to target 9.0+ as stated in the braintree-ios-drop-in README:

The Braintree iOS Drop-In SDK requires Xcode 7+ and a Base SDK of iOS 9+. It permits a Deployment Target of iOS 9.0 or higher.

However, you can still use braintree_ios.

If you're using iOS9+ on your testing device (for testing PayPal app switching) then you'll currently be switched to SFSafariViewController as stated in our docs:

Devices running iOS 9 will present this page from a SFSafariViewController modally.