-
-
Notifications
You must be signed in to change notification settings - Fork 850
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
ios notification is not working with title. #162
Comments
@appleboy I found reason why ios title is not working. |
@appleboy so I have just checked your source project.
or we can user subtitle of alert instead of title.
I think, gorush has to not use message field on ios platform. |
I will take it. I got the point. |
Fix #162 Fix #146 // "aps" : { // "alert" : { // "title" : "Game Request", // "body" : "Bob wants to play poker", // "action-loc-key" : "PLAY" // }, // "badge" : 5 // }, and // "aps" : { // "alert" : "You got your emails.", // "badge" : 9, // "sound" : "bingbong.aiff" // }, Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
You can try the following example: https://github.com/appleboy/gorush#ios-example "notifications": [
{
"tokens": ["token_a", "token_b"],
"platform": 1,
"badge": 5,
"alert": {
"title" : "Game Request",
"body" : "Bob wants to play poker",
"action-loc-key" : "PLAY"
}
}
] |
@appleboy perfect! I got it. |
Bumping version now. Please wait. |
And then, I have one request for gorush. |
Please let me know it is working or not. Thanks. |
@appleboy I have just checked v1.7.2 v1.7.1
v1.7.2
my request param is as follow
|
I have checked on windows version. |
@appleboy I have just checked on linux verison. |
I will try the windows version later. |
thanks, looking forward to hearing from you soon. |
one more, when i finish gorush listen service on linux, it is not finished immediately I have just pressed Ctrl+C, and i pressed several times after this. but service is not finished immediately.
If you need, I will check gorush windows version and linux version continuously in the future 👍 |
perhaps, do i need go get again? |
No, I just download the binary from https://github.com/appleboy/gorush/releases/tag/v1.7.2 You don't need to install any Go package in your windows OS. |
hahaha |
This is working.
but this is not working with title.
Merry Xmas!
Thanks for your support again
The text was updated successfully, but these errors were encountered: