mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-21 08:55:42 +03:00
Make the app react to test push
This commit is contained in:
parent
e926326fca
commit
d1fb1614a3
2 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ curl -H "Authorization: key=$SERVER_KEY" \
|
|||
read -p "Enter the FCM token: " FCM_TOKEN
|
||||
|
||||
# content of the notification
|
||||
DATA="{\"message\":\"Message of PUSH!\"}"
|
||||
DATA='{"event_id":"$THIS_IS_A_FAKE_EVENT_ID"}'
|
||||
|
||||
echo
|
||||
echo
|
||||
|
|
|
@ -32,7 +32,7 @@ curl -H "Authorization: key=$SERVER_KEY" \
|
|||
# {"multicast_id":5978845027639121780,"success":0,"failure":1,"canonical_ids":0,"results":[{"error":"InvalidRegistration"}]}
|
||||
|
||||
# content of the notification
|
||||
DATA="{\"message\":\"Message of PUSH!\"}"
|
||||
DATA='{"event_id":"$THIS_IS_A_FAKE_EVENT_ID"}'
|
||||
|
||||
echo
|
||||
echo
|
||||
|
|
Loading…
Reference in a new issue