App Resumed Callback
When your app is resumed from backgrounded state the JavaScript function median_app_resumed()
will be called if it is defined on the current page. JavaScript can be added to this function to force the background refresh of page content/data or even cause a full page reload using window.location.reload()
.
Note that median_app_resumed()
can also be defined within Custom JavaScript rather than your web page itself.
To assist clients that use Android apps to power customer kiosks and digital signage, we also offer a custom Native Plugin that reloads the app content on a predefined interval at the native level rather than JavaScript. Contact our team for details on this solution.
Developer Demo
Display our demo page in your app to test during development https://median.dev/app-resumed-callback/
Updated 9 months ago