You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
iTwin core provides functionality via overrideInternetConnectivity() so that the apps can control the behavior of internet connectivity. At the same time, it also calls this override function internally based on window.navigator.onLine check (in NativeApp.ts startup function). window.navigator.onLine is not a reliable check and thus it changes the connectivity status from what was set by the app earlier which leads to unwanted results.
Steps to reproduce the behavior:
Listen to onInternetConnectivityChanged event In both frontend and backend in app
disconnect from internet
set the connectivity to Offline via overrideInternetConnectivity
call itwin core startup
if it determines navigator.onLine to true then it raises onInternetConnectivityChanged with Online status which is wrong.
Expected behavior
Just like overrideInternetConnectivity, iTwin core also provide a way to override connectivity check in the startup and should not determine connectivity state based on unreliable check.
iTwin.js Version [4.10.x]
The text was updated successfully, but these errors were encountered:
iTwin core provides functionality via overrideInternetConnectivity() so that the apps can control the behavior of internet connectivity. At the same time, it also calls this override function internally based on window.navigator.onLine check (in NativeApp.ts startup function). window.navigator.onLine is not a reliable check and thus it changes the connectivity status from what was set by the app earlier which leads to unwanted results.
Steps to reproduce the behavior:
Expected behavior
Just like overrideInternetConnectivity, iTwin core also provide a way to override connectivity check in the startup and should not determine connectivity state based on unreliable check.
The text was updated successfully, but these errors were encountered: