-
Notifications
You must be signed in to change notification settings - Fork 123
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
onbeforeunload not supported in iOS #28
Comments
Hi! Thanks for the comment. There are timing issues with onbeforeunload, especially when trying to send a synchronous HTTP request as my documentation suggests to do. I'm not surprised to hear that iOS is not supporting this. I'll update documentation to find another suggestion, but it may involve websockets or some other pinging mechanism. |
I've been play with TimeMe and Ratchet and have it all working nicely, except iOS. Is this due to the sendCurrentTime call that should be triggered by an onbeforeunload that never runs on iOS? |
This is what I use for iPhone iPad and iPod. It seems to work if someone wants to test and give me feedback (and maybe update documentation)
|
Hello,
I have tested to send a time to database with AJAX script with the event onbeforeunload and it seems to not working.
Someone has the same issue ?
I tried with onunload and it seems to work, any problem to use this function instead onbeforeunload ?
Regards
The text was updated successfully, but these errors were encountered: