We are configuring our app to connect to WL server on startup, but are having difficulties handling the different scenarios where WL server is not available (ex: offline mode).
connectOnStartup : false
The onConnectionFailure() callback is not called and the app remains frozen in the initialization process.
When we go with the manual connect, using WL.Client.connect(options) the onFailure handler is also not triggered.
Why are the failure handles not called and what is the best practice to ensure that the app is still functional when the WL server is not in reach, with just offline mode limitations and custom flows ?