support rich push.

This commit is contained in:
Hevin
2016-05-13 10:49:36 +08:00
parent 1f2499a893
commit 4ed844e0c5
10 changed files with 124 additions and 3 deletions
+4
View File
@@ -30,6 +30,10 @@ public class MyReceiver extends BroadcastReceiver {
handlingNotificationReceive(context, intent);
} else if (JPushInterface.ACTION_NOTIFICATION_OPENED.equals(action)) {
handlingNotificationOpen(context, intent);
} else if (JPushInterface.ACTION_RICHPUSH_CALLBACK.equals(action)) {
// 当在 HTML 页面中调用 JPushWeb.triggerNativeAction(String params) 方法时触发此方法,
// 再进行相关的操作。
} else {
Log.d(TAG, "Unhandled intent - " + action);
}