gorush: ios notification is not working with title.

{
  "notifications": [
    {
      "tokens": ["token_a", "token_b"],
      "platform": 1,
      "message": "Hello World iOS!"
    }
  ]
}

This is working.

"notifications": [
    {
      "tokens": ["token_a", "token_b"],
      "platform": 1,
      "message": "Hello World iOS!",
      "title": "You got message"
    }
  ]

but this is not working with title.

Merry Xmas! Thanks for your support again

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 20 (9 by maintainers)

Commits related to this issue

Most upvoted comments

hahaha @appleboy window version is working fine. I checked with gorush-v1.7.2-windows-386.exe before. sorry for now,

Bumping version now. Please wait.

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"
      }
    }
  ]

I will try the windows version later.