Thanks! I suppose that will work. Is there a way to weave this into the framework7 event stream proper to have the component pages respond to it individually … or even at the app level.
What I intend to do is check if its been 2 hours since the app was brought to the foreground and then call refresh on two pages to update their photo streams from the database.
Here is a version without the time span check. It seems to be working as intended.