Commit a72f659c by fz

1.友盟android离线推送跳转activity设置

1 parent ec4e69c7
...@@ -31,9 +31,15 @@ public class BroadCastService { ...@@ -31,9 +31,15 @@ public class BroadCastService {
String activity = baseRequest.getActivity(); String activity = baseRequest.getActivity();
if (StringUtils.isEmpty(activity)) if (StringUtils.isEmpty(activity))
customizedcast.goAppAfterOpen(); customizedcast.goAppAfterOpen();
else else{
customizedcast.goActivityAfterOpen(activity); customizedcast.goActivityAfterOpen(activity);
//todo 厂商通道相关参数
customizedcast.setChannelActivity(activity);
//customizedcast.setChannelProperties("abc");
}
customizedcast.setDisplayType(AndroidNotification.DisplayType.NOTIFICATION); customizedcast.setDisplayType(AndroidNotification.DisplayType.NOTIFICATION);
// TODO Set 'production_mode' to 'false' if it's a test device. // TODO Set 'production_mode' to 'false' if it's a test device.
// For how to register a test device, please see the developer doc. // For how to register a test device, please see the developer doc.
...@@ -42,9 +48,6 @@ public class BroadCastService { ...@@ -42,9 +48,6 @@ public class BroadCastService {
else else
customizedcast.setProductionMode(); customizedcast.setProductionMode();
//todo 厂商通道相关参数
customizedcast.setChannelActivity("your channel activity");
customizedcast.setChannelProperties("abc");
return client.send(customizedcast); return client.send(customizedcast);
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!