Search loading

Offline

The Offline feature allows you to run Fawi apps through Fawi Platform without having an active internet connection.

This feature is useful when you have limited or no internet access.

How to Enable

You can enable the offline feature in the Fawi Office app menu going to "Publish Settings > Device" and choosing "Yes" in the "Offline App" select field.


Then you need to add/create the "fawioffline.js" file in the root folder of your app.

The "fawioffline.js" should contain the app "version" and all the downloadable files in the "fileList" array like the image bellow:

filelist

Everytime you make a change in the app you need to update this script file, updating the "version" and "fileList" variables.

With all above set, Fawi will download all the app files listed in the "fawioffline.js" file to the user device storage that choose to use the app offline.

loading