|
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.7.6"> |
| 5 | + version="3.8.0"> |
6 | 6 |
|
7 | 7 | <name>JPush</name> |
8 | 8 | <description>JPush for cordova plugin</description> |
|
49 | 49 | <source-file src="src/ios/Plugins/AppDelegate+JPush.m" /> |
50 | 50 |
|
51 | 51 | <header-file src="src/ios/lib/JPUSHService.h" /> |
52 | | - <source-file src="src/ios/lib/jpush-ios-3.3.3.a" framework="true" /> |
| 52 | + <source-file src="src/ios/lib/jpush-ios-3.5.2.a" framework="true" /> |
53 | 53 | <resource-file src="src/ios/JPushConfig.plist" /> |
54 | 54 |
|
55 | 55 | <framework src="CFNetwork.framework" weak="true" /> |
|
64 | 64 | <framework src="AdSupport.framework" weak="true" /> |
65 | 65 | <framework src="UserNotifications.framework" weak="true" /> |
66 | 66 | <framework src="libresolv.tbd" weak="true" /> |
| 67 | + <framework src="StoreKit.framework" weak="true" /> |
67 | 68 |
|
68 | 69 | <config-file target="*JPushConfig.plist" parent="Appkey"> |
69 | 70 | <string>$APP_KEY</string> |
|
105 | 106 | <uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" /> |
106 | 107 | <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" /> |
107 | 108 | <uses-permission android:name="android.permission.GET_TASKS" /> |
| 109 | + <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES"/> |
108 | 110 |
|
109 | 111 | <!--华为角标--> |
110 | 112 | <uses-permission android:name="com.huawei.android.launcher.permission.CHANGE_BADGE "/> |
|
204 | 206 | <receiver android:name="cn.jpush.android.service.SchedulerReceiver" android:exported="false"/> |
205 | 207 |
|
206 | 208 | <!--since 3.3.0 接收JPush相关事件--> |
207 | | - <receiver android:name="cn.jiguang.cordova.push.JPushEventReceiver"> |
| 209 | + <receiver android:name="cn.jiguang.cordova.push.JPushEventReceiver" |
| 210 | + android:exported="false"> |
208 | 211 | <intent-filter> |
209 | 212 | <action android:name="cn.jpush.android.intent.RECEIVE_MESSAGE" /> |
210 | 213 | <category android:name="$PACKAGE_NAME"></category> |
|
227 | 230 | <!-- 可配置android:process参数将PushService放在其他进程中 --> |
228 | 231 | <!--User defined. For test only 继承自cn.jpush.android.service.JCommonService--> |
229 | 232 | <service android:name="cn.jiguang.cordova.push.PushService" |
230 | | - android:process=":pushcore"> |
| 233 | + android:process=":pushcore" |
| 234 | + android:exported="false"> |
231 | 235 | <intent-filter> |
232 | 236 | <action android:name="cn.jiguang.user.service.action" /> |
233 | 237 | </intent-filter> |
|
255 | 259 |
|
256 | 260 | </config-file> |
257 | 261 |
|
258 | | - <lib-file src="src/android/libs/jpush-android-3.6.6.jar" /> |
| 262 | + <lib-file src="src/android/libs/jpush-android-4.1.0.jar" /> |
259 | 263 |
|
260 | 264 | <source-file src="src/android/PushService.java" target-dir="src/cn/jiguang/cordova/push" /> |
261 | 265 | <source-file src="src/android/JPushPlugin.java" target-dir="src/cn/jiguang/cordova/push" /> |
|
266 | 270 | target="res/drawable/jpush_richpush_btn_selector.xml" /> |
267 | 271 | <resource-file src="src/android/res/drawable-hdpi/jpush_richpush_progressbar.xml" |
268 | 272 | target="res/drawable/jpush_richpush_progressbar.xml" /> |
269 | | - |
270 | 273 | <resource-file src="src/android/res/drawable-hdpi/jpush_ic_richpush_actionbar_back.png" |
271 | 274 | target="res/drawable-hdpi/jpush_ic_richpush_actionbar_back.png" /> |
272 | 275 | <resource-file src="src/android/res/drawable-hdpi/jpush_ic_richpush_actionbar_divider.png" |
273 | 276 | target="res/drawable-hdpi/jpush_ic_richpush_actionbar_divider.png" /> |
| 277 | + <resource-file src="src/android/res/drawable-hdpi/jpush_ic_action_cancle.png" |
| 278 | + target="res/drawable-hdpi/jpush_ic_action_cancle.png" /> |
| 279 | + <resource-file src="src/android/res/drawable-hdpi/jpush_ic_action_close.png" |
| 280 | + target="res/drawable-hdpi/jpush_ic_action_close.png" /> |
| 281 | + <resource-file src="src/android/res/drawable-hdpi/jpush_ic_action_close2.png" |
| 282 | + target="res/drawable-hdpi/jpush_ic_action_close2.png" /> |
274 | 283 |
|
275 | 284 | <resource-file src="src/android/res/layout/jpush_popwin_layout.xml" |
276 | 285 | target="res/layout/jpush_popwin_layout.xml" /> |
277 | 286 | <resource-file src="src/android/res/layout/jpush_webview_layout.xml" |
278 | 287 | target="res/layout/jpush_webview_layout.xml" /> |
279 | 288 | <resource-file src="src/android/res/layout/push_notification.xml" |
280 | 289 | target="res/layout/push_notification.xml" /> |
| 290 | + <resource-file src="src/android/res/layout/push_notification_large.xml" |
| 291 | + target="res/layout/push_notification_large.xml" /> |
| 292 | + <resource-file src="src/android/res/layout/push_notification_middle.xml" |
| 293 | + target="res/layout/push_notification_middle.xml" /> |
| 294 | + <resource-file src="src/android/res/layout/jpush_inapp_banner.xml" |
| 295 | + target="res/layout/jpush_inapp_banner.xml" /> |
| 296 | + |
281 | 297 | <resource-file src="src/android/res/layout-v21/push_notification.xml" |
282 | 298 | target="res/layout-v21/push_notification.xml" /> |
| 299 | + <resource-file src="src/android/res/layout-v21/push_notification_middle.xml" |
| 300 | + target="res/layout-v21/push_notification_middle.xml" /> |
| 301 | + <resource-file src="src/android/res/layout-v21/push_notification_large.xml" |
| 302 | + target="res/layout-v21/push_notification_large.xml" /> |
283 | 303 |
|
284 | 304 | <resource-file src="src/android/res/values/jpush_style.xml" |
285 | 305 | target="res/values/jpush_style.xml" /> |
|
0 commit comments