-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ionic 4, Cordova & iOS - ITMS-90809: Deprecated API Usage #6
Comments
Are you 100% sure that it's the Cordova Braintree plugin? If the Braintree plugin also uses UiWebView, it would be useless for me to implement it... |
The plugin thah gives me the error is Cordova-braintree-plugin, I don't
know which part of the included libraries.
But I've done another test: there is another version (I can give yoy the
repository) that works fine until checkout and doesn't warn me about
deprecated API, but I'm doing something wrong in the configuration, so it
crashes. Maybe you can find the way to fix it?
Il Lun 30 Mar 2020, 13:39 kheber92 <[email protected]> ha scritto:
… Are you 100% sure that it's the Cordova Braintree plugin?
I'm planning to implement Braintree instead of PayPal, since the creator
of the Cordova PayPal plugin has stopped the development. Unfortunately it
uses the UiWebView, so it's not possible to release apps with the PayPal
plugin.
If the Braintree plugin also uses UiWebView, it would be useless for me to
implement it...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKFB5GRDKPZU6NKMKO2MB4LRKCAFVANCNFSM4LVAKSEQ>
.
|
Yes, please tell me/us the repository which seems to be working (except the configuration). Although I have to find a fix for my current problem first (when trying to run an Ionic build with Braintree included in Xcode):
|
Although I have to find a fix for my current problem first (when trying to
run an Ionic build with Braintree included in Xcode):
Ok you can fin this simply doing "embed and sign" in the main page of
Xcode, I will give you the repository and the screenshot in 5 minutes.
About the app your developing, which framework are you using? Ionic?
Il Lun 30 Mar 2020, 14:01 kheber92 <[email protected]> ha scritto:
… The plugin thah gives me the error is Cordova-braintree-plugin, I don't
know which part of the included libraries. But I've done another test:
there is another version (I can give yoy the repository) that works fine
until checkout and doesn't warn me about deprecated API, but I'm doing
something wrong in the configuration, so it crashes. Maybe you can find the
way to fix it? Il Lun 30 Mar 2020, 13:39 kheber92 ***@***.***
ha scritto:
… <#m_3167879335111869865_>
Are you 100% sure that it's the Cordova Braintree plugin? I'm planning to
implement Braintree instead of PayPal, since the creator of the Cordova
PayPal plugin has stopped the development. Unfortunately it uses the
UiWebView, so it's not possible to release apps with the PayPal plugin. If
the Braintree plugin also uses UiWebView, it would be useless for me to
implement it... — You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#6 (comment)
<#6 (comment)>>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKFB5GRDKPZU6NKMKO2MB4LRKCAFVANCNFSM4LVAKSEQ
.
Yes, please tell me/us the repository which seems to be working (except
the configuration).
Although I have to find a fix for my current problem first (when trying to
run an Ionic build with Braintree included in Xcode):
dyld: Library not loaded: @rpath/BraintreeVenmo.framework/BraintreeVenmo
Referenced from:
/Users/me/Library/Developer/CoreSimulator/Devices/F9A78FB0-E0E5-4789-B294-F76B82A0F995/data/Containers/Bundle/Application/4648048B-A4D5-44FF-84F1-9B07B7574F4F/MyAppPayment.app/MyAppPayment
Reason: image not found
(lldb)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKFB5GRLLXJM3ARZESNTNHTRKCCY5ANCNFSM4LVAKSEQ>
.
|
@ciccilleju Thanks for that tip with "embed and sign in".
Regarding development: I'm using Ionic 4. |
Hello folks, did you find the solution and @ciccilleju can you please share the plugin which was working for you |
unfortunately not... |
This plugin uses an old version of the Braintree SDK. There was the same discussion about the deprecated UIWebView at Braintree's projects itself: (1) braintree/braintree-ios-drop-in#193 I tried to update the Braintree SDK to the latest version, but failed to adjust the code of the plugin to the new version, especially to remove Braintree3DSecure as suggested in the second issue. |
ouch...
any ideas about how we could fix it?
Il 18/05/20 22:16, polllywood ha scritto:
This plugin uses an old version of the Braintree SDK. There was the
same discussion about the deprecated UIWebView at Braintree's projects
itself:
(1) braintree/braintree-ios-drop-in#193
<braintree/braintree-ios-drop-in#193>
(2) braintree/braintree_ios#481
<braintree/braintree_ios#481>
I tried to update the Braintree SDK to the latest version, but failed
to adjust the code of the plugin to the new version, especially to
remove Braintree3DSecure as suggested in the second issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKFB5GWG63K22D46KZ7TPCLRSGJTPANCNFSM4LVAKSEQ>.
--
Francesco De Giorgio
Skype: francescodegiorgio
PEC: [email protected]
Tel: (+39) 349.393.21.82
Fax: (+39) 050 38351170
|
i got a reply from braintree... Braintree says: At this time, we're not able to directly support mobile wrapping or transpiling frameworks. Additionally, braintree.js is neither tested nor developed for hybrid runtimes such as Cordova, PhoneGap, Ionic, React Native, and Electron. While some success may be had in such environments, our SDK is optimized for the browser and its security policies and may not function correctly outside of them, especially when it comes to PayPal. Therefore, we would recommend utilizing our native mobile SDKs in your app. Additionally, I would also like to note that PayPal'sMobile SDKs are deprecated. The APIs powering them will remain operational long enough for merchants to migrate, but the SDKs themselves will no longer be updated. With that in mind, we recommend merchants use Braintree Direct in supported countries. In other countries, merchants can use Express Checkout and choose the Braintree SDK integration option. This is also noted on the Github page for PayPal's mobile SDKs. If you have additional questions, please let us know. |
I am pretty sure, that you get the Braintree.js SDK running, when you allow your app to access their servers. But do you really want to have external stuff inside the webview of your app? |
I have opted out of using plugins for integrating braintree and implement braintree js through InAppBrowser webview, if we add the js code directly into the app it works fine in android but not in iOS, the Drop In UI simply doesn't show in iOS. |
Hey everybody, i created a new Braintree Plugin. It's still in development, but you can use it via Git already: https://github.com/HansKrywaa/cordova-plugin-braintree-sdk 😊 |
hello!
the build works correctly and I can use it both on android and iOs but the problem is that is uses deprecated API as you can see in the following image
do you have the chance to fix it with WKWebView instead of UIWebView?
thanks!
The text was updated successfully, but these errors were encountered: