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
I've validated the bug against the latest version of DB packages
Describe the bug
Using offline transactions on React Native / Expo apps fails due to calls to window.addEventListener that attempt to watch the network state in OnlineDetector (and possibly other places too).
It seems that while window is defined, addEventListener is not.
Expected behavior
Check if addEventListener is defined; fallback to Expo's Network.addNetworkStateListener or the RN equivalent on mobile
Smartphone (please complete the following information):