1 Star 0 Fork 0

lingdu0001 / cordova-plugin-alipay

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
plugin.xml 3.11 KB
一键复制 编辑 原始数据 按行查看 历史
Kenny 提交于 2020-09-05 10:42 . test6
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-alipay" version="2.0.0" xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<name>alipay</name>
<preference name="APP_ID"/>
<js-module name="alipay" src="www/alipay.js">
<clobbers target="cordova.plugins.alipay"/>
</js-module>
<platform name="android">
<config-file parent="/*" target="res/xml/config.xml">
<feature name="alipay">
<param name="android-package" value="cn.hhjjj.alipay.alipay"/>
</feature>
</config-file>
<config-file parent="/*" target="AndroidManifest.xml">
<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"/>
</config-file>
<source-file src="src/android/alipay.java" target-dir="src/cn/hhjjj/alipay"/>
<source-file src="src/android/PayResult.java" target-dir="src/cn/hhjjj/alipay"/>
<lib-file src="src/android/lib/alipaySdk-15.7.6-20200521195109.aar" />
<framework src="src/android/alipay.gradle" custom="true" type="gradleReference"/>
</platform>
<platform name="ios">
<config-file parent="/*" target="config.xml">
<feature name="alipay">
<param name="ios-package" value="alipay"/>
</feature>
<preference name="alipayid" value="$APP_ID"/>
</config-file>
<config-file target="*-Info.plist" parent="CFBundleURLTypes">
<array>
<dict>
<key>CFBundleURLName</key>
<string>alipay</string>
<key>CFBundleURLSchemes</key>
<array>
<string>ali$APP_ID</string>
</array>
</dict>
</array>
</config-file>
<!-- Plugin source code -->
<source-file src="src/ios/alipay.h"/>
<source-file src="src/ios/alipay.m"/>
<source-file src="src/ios/AppDelegate+Alipay.h"/>
<source-file src="src/ios/AppDelegate+Alipay.m"/>
<!-- Alipay Official -->
<framework src="src/ios/lib/AlipaySDK.framework" custom="true"/>
<resource-file src="src/ios/lib/AlipaySDK.bundle"/>
<!-- Other required frameworks -->
<framework src="CoreTelephony.framework" weak="true"/>
<framework src="SystemConfiguration.framework" weak="true"/>
<framework src="CoreMotion.framework" weak="true"/>
<framework src="CFNetwork.framework" weak="true"/>
<framework src="libc++.tbd" weak="true"/>
<framework src="libz.tbd" weak="true"/>
<framework src="CoreText.framework" weak="true"/>
<framework src="CoreGraphics.framework" weak="true"/>
<framework src="UIKit.framework" weak="true"/>
<framework src="QuartzCore.framework" weak="true"/>
<framework src="Foundation.framework" weak="true"/>
</platform>
</plugin>
1
https://gitee.com/lingdu/cordova-plugin-alipay.git
git@gitee.com:lingdu/cordova-plugin-alipay.git
lingdu
cordova-plugin-alipay
cordova-plugin-alipay
master

搜索帮助