When a user opens a Fliplet app, the content (ie, images, text, components) of the first screen will be loaded and shown to them. Once this has finished, any custom code that has been placed in the “Global” tab of the Developer Options will be run. So to run some JavaScript code every time the app is opened, place it in the “Global” tab of the Developer Options.

For a detailed understanding of app, screen, and code loading orders please see the Developer Documentation here.

Related topics

To run code when an app is opened the first time, see this article.

Trigger something when a screen finishes loading and is shown to a user, see this article.