Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
open-source
/
push-platform-service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a72f659c
authored
Apr 12, 2021
by
fz
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1.友盟android离线推送跳转activity设置
1 parent
ec4e69c7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
src/main/java/com/glsx/modules/notify/push/BroadCastService.java
src/main/java/com/glsx/modules/notify/push/BroadCastService.java
View file @
a72f659
...
...
@@ -31,9 +31,15 @@ public class BroadCastService {
String
activity
=
baseRequest
.
getActivity
();
if
(
StringUtils
.
isEmpty
(
activity
))
customizedcast
.
goAppAfterOpen
();
else
else
{
customizedcast
.
goActivityAfterOpen
(
activity
);
//todo 厂商通道相关参数
customizedcast
.
setChannelActivity
(
activity
);
//customizedcast.setChannelProperties("abc");
}
customizedcast
.
setDisplayType
(
AndroidNotification
.
DisplayType
.
NOTIFICATION
);
// TODO Set 'production_mode' to 'false' if it's a test device.
// For how to register a test device, please see the developer doc.
...
...
@@ -42,9 +48,6 @@ public class BroadCastService {
else
customizedcast
.
setProductionMode
();
//todo 厂商通道相关参数
customizedcast
.
setChannelActivity
(
"your channel activity"
);
customizedcast
.
setChannelProperties
(
"abc"
);
return
client
.
send
(
customizedcast
);
}
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment