title: PWA - detect when the app returns from the background?
body: <p>Is there a way to detect that the the user just returned to the app after leaving it to another app and then back? I tried to use <code>window.onfocus</code> but it only worked in a PC browser.</p>