Seems like mobile browsers, when placed into a background for a long time e.g. 15 minutes, are not triggering the events of
focus automatically even the browser/tab becomes active. Therefore, we cannot trigger Meteor to reconnect using
(we disconnect our apps after a few seconds when the visibility of the app becomes hidden)
Anybody who found an elegant solution for this?
Our current solution is (1) display a manual reconnect bar to the user: or (2) add a
Meteor.reconnect() call when the user changes a route
Both are not ideal as the app should reconnect automatically once the browser becomes active. But seems like there is no browser event that we can hook into for this to happen