go-push-receiver icon indicating copy to clipboard operation
go-push-receiver copied to clipboard

How to receive new notifications only.

Open cyneptic opened this issue 5 months ago • 1 comments

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?

cyneptic avatar Jan 11 '24 12:01 cyneptic

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.

crow-misia avatar Jan 13 '24 21:01 crow-misia