Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] push err. i tried jpush, title and desc is on the contrary,and desc is not Effective #2540

Open
pokid opened this issue Aug 20, 2024 · 3 comments
Labels
bug Categorizes issue or PR as related to a bug.

Comments

@pokid
Copy link

pokid commented Aug 20, 2024

OpenIM Server Version

3.8

Operating System and CPU Architecture

Linux (AMD)

Deployment Method

Docker Deployment

Bug Description and Steps to Reproduce

i use flutter sdk and jpns to push.
i find title show in content,and desc not show
my code like this
image
and push show like this. title "Flutter stu" is my app name. it just show "title"
image

Screenshots Link

No response

@pokid pokid added the bug Categorizes issue or PR as related to a bug. label Aug 20, 2024
@pokid
Copy link
Author

pokid commented Aug 20, 2024

and i found sever err,but i can truely send and receive offline push.very strange

image

@pokid
Copy link
Author

pokid commented Aug 20, 2024

anothor question:where server extras only support "clientMsgID". may be this place misses some params?
image

@pokid
Copy link
Author

pokid commented Aug 21, 2024

hi ,i think i found the problem.
the "alert" and "extras" is not only a "string" ,it can be a dictionary,such as a json object.
i tried use a json string,but it cant valid.
i think we should change the field "alert" and "extras" to object ,not string ,then request jpush server.
as also as the client sdk, i used flutter sdk,it also use "string".
image
image
this is the jpush example
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

1 participant