[英]How to add Paypal-android-sdk in libs folder of cordova phonegap project?
I installed paypal cordova plugin in my phone-gap app. 我在手机差距应用程序中安装了paypal cordova插件。 For paypal integration in my app, I have download the zip file of paypal-android-sdk from the source given https://github.com/paypal/PayPal-Android-SDK .
为了将Paypal集成到我的应用中,我已经从https://github.com/paypal/PayPal-Android-SDK给出的源下载了paypal-android-sdk的zip文件。
Now I just want to know how do I add PayPal-Android-SDK in my phone-gap's project's libs folder so that paypal plugin works perfectly. 现在,我只想知道如何在手机间隙的项目的libs文件夹中添加PayPal-Android-SDK,以便Paypal插件完美运行。
Please suggest me for this. 请为此建议我。
Thanks. 谢谢。
Refer https://github.com/paypal/PayPal-Cordova-Plugin 请参阅https://github.com/paypal/PayPal-Cordova-Plugin
<plugin name="com.paypal.cordova.mobilesdk" spec="3.1.23" />
Add the paypal-mobile-js-helper.js file to the app using script tag in index.html 使用index.html中的脚本标记将paypal-mobile-js-helper.js文件添加到应用程序
<script type="text/javascript" src="js/paypal-mobile-js-helper.js"></script>
Follow the guidelines from documentation https://github.com/paypal/PayPal-Cordova-Plugin 遵循文档https://github.com/paypal/PayPal-Cordova-Plugin的准则
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.