Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is local time used for connecting to FCM server? #82

Open
aquacode opened this issue Oct 12, 2021 · 0 comments
Open

Is local time used for connecting to FCM server? #82

aquacode opened this issue Oct 12, 2021 · 0 comments

Comments

@aquacode
Copy link

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant