-
Notifications
You must be signed in to change notification settings - Fork 777
Push notifications
Overtorment edited this page Sep 7, 2021
·
3 revisions
- go to
settings->network->notifications
and tap 10 times onGround Control to Major Tom
- token info should appear. tap it to copy it in clipboard, and save it somewhere
- open swagger editor of groundcontrol's openapi schema, if not moved should be here: https://editor.swagger.io/?url=https://raw.githubusercontent.com/BlueWallet/GroundControl/master/openapi.yaml
- in
Servers
dropdown choose production instance - scroll to
/enqueue
call and click it. clickTry it out
- put a valid json in text area and click
Execute
- note the
Server response
, should be 200, with no errors thrown - push should arrive on your device
- if no push arrived check out https://groundcontrol-bluewallet.herokuapp.com, if
send_queue_size
is not zero then groundcontrol haven't yet processed your push
we have 4 pushtypes. an example of valid json for pushtype 1 would be:
{
"type": 1,
"token": "dXqMjJ_BSWuGLvKdbuSqUh:APA91bFcmvYJk_SF8qFBK8xm1qLx2x7uqt8fPpJesRXynq23DFxLKEL8KTe7ZXtPmnLGHlKmYpqOexJ0aNQXZOTP24LM_DLgeyqpb4hP2vna0I59GEc1RMTTKEzHrCVws1ON4rORby8r",
"os": "android",
"badge": 0,
"level": "transactions",
"sat": 666,
"hash":"hash",
"memo": "ololo"
}