|
2 | 2 | <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" |
3 | 3 | xmlns:android="http://schemas.android.com/apk/res/android" |
4 | 4 | id="jpush-phonegap-plugin" |
5 | | - version="3.0.2"> |
| 5 | + version="3.0.3"> |
6 | 6 |
|
7 | 7 | <name>JPush Plugin</name> |
8 | 8 | <description>JPush for cordova plugin</description> |
9 | 9 | <author>JPush</author> |
10 | 10 | <keywords>JPush,push</keywords> |
11 | 11 | <license>MIT License</license> |
12 | 12 |
|
13 | | - <preference name="API_KEY" /> |
| 13 | + <preference name="APP_KEY" /> |
14 | 14 |
|
15 | 15 | <engines> |
16 | 16 | <engine name="cordova" version=">=3.0" /> |
|
39 | 39 | <header-file src="src/ios/lib/JPUSHService.h" /> |
40 | 40 | <source-file src="src/ios/lib/jpush-ios-3.0.0.a" framework="true" /> |
41 | 41 | <source-file src="src/ios/lib/jcore-ios-1.0.0.a" framework="true" /> |
42 | | - <resource-file src="src/ios/PushConfig.plist" /> |
| 42 | + <resource-file src="src/ios/JPushConfig.plist" /> |
43 | 43 |
|
44 | 44 | <framework src="CFNetwork.framework" weak="true" /> |
45 | 45 | <framework src="CoreFoundation.framework" weak="true" /> |
|
54 | 54 | <framework src="UserNotifications.framework" weak="true" /> |
55 | 55 | <framework src="libresolv.tbd" weak="true" /> |
56 | 56 |
|
57 | | - |
58 | | - <config-file target="*PushConfig.plist" parent="Appkey"> |
59 | | - <string>$API_KEY</string> |
| 57 | + <config-file target="*JPushConfig.plist" parent="Appkey"> |
| 58 | + <string>$APP_KEY</string> |
60 | 59 | </config-file> |
61 | 60 | </platform> |
62 | 61 |
|
|
81 | 80 | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
82 | 81 | <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" /> |
83 | 82 | <uses-permission android:name="android.permission.WRITE_SETTINGS" /> |
84 | | - <permission android:name="$PACKAGE_NAME.permission.JPUSH_MESSAGE" android:protectionLevel="signature" /> |
| 83 | + <permission android:name="$PACKAGE_NAME.permission.JPUSH_MESSAGE" |
| 84 | + android:protectionLevel="signature" /> |
85 | 85 | </config-file> |
| 86 | + |
86 | 87 | <config-file target="AndroidManifest.xml" parent="/manifest/application"> |
87 | 88 | <!-- Required SDK核心功能--> |
88 | 89 | <activity android:name="cn.jpush.android.ui.PushActivity" |
|
140 | 141 |
|
141 | 142 | <!-- since 1.8.0 option 可选项。用于同一设备中不同应用的JPush服务相互拉起的功能。 --> |
142 | 143 | <!-- 若不启用该功能可删除该组件,将不拉起其他应用也不能被其他应用拉起 --> |
143 | | - <service android:name="cn.jpush.android.service.DaemonService" android:enabled="true" android:exported="true"> |
| 144 | + <service android:name="cn.jpush.android.service.DaemonService" |
| 145 | + android:enabled="true" |
| 146 | + android:exported="true"> |
144 | 147 | <intent-filter> |
145 | 148 | <action android:name="cn.jpush.android.intent.DaemonService" /> |
146 | 149 | <category android:name="$PACKAGE_NAME" /> |
|
173 | 176 | <receiver android:name="cn.jpush.android.service.AlarmReceiver" /> |
174 | 177 | <!-- Required. Enable it you can get statistics data with channel --> |
175 | 178 | <meta-data android:name="JPUSH_CHANNEL" android:value="developer-default" /> |
176 | | - <meta-data android:name="JPUSH_APPKEY" android:value="$API_KEY" /> |
| 179 | + <meta-data android:name="JPUSH_APPKEY" android:value="$APP_KEY" /> |
177 | 180 | </config-file> |
178 | 181 |
|
179 | | - <source-file src="src/android/libs/jpush-android_v3.0.0.jar" target-dir="libs" /> |
180 | | - <source-file src="src/android/libs/jcore-android_v1.0.0.jar" target-dir="libs" /> |
181 | | - <source-file src="src/android/libs/armeabi/libjcore100.so" target-dir="libs/armeabi" /> |
182 | | - <source-file src="src/android/libs/armeabi-v7a/libjcore100.so" target-dir="libs/armeabi-v7a" /> |
183 | | - <source-file src="src/android/libs/arm64-v8a/libjcore100.so" target-dir="libs/arm64-v8a" /> |
184 | | - <source-file src="src/android/libs/x86/libjcore100.so" target-dir="libs/x86" /> |
185 | | - <source-file src="src/android/libs/x86_64/libjcore100.so" target-dir="libs/x86_64" /> |
| 182 | + <source-file src="src/android/libs/jpush-android_v3.0.1.jar" target-dir="libs" /> |
| 183 | + <source-file src="src/android/libs/jcore-android_v1.1.0.jar" target-dir="libs" /> |
| 184 | + <source-file src="src/android/libs/armeabi/libjcore110.so" target-dir="libs/armeabi" /> |
| 185 | + <source-file src="src/android/libs/armeabi-v7a/libjcore110.so" target-dir="libs/armeabi-v7a" /> |
| 186 | + <source-file src="src/android/libs/arm64-v8a/libjcore110.so" target-dir="libs/arm64-v8a" /> |
| 187 | + <source-file src="src/android/libs/x86/libjcore110.so" target-dir="libs/x86" /> |
| 188 | + <source-file src="src/android/libs/x86_64/libjcore110.so" target-dir="libs/x86_64" /> |
186 | 189 |
|
187 | 190 | <source-file src="src/android/MyReceiver.java" target-dir="src/cn/jpush/phonegap" /> |
188 | 191 | <source-file src="src/android/JPushPlugin.java" target-dir="src/cn/jpush/phonegap" /> |
|
0 commit comments