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

Is local time used for connecting to FCM server?

Open aquacode opened this issue 4 years ago • 0 comments

My electron app is not yet opened My server sends an FCM message with timestamp of 18:00 UTC with ttl of 10 seconds I wait 10 seconds Start the electron app The app receives the FCM message

Is the electron app using local time when it connects to the FCM server such that if the local time is say 13:00 (local time zone) the FCM message on the server hasn't expired since it was sent with a timestamp of 18:00 UTC?

I don't know any other reason why all FCM messages are received when the app starts (if it has missed FCM messages being offline).

aquacode avatar Oct 12 '21 19:10 aquacode