mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2025-02-12 22:52:50 +08:00
commit
87808d953a
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "jpush-phonegap-plugin",
|
"name": "jpush-phonegap-plugin",
|
||||||
"version": "5.0.3",
|
"version": "5.2.0",
|
||||||
"description": "JPush for cordova plugin",
|
"description": "JPush for cordova plugin",
|
||||||
"cordova": {
|
"cordova": {
|
||||||
"id": "jpush-phonegap-plugin",
|
"id": "jpush-phonegap-plugin",
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
|
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
id="jpush-phonegap-plugin"
|
id="jpush-phonegap-plugin"
|
||||||
version="3.8.6">
|
version="5.2.0">
|
||||||
|
|
||||||
<name>JPush</name>
|
<name>JPush</name>
|
||||||
<description>JPush for cordova plugin</description>
|
<description>JPush for cordova plugin</description>
|
||||||
@ -170,13 +170,13 @@
|
|||||||
<receiver android:name="cn.jpush.android.service.SchedulerReceiver" android:exported="false"/>
|
<receiver android:name="cn.jpush.android.service.SchedulerReceiver" android:exported="false"/>
|
||||||
|
|
||||||
<!--since 3.3.0 接收JPush相关事件-->
|
<!--since 3.3.0 接收JPush相关事件-->
|
||||||
<receiver android:name="cn.jiguang.cordova.push.JPushEventReceiver"
|
<service android:name="cn.jiguang.cordova.push.JPushEventReceiver"
|
||||||
android:exported="false">
|
android:exported="false">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="cn.jpush.android.intent.RECEIVE_MESSAGE" />
|
<action android:name="cn.jpush.android.intent.RECEIVE_MESSAGE" />
|
||||||
<category android:name="$PACKAGE_NAME"></category>
|
<category android:name="$PACKAGE_NAME"></category>
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</receiver>
|
</service>
|
||||||
|
|
||||||
<!--since 3.3.0 Required SDK核心功能-->
|
<!--since 3.3.0 Required SDK核心功能-->
|
||||||
|
|
||||||
@ -242,7 +242,7 @@
|
|||||||
android:name="cn.jpush.android.service.InitProvider"></provider>
|
android:name="cn.jpush.android.service.InitProvider"></provider>
|
||||||
</config-file>
|
</config-file>
|
||||||
|
|
||||||
<lib-file src="src/android/libs/jpush-android-5.0.3.jar" />
|
<lib-file src="src/android/libs/jpush-android-5.2.0.jar" />
|
||||||
|
|
||||||
<source-file src="src/android/PushService.java" target-dir="src/cn/jiguang/cordova/push" />
|
<source-file src="src/android/PushService.java" target-dir="src/cn/jiguang/cordova/push" />
|
||||||
<source-file src="src/android/JPushPlugin.java" target-dir="src/cn/jiguang/cordova/push" />
|
<source-file src="src/android/JPushPlugin.java" target-dir="src/cn/jiguang/cordova/push" />
|
||||||
|
@ -15,9 +15,9 @@ import cn.jpush.android.api.CustomMessage;
|
|||||||
import cn.jpush.android.api.JPushMessage;
|
import cn.jpush.android.api.JPushMessage;
|
||||||
import cn.jpush.android.api.NotificationMessage;
|
import cn.jpush.android.api.NotificationMessage;
|
||||||
import cn.jpush.android.helper.Logger;
|
import cn.jpush.android.helper.Logger;
|
||||||
import cn.jpush.android.service.JPushMessageReceiver;
|
import cn.jpush.android.service.JPushMessageService;
|
||||||
|
|
||||||
public class JPushEventReceiver extends JPushMessageReceiver {
|
public class JPushEventReceiver extends JPushMessageService {
|
||||||
|
|
||||||
private static final String TAG = JPushEventReceiver.class.getSimpleName();
|
private static final String TAG = JPushEventReceiver.class.getSimpleName();
|
||||||
|
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user