-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplugin.xml
77 lines (67 loc) · 3.33 KB
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<?xml version="1.0" encoding="utf-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-alipay"
version="0.0.1">
<name>AlipayPlugin</name>
<description>支付宝支付插件</description>
<license>Apache 2.0</license>
<keywords>alipay,payment</keywords>
<js-module src="www/aliPay.js" name="aliPay">
<clobbers target="aliPay"/>
</js-module>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="AliPay">
<param name="android-package" value="org.easycloud.alipay.AliPayPlugin"/>
<param name="onload" value="true"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity
android:name="com.alipay.sdk.app.H5PayActivity"
android:configChanges="orientation|keyboardHidden|navigation"
android:exported="false"
android:screenOrientation="behind">
</activity>
<activity
android:name="com.alipay.sdk.auth.AuthActivity"
android:configChanges="orientation|keyboardHidden|navigation"
android:exported="false"
android:screenOrientation="behind">
</activity>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<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"/>
</config-file>
<source-file src="src/android/libs/alipaySdk-20160825.jar" target-dir="libs" framework="true" />
<source-file src="src/android/AliPayPlugin.java" target-dir="src/org/easycloud/alipay"/>
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/widget">
<feature name="AliPay">
<param name="ios-package" value="AliPayPlugin"/>
<param name="onload" value="true"/>
</feature>
</config-file>
<framework src="CoreMotion.framework" weak="true"/>
<framework src="CFNetwork.framework" weak="true"/>
<framework src="Foundation.framework" weak="true"/>
<framework src="UIKit.framework" weak="true"/>
<framework src="CoreGraphics.framework" weak="true"/>
<framework src="CoreText.framework" weak="true"/>
<framework src="QuartzCore.framework" weak="true"/>
<framework src="CoreTelephony.framework" weak="true"/>
<framework src="SystemConfiguration.framework" weak="true"/>
<framework src="libz.tbd"/>
<framework src="libc++.tbd"/>
<framework src="src/ios/libs/AlipaySDK.framework" custom="true"/>
<framework src="src/ios/libs/AlipaySDK.bundle" custom="true"/>
<header-file src="src/ios/AliPayPlugin.h"/>
<source-file src="src/ios/AliPayPlugin.m"/>
</platform>
</plugin>