-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathplugin.xml
171 lines (140 loc) · 10.1 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
<?xml version='1.0' encoding='utf-8'?>
<plugin xmlns:android="http://schemas.android.com/apk/res/android"
id="jg-jverification-cordova-plugin" version="1.3.2"
xmlns="http://apache.org/cordova/ns/plugins/1.0">
<name>JVerification-cordova-plugin</name>
<!-- dependencies -->
<dependency id="cordova-plugin-device" />
<dependency id="cordova-plugin-jcore"/>
<preference name="APP_KEY" />
<preference name="CHANNEL" default="developer-default" />
<js-module name="JGJVerificationPlugin" src="www/JG-JVerification-cordova-plugin.js">
<clobbers target="JGJVerificationPlugin" />
</js-module>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="JGJVerificationPlugin">
<param name="ios-package" value="JVerificationPlugin"/>
</feature>
</config-file>
<header-file src="src/ios/JVERIFICATIONService.h"/>
<header-file src="src/ios/JVerificationPlugin.h"/>
<source-file src="src/ios/JVerificationPlugin.m"/>
<source-file src="src/ios/jverification-ios-2.7.6.a" framework="true" />
<resource-file src="src/ios/JVerificationConfig.plist" />
<resource-file src="src/ios/JVerificationResource.bundle" />
<framework src="src/ios/TYRZUISDK.framework" custom="true" />
<framework src="src/ios/EAccountApiSDK.framework" custom="true" />
<framework src="src/ios/OAuth.framework" custom="true" />
<framework src="src/ios/account_verify_sdk_core.framework" custom="true" />
<framework src="src/ios/account_login_sdk_noui_core.framework" custom="true" />
<framework src="AdSupport.framework" weak="true" />
<framework src="CoreLocation.framework" weak="true" />
<framework src="CFNetwork.framework" weak="true" />
<framework src="CoreFoundation.framework" weak="true" />
<framework src="CoreTelephony.framework" weak="true" />
<framework src="SystemConfiguration.framework" weak="true" />
<framework src="Security.framework" weak="true" />
<framework src="CoreGraphics.framework" weak="true" />
<framework src="MobileCoreServices.framework" weak="true" />
<framework src="account_verify_sdk_core.framework" weak="true" />
<framework src="AVFoundation.framework" weak="true" />
<framework src="TYRZUISDK.framework" weak="true" />
<framework src="account_login_sdk_noui_core.framework" weak="true" />
<framework src="EAccountApiSDK.framework" weak="true" />
<framework src="OAuth.framework" weak="true" />
<framework src="Network.framework" weak="true" />
<framework src="libresolv.tbd" />
<framework src="libz.tbd" />
<framework src="libc++.1.tbd" />
<framework src="libsqlite3.tbd" />
<config-file target="*JVerificationConfig.plist" parent="Appkey">
<string>$APP_KEY</string>
</config-file>
</platform>
<platform name="android">
<config-file parent="/*" target="res/xml/config.xml">
<feature name="JGJVerificationPlugin">
<param name="android-package"
value="cn.jiguang.cordova.verification.JVerificationPlugin" />
</feature>
</config-file>
<config-file parent="/manifest" target="AndroidManifest.xml">
<!-- Required -->
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<!-- Optional -->
<uses-permission
android:name="android.permission.SYSTEM_ALERT_WINDOW" /> <!-- 用于开启 debug 版本的应用在6.0 系统上 层叠窗口权限 -->
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<uses-permission android:name="android.permission.GET_TASKS" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
</config-file>
<config-file parent="/manifest/application" target="AndroidManifest.xml">
<!-- since 2.0.0 optional 可选项,使用一键登录功能必须添加 -->
<!-- since 2.1.1 optional 可选项,通过screenOrientation设置授权页面横竖屏展示 -->
<activity
android:name="com.cmic.sso.sdk.activity.OAuthActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:screenOrientation="unspecified"
android:launchMode="singleTop">
</activity>
<!-- since 2.0.0 optional 可选项,使用一键登录功能必须添加 -->
<!-- since 2.1.1 optional 可选项,通过screenOrientation设置授权页面横竖屏展示 -->
<activity
android:name="com.cmic.sso.sdk.activity.LoginAuthActivity"
android:theme="@style/ActivityDialogStyle"
android:configChanges="orientation|keyboardHidden|screenSize"
android:screenOrientation="unspecified"
android:launchMode="singleTop">
</activity>
<!-- since 2.0.0 optional 可选项,使用一键登录功能必须添加 -->
<!-- since 2.1.1 optional 可选项,通过screenOrientation设置授权页面横竖屏展示 -->
<activity android:name="cn.jiguang.verifysdk.CtLoginActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:theme="@style/ActivityDialogStyle"
android:screenOrientation="unspecified"
android:launchMode="singleTop">
</activity>
<!-- Required -->
<meta-data android:name="JPUSH_APPKEY" android:value="$APP_KEY" />
<meta-data android:name="JPUSH_CHANNEL" android:value="$CHANNEL" />
</config-file>
<resource-file src="src/android/libs/arm64-v8a/libCtaApiLib.so" target="jniLibs/arm64-v8a/libCtaApiLib.so"/>
<resource-file src="src/android/libs/armeabi/libCtaApiLib.so" target="jniLibs/armeabi/libCtaApiLib.so"/>
<resource-file src="src/android/libs/armeabi-v7a/libCtaApiLib.so" target="jniLibs/armeabi-v7a/libCtaApiLib.so"/>
<resource-file src="src/android/libs/x86/libCtaApiLib.so" target="jniLibs/x86/libCtaApiLib.so"/>
<resource-file src="src/android/libs/x86_64/libCtaApiLib.so" target="jniLibs/x86_64/libCtaApiLib.so"/>
<lib-file src="src/android/libs/jverification-android-release-2.6.3.jar" />
<source-file src="src/android/cn/jiguang/cordova/verification/JVerificationPlugin.java"
target-dir="src/cn/jiguang/cordova/verification/" />
<resource-file src="src/android/res/anim/umcsdk_anim_loading.xml" target="res/anim/umcsdk_anim_loading.xml"/>
<resource-file src="src/android/res/values/styles.xml" target="res/values/styles.xml"/>
<resource-file src="src/android/res/drawable/dialog_bg.xml" target="res/drawable/dialog_bg.xml"/>
<resource-file src="src/android/res/drawable/umcsdk_get_smscode_btn_bg.xml" target="res/drawable/umcsdk_get_smscode_btn_bg.xml"/>
<resource-file src="src/android/res/drawable/umcsdk_login_btn_bg.xml" target="res/drawable/umcsdk_login_btn_bg.xml"/>
<resource-file src="src/android/res/drawable-xxhdpi/umcsdk_check_image.png" target="res/drawable-xxhdpi/umcsdk_check_image.png"/>
<resource-file src="src/android/res/drawable-xxhdpi/umcsdk_exception_bg.9.png" target="res/drawable-xxhdpi/umcsdk_exception_bg.9.png"/>
<resource-file src="src/android/res/drawable-xxhdpi/umcsdk_exception_icon.png" target="res/drawable-xxhdpi/umcsdk_exception_icon.png"/>
<resource-file src="src/android/res/drawable-xxhdpi/umcsdk_load_complete_w.png" target="res/drawable-xxhdpi/umcsdk_load_complete_w.png"/>
<resource-file src="src/android/res/drawable-xxhdpi/umcsdk_load_dot_white.png" target="res/drawable-xxhdpi/umcsdk_load_dot_white.png"/>
<resource-file src="src/android/res/drawable-xxhdpi/umcsdk_login_btn_normal.png" target="res/drawable-xxhdpi/umcsdk_login_btn_normal.png"/>
<resource-file src="src/android/res/drawable-xxhdpi/umcsdk_login_btn_press.png" target="res/drawable-xxhdpi/umcsdk_login_btn_press.png"/>
<resource-file src="src/android/res/drawable-xxhdpi/umcsdk_login_btn_unable.png" target="res/drawable-xxhdpi/umcsdk_login_btn_unable.png"/>
<resource-file src="src/android/res/drawable-xxhdpi/umcsdk_mobile_logo.png" target="res/drawable-xxhdpi/umcsdk_mobile_logo.png"/>
<resource-file src="src/android/res/drawable-xxhdpi/umcsdk_return_bg.png" target="res/drawable-xxhdpi/umcsdk_return_bg.png"/>
<resource-file src="src/android/res/drawable-xxhdpi/umcsdk_shape_input.png" target="res/drawable-xxhdpi/umcsdk_shape_input.png"/>
<resource-file src="src/android/res/drawable-xxhdpi/umcsdk_sms_normal.png" target="res/drawable-xxhdpi/umcsdk_sms_normal.png"/>
<resource-file src="src/android/res/drawable-xxhdpi/umcsdk_sms_press.png" target="res/drawable-xxhdpi/umcsdk_sms_press.png"/>
<resource-file src="src/android/res/drawable-xxhdpi/umcsdk_sms_unable.png" target="res/drawable-xxhdpi/umcsdk_sms_unable.png"/>
<resource-file src="src/android/res/drawable-xxhdpi/umcsdk_toast_bg.png" target="res/drawable-xxhdpi/umcsdk_toast_bg.png"/>
<resource-file src="src/android/res/drawable-xxhdpi/umcsdk_uncheck_image.png" target="res/drawable-xxhdpi/umcsdk_uncheck_image.png"/>
<resource-file src="src/android/assets/cucc/host_cucc.properties" target="assets/cucc/host_cucc.properties"/>
</platform>
</plugin>