React Native WebView in production mode

#1

Hi,

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?

Thanks

#2

Hey @holographer,

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

Cheers,

Adam

closed #3

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