Last active
October 25, 2019 09:26
-
-
Save Zeta55/c3f857c51a4b80de85ae63dacbe0fa00 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"message": { | |
"token": "<device_token>", // send push to particular device | |
"channel": "<channel_id>", // or to channel | |
"data": { | |
"title": "Hello baby!", | |
"body": "This is my first notification ..." | |
"<custom_key1>": "<custom_value1>", | |
"<custom_key2>": "<custom_value2>", | |
"<custom_key3>": "<custom_value3>" | |
}, | |
"priority": “high”, // (optional) for real-time delivery | |
"restricted_package_name": “com.mycompany.myapp”, // (optional) to deliver only to particular stage eg. com.mycompany.myapp.alpha, com.mycompany.myapp.beta, or without suffix for production com.mycompany.myapp | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment