When the browser sees a new version of the app while the app is running, you get a notification saying that you should close all windows for the update to apply. The problem is that it can take several minutes for the browser to bother performing the update even after that time. This is a bad UX.
One simple solution may be to add some code on the background page which is triggered whenever a window is closed, and if all windows are closed, force the update.
When the browser sees a new version of the app while the app is running, you get a notification saying that you should close all windows for the update to apply. The problem is that it can take several minutes for the browser to bother performing the update even after that time. This is a bad UX.
One simple solution may be to add some code on the background page which is triggered whenever a window is closed, and if all windows are closed, force the update.