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
Bug description:
Hello everyone, I'm trying to use the WebView in my expo app (even when downgrading react-native-webview version), which works fine on iOS but fail on android with error :
Invariant Violation: Failed to call into JavaScript module method WebViewMessageHandler1.onShouldStartLoadWithRequest(). Module has not been registered as callable. Bridgeless Mode: false. Registered callable JavaScript modules (n = 12): Systrace, JSTimers, HeapCapture, SamplingProfiler, RCTLog, RCTDeviceEventEmitter, RCTNativeAppEventEmitter, GlobalPerformanceLogger, HMRClient, AppRegistry, RNCWebViewMessagingModule, RCTEventEmitter.
A frequent cause of the error is that the application entry file path is incorrect. This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native., js engine: hermes
To Reproduce:
Here is the code which fails on redirect :
Initial uri specified in source loads just fine and displays a page, but once the page is redirected after user interaction inside the webview, I also get the exact above message. The same code worked without issues previously on following setup:
webview 13.6.4
RN 0.72.6
Expo 49.0.6
Don't have a solution yet, unfortunately. Downgrading to 13.6.4 while on the newer versions of RN & Expo does not seem to help, so not quite sure if this is actually a webview problem. The RN release notes don't give much clue about any possibly related breaking change.
It finally worked for me by deleting the react native webview folder and using the correct expo install : npx expo install react-native-webview(I was previously using npm install)Hope it helpsLe 2 mai 2024 22:02, danielrys ***@***.***> a écrit :
Same here, similar setup:
webview 13.8.7RN 0.73.6Expo 50.0.17
Initial uri specified in source loads just fine and displays a page, but once the page is redirected after user interaction inside the webview, I also get the exact above message. The same code worked without issues previously on following setup:
webview 13.6.4RN 0.72.6Expo 49.0.6
Don't have a solution yet, unfortunately. Downgrading to 13.6.4 while on the newer versions of RN & Expo does not seem to help, so not quite sure if this is actually a webview problem. The RN release notes don't give much clue about any possibly related breaking change.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
Bug description:
Hello everyone, I'm trying to use the WebView in my expo app (even when downgrading react-native-webview version), which works fine on iOS but fail on android with error :
To Reproduce:
Here is the code which fails on redirect :
Expected behavior:
Environment:
Anyone facing this issue ?
Thanks for your help
The text was updated successfully, but these errors were encountered: