go-push-receiver
go-push-receiver copied to clipboard
How to receive new notifications only.
i've setup the listener and its working, the only issue is that whenever I restart the program the client.Events channel keeps getting filled with old notifications that ive already seen on the previous run. is there a way to either offset the messasges or only receive the pushes that come after the listener has started?
Fixed a bug where received IDs were not being sent as parameters when login to Firebase.
Also, I added a processing to make the ID persistent in the example, please refer to it.