1 Star 0 Fork 0

0604hx/pingpp-cordova

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
plugin.xml 12.99 KB
一键复制 编辑 原始数据 按行查看 历史
litao.yu 提交于 2018-01-30 18:31 . 更新 IOS SDK; 新增 pingpp_ui 库
<?xml version="1.0" encoding="utf-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="cordova-plugin-pingpp"
xmlns:android="http://schemas.android.com/apk/res/android"
version="1.0.1">
<name>Pingpp</name>
<description>cordova plugin for ping++</description>
<author>ping++</author>
<keywords>pingpp,pingxx,ping++,pingppone,alipay,weixin,bdwallet,unionpay,applepay</keywords>
<license>Apache 2.0</license>
<engines>
<engine name="cordova" version=">=5.4.1"/>
</engines>
<js-module src="www/pingpp.js" name="pingpp">
<clobbers target="Pingpp" />
</js-module>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="PingppPlugin">
<param name="android-package" value="cordova.plugin.pingpp.PingppPlugin"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.NFC" />
<uses-permission-sdk-23 android:name="android.permission.READ_PHONE_STATE" />
<uses-permission-sdk-23 android:name="android.permission.NFC" />
</config-file>
<config-file target="AndroidManifest.xml" parent="application">
<activity
android:name="com.pingplusplus.android.PaymentActivity"
android:configChanges="orientation|screenSize|keyboardHidden|navigation"
android:launchMode="singleTop"
android:theme="@android:style/Theme.Translucent.NoTitleBar" >
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.BROWSABLE"/>
<category android:name="android.intent.category.DEFAULT"/>
<data android:scheme="qwalletXXXXXXXX"/>
</intent-filter>
</activity>
<activity-alias
android:name=".wxapi.WXPayEntryActivity"
android:exported="true"
android:targetActivity="com.pingplusplus.android.PaymentActivity" />
<activity
android:name="com.alipay.sdk.app.H5PayActivity"
android:configChanges="orientation|keyboardHidden|navigation|screenSize"
android:exported="false"
android:screenOrientation="behind" />
<activity
android:name="com.alipay.sdk.auth.AuthActivity"
android:configChanges="orientation|keyboardHidden|navigation|screenSize"
android:exported="false"
android:screenOrientation="behind" />
<activity
android:name="com.unionpay.uppay.PayActivity"
android:configChanges="orientation|keyboardHidden|navigation|screenSize" />
<activity
android:name="com.pingplusplus.ui.PayActivity"
android:configChanges="orientation|keyboardHidden|navigation|screenSize"
android:theme="@android:style/Theme.Translucent.NoTitleBar"/>
<activity
android:name="com.pingplusplus.ui.PaySuccessActivity"
android:configChanges="orientation|keyboardHidden|navigation|screenSize"/>
</config-file>
<source-file src="src/android/PingppPlugin.java" target-dir="src/cordova/plugin/pingpp/"/>
<source-file src="sdk/android/lib/pingpp/libs/alipaySdk-20170922.jar" target-dir="libs"/>
<source-file src="sdk/android/lib/pingpp/libs/wechat-sdk-android-without-mta.jar" target-dir="libs"/>
<source-file src="sdk/android/lib/pingpp/libs/libpingpp-2.1.17.jar" target-dir="libs"/>
<source-file src="sdk/android/lib/pingpp/libs/libpingppui-1.0.2.jar" target-dir="libs"/>
<source-file src="sdk/android/lib/pingpp/libs/UPPayAssistEx.jar" target-dir="libs"/>
<source-file src="sdk/android/lib/pingpp/libs/UPPayPluginExPro.jar" target-dir="libs"/>
<source-file src="sdk/android/lib/pingpp/libs/mqqopenpay.jar" target-dir="libs"/>
<source-file src="sdk/android/lib/pingpp/libs/armeabi/libentryexpro.so" target-dir="libs/armeabi"/>
<source-file src="sdk/android/lib/pingpp/libs/armeabi/libuptsmaddon.so" target-dir="libs/armeabi"/>
<source-file src="sdk/android/lib/pingpp/libs/armeabi/libpingpp.so" target-dir="libs/armeabi"/>
<source-file src="sdk/android/lib/pingpp/libs/arm64-v8a/libuptsmaddon.so" target-dir="libs/arm64-v8a"/>
<source-file src="sdk/android/lib/pingpp/libs/arm64-v8a/libentryexpro.so" target-dir="libs/arm64-v8a"/>
<source-file src="sdk/android/lib/pingpp/libs/arm64-v8a/libpingpp.so" target-dir="libs/arm64-v8a"/>
<source-file src="sdk/android/lib/pingpp/libs/armeabi-v7a/libentryexpro.so" target-dir="libs/armeabi-v7a"/>
<source-file src="sdk/android/lib/pingpp/libs/armeabi-v7a/libuptsmaddon.so" target-dir="libs/armeabi-v7a"/>
<source-file src="sdk/android/lib/pingpp/libs/armeabi-v7a/libpingpp.so" target-dir="libs/armeabi-v7a"/>
<source-file src="sdk/android/lib/pingpp/libs/mips/libentryexpro.so" target-dir="libs/mips"/>
<source-file src="sdk/android/lib/pingpp/libs/mips/libpingpp.so" target-dir="libs/mips"/>
<source-file src="sdk/android/lib/pingpp/libs/x86/libentryexpro.so" target-dir="libs/x86"/>
<source-file src="sdk/android/lib/pingpp/libs/x86/libuptsmaddon.so" target-dir="libs/x86"/>
<source-file src="sdk/android/lib/pingpp/libs/x86/libpingpp.so" target-dir="libs/x86"/>
<source-file src="sdk/android/lib/pingpp/libs/x86_64/libuptsmaddon.so" target-dir="libs/x86_64"/>
<source-file src="sdk/android/lib/pingpp/libs/x86_64/libentryexpro.so" target-dir="libs/x86_64"/>
<source-file src="sdk/android/lib/pingpp/libs/x86_64/libpingpp.so" target-dir="libs/x86_64"/>
<source-file src="sdk/android/lib/pingpp/libs/data.bin" target-dir="assets"/>
<source-file src="sdk/android/lib/pingpp/libs/pingpp_web.html" target-dir="assets"/>
<source-file src="sdk/android/lib/pingpp/res/anim/dialog_enter.xml" target-dir="res/anim"/>
<source-file src="sdk/android/lib/pingpp/res/anim/dialog_exit.xml" target-dir="res/anim"/>
<source-file src="sdk/android/lib/pingpp/res/drawable/pingpp_back.png" target-dir="res/drawable"/>
<source-file src="sdk/android/lib/pingpp/res/drawable/tips_bg.9.png" target-dir="res/drawable"/>
<source-file src="sdk/android/lib/pingpp/res/drawable/pingpp_channel_item_selector.xml" target-dir="res/drawable"/>
<source-file src="sdk/android/lib/pingpp/res/drawable/pingpp_common_pay_button_blue.xml" target-dir="res/drawable"/>
<source-file src="sdk/android/lib/pingpp/res/drawable/pingpp_common_pay_button_green.xml" target-dir="res/drawable"/>
<source-file src="sdk/android/lib/pingpp/res/drawable/pingpp_common_pay_channel_btton.xml" target-dir="res/drawable"/>
<source-file src="sdk/android/lib/pingpp/res/drawable-xhdpi/pingpp_alipay.png" target-dir="res/drawable-xhdpi"/>
<source-file src="sdk/android/lib/pingpp/res/drawable-xhdpi/pingpp_baidu.png" target-dir="res/drawable-xhdpi"/>
<source-file src="sdk/android/lib/pingpp/res/drawable-xhdpi/pingpp_baidupay.png" target-dir="res/drawable-xhdpi"/>
<source-file src="sdk/android/lib/pingpp/res/drawable-xhdpi/pingpp_cmbkb.png" target-dir="res/drawable-xhdpi"/>
<source-file src="sdk/android/lib/pingpp/res/drawable-xhdpi/pingpp_done.png" target-dir="res/drawable-xhdpi"/>
<source-file src="sdk/android/lib/pingpp/res/drawable-xhdpi/pingpp_failed.png" target-dir="res/drawable-xhdpi"/>
<source-file src="sdk/android/lib/pingpp/res/drawable-xhdpi/pingpp_huabei.png" target-dir="res/drawable-xhdpi"/>
<source-file src="sdk/android/lib/pingpp/res/drawable-xhdpi/pingpp_jingdongpay.png" target-dir="res/drawable-xhdpi"/>
<source-file src="sdk/android/lib/pingpp/res/drawable-xhdpi/pingpp_nocard.png" target-dir="res/drawable-xhdpi"/>
<source-file src="sdk/android/lib/pingpp/res/drawable-xhdpi/pingpp_qq.png" target-dir="res/drawable-xhdpi"/>
<source-file src="sdk/android/lib/pingpp/res/drawable-xhdpi/pingpp_success.png" target-dir="res/drawable-xhdpi"/>
<source-file src="sdk/android/lib/pingpp/res/drawable-xhdpi/pingpp_unionpay.png" target-dir="res/drawable-xhdpi"/>
<source-file src="sdk/android/lib/pingpp/res/drawable-xhdpi/pingpp_unipay.png" target-dir="res/drawable-xhdpi"/>
<source-file src="sdk/android/lib/pingpp/res/drawable-xhdpi/pingpp_wechat.png" target-dir="res/drawable-xhdpi"/>
<source-file src="sdk/android/lib/pingpp/res/drawable-xhdpi/pingpp_wepay.png" target-dir="res/drawable-xhdpi"/>
<source-file src="sdk/android/lib/pingpp/res/drawable-xhdpi/pingpp_yibaopay.png" target-dir="res/drawable-xhdpi"/>
<source-file src="sdk/android/lib/pingpp/res/layout/activity_pingpp_payment.xml" target-dir="res/layout"/>
<source-file src="sdk/android/lib/pingpp/res/layout/fragment_pay_way_dialog.xml" target-dir="res/layout"/>
<source-file src="sdk/android/lib/pingpp/res/layout/pingpp_activity_pay_successed.xml" target-dir="res/layout"/>
<source-file src="sdk/android/lib/pingpp/res/layout/pingpp_activity_pay.xml" target-dir="res/layout"/>
<source-file src="sdk/android/lib/pingpp/res/layout/pingpp_bill_item.xml" target-dir="res/layout"/>
<source-file src="sdk/android/lib/pingpp/res/layout/pingpp_pay_channel_item.xml" target-dir="res/layout"/>
<source-file src="sdk/android/lib/pingpp/res/values/pingpp_colors.xml" target-dir="res/values"/>
<source-file src="sdk/android/lib/pingpp/res/values/pingpp_attrs.xml" target-dir="res/values"/>
<source-file src="sdk/android/lib/pingpp/res/values/pingpp_strings.xml" target-dir="res/values"/>
<source-file src="sdk/android/lib/pingpp/res/values/pingpp_styles.xml" target-dir="res/values"/>
</platform>
<platform name="ios">
<framework src="CFNetwork.framework" />
<framework src="SystemConfiguration.framework" />
<framework src="Security.framework" />
<framework src="QuartzCore.framework" />
<framework src="CoreTelephony.framework" />
<framework src="CoreMotion.framework" />
<framework src="CoreLocation.framework" />
<framework src="libc++.tbd" />
<framework src="libz.tbd" />
<framework src="libsqlite3.0.tbd" />
<framework src="libstdc++.tbd" />
<resource-file src="sdk/ios/lib/Channels/Alipay/AlipaySDK.bundle"/>
<framework src="sdk/ios/lib/Channels/Alipay/AlipaySDK.framework" custom="true"/>
<source-file src="sdk/ios/lib/Channels/Alipay/libpingpp+alipay.a" framework="true"/>
<source-file src="sdk/ios/lib/Channels/UnionPay/libPaymentControl.a" framework="true"/>
<source-file src="sdk/ios/lib/Channels/UnionPay/libpingpp+up.a" framework="true"/>
<resource-file src="sdk/ios/lib/Pingpp.bundle"/>
<source-file src="sdk/ios/lib/libpingppcore.a" framework="true"/>
<source-file src="sdk/ios/lib/UI/libpingpp+ui.a" framework="true"/>
<source-file src="sdk/ios/lib/Dependencies/Network/libpingpp+network.a" framework="true"/>
<header-file src="sdk/ios/lib/Pingpp.h"/>
<header-file src="sdk/ios/lib/Dependencies/Network/PingppURLResponse.h"/>
<header-file src="sdk/ios/lib/UI/Pingpp+UI.h"/>
<header-file src="src/ios/PingppPlugin.h" target-dir="PingppPlugin"/>
<source-file src="src/ios/PingppPlugin.m" target-dir="PingppPlugin"/>
<config-file target="config.xml" parent="/widget">
<feature name="PingppPlugin">
<param name="ios-package" value="PingppPlugin"/>
</feature>
<preference name="pingpp_url_scheme" value="$pingpp_url_scheme" />
</config-file>
<config-file target="*-Info.plist" parent="LSApplicationQueriesSchemes">
<array>
<string>weixin</string>
<string>wechat</string>
<string>alipay</string>
</array>
</config-file>
<config-file target="*-Info.plist" parent="CFBundleURLTypes">
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLSchemes</key>
<array>
<!-- 填写URL-SCHEME -->
<string>$pingpp_url_scheme</string>
</array>
</dict>
</array>
</config-file>
</platform>
<hook type="before_plugin_install" src="scripts/clone_pingpp_sdk.js" />
</plugin>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/0604hx/pingpp-cordova.git
[email protected]:0604hx/pingpp-cordova.git
0604hx
pingpp-cordova
pingpp-cordova
master

搜索帮助