status-go/protocol/pushnotificationclient
Andrea Maria Piana 2ef1aa89f4
Handle connection change
Currently messenger has no notion of being online.
This might cause a problem as we retry to register with a push
notification server even if not connected to any peer, which will
inevitably fail.
This commit adds a method `handleConnectionChange` that will be called
every time the connection change state.
2020-08-27 18:54:31 +02:00
..
migrations Enabled push notifications by default and add fleet 2020-08-27 18:54:06 +02:00
client.go Handle connection change 2020-08-27 18:54:31 +02:00
client_test.go invalidate token if allow from contacts only has been enabled 2020-08-18 16:29:30 +02:00
persistence.go Enabled push notifications by default and add fleet 2020-08-27 18:54:06 +02:00
persistence_test.go Polish up and address review feedback 2020-07-27 08:51:28 +02:00