React Native WebView in production mode



I’m experiencing a problem with the React Native WebView component. I’m trying to use the “onNavigationStateChange” property to monitor the URL currently displayed : on Android, it works well in dev mode but the callback is never called in production mode. On iOS, it works in both modes.
I’m using Expo SDK 28.

Would someone have a clue to solve this strange behavior on Android in production mode?
By the way, if there is no easy solution, I would like to publish the app in dev mode since performance is acceptable. Is that possible?



Hey @holographer,

Sorry for missing this. Do you think you could create a demonstrating the behavior on Android in production? It’ll help us greatly with the debugging process.



closed #3

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.