Offlinestart
4min
purple apps summary when a user opens the app offline for the first time, content won't load and user permissions can't be verified, preventing the app from launching to comply with apple's guidelines, developers can include a customisable offline html file in template 10 6 that is displayed until the app is connected online this article explains the app's behaviour and provides more information on enabling the offline html explanation if a user has downloaded your purple app from app store, and opens it for the first time while being offline, some caveats are happening no content will be available all other data sources that rely on fresh of the press data, like menus (those which are coming from the cms), may fail in addition, the app cannot verify some of the users' attributes, i e entitlements thus, by default, the app will not start in this case but requires the user to restore connectivity apple's usability guidelines for submitting apps require the app to start, though to ensure, the best experience, we introduced a new option for the offline app start on ios from purple app template 10 6 you can now place an html file offline html in the dynamic resources at /offline/ it will only be shown during your purple app's start until it successfully performs an app status request at least once this request is performing on every app start or app resume due to its ubiquitous nature of being html, you are pretty free to design the desired behaviour it's limited to what's available offline from the dynamic resources bundled with the app on build time also, for deploying any changes to it, you'll need to change the dynamic resources accordingly and then rebuild and resubmit the app