tejacques / crosstab

A utility library for cross-tab communication using localStorage.
Apache License 2.0
365 stars 58 forks source link

Why aren't mobile browsers supported?... #56

Open brandonros opened 8 years ago

tejacques commented 8 years ago

It's due to the way that iOS and Android handle multiple tabs. All but the displayed tab(s) have their JS frozen, so if you're relying on other tabs to relay requests and communicate, they won't.

I have a strategy to try and work around this, but the use case isn't as compelling because you can't share resources among the frozen tabs anyway.

massaroni commented 6 years ago

if you're relying on other tabs to relay requests and communicate, they won't.

If crosstab were running on a mobile browser, would the active tab's outbound messages queue up for the frozen tab, so that the frozen tab could read them all when it un-freezes?