When loading the Flare workflows iFrame, there can be times when the app may not load due to a number of factors including browser type, network speed, anti-virus software and other ways that our component may not work for your end users as desired.
In these instances, we want to ensure that you are still able to provide a usable experience for all end users, allowing your customers to have peace of mind their employees are being onboarded successfully every time.
The solution is provide a fallback front-end and server-side code that you as the partner are able to implement directly into your application and have full control over how it is presented.
This fallback UI will allow the end user to declare their bank and tax details and select either of My Own Fund, Default Fund or SMSF. It does not give them the ability to select a promoted fund provided by Flare.
It is recommended that the fallback UI be loaded directly from the partners application should the app take longer than a given time to load.
In order to know whether the app has loaded or not, the iFrame will emit an appReady event. If this event is not triggered within a suitable timeframe, then the partner application will hide the iFrame and can show the front-end UI snippet suggested below.