|
|
@ -155,7 +155,7 @@ public class JPushServer { |
|
|
|
ClientConfig clientConfig = ClientConfig.getInstance(); |
|
|
|
final JPushClient jpushClient = new JPushClient(MASTER_SECRET, APP_KEY, null, clientConfig); |
|
|
|
|
|
|
|
final PushPayload payload = buildPushObject_android_and_iosAlias(title, content, URIACTIVITY, extras, alias); |
|
|
|
final PushPayload payload = buildPushObject_android_and_iosAlias(title, content, "com.anrui.android.activity.ReadActivity", extras, alias); |
|
|
|
try { |
|
|
|
PushResult result = jpushClient.sendPush(payload); |
|
|
|
System.out.println("Got result - " + result); |
|
|
|