For React Native window.ReactNativeWebView will always exist but window.webpackHotUpdate_my_app_electron or window.REACT_NAVIGATION_DEVTOOLS will be undefined initially for a couple of seconds until electron loads up the renderer.
Is there a way to detect if the app is running in web webview using the window variables?
Hi,
For React Native window.ReactNativeWebView will always exist but window.webpackHotUpdate_my_app_electron or window.REACT_NAVIGATION_DEVTOOLS will be undefined initially for a couple of seconds until electron loads up the renderer.
Is there a way to detect if the app is running in web webview using the window variables?