I developed an app which involves a WebView with injected scripts. It works well in the Android emulator and iOS simulator. But it doesn’t always work properly when I publish it and run it using the Expo device client on Android and iOS.
I would like to be able to connect the Android and iOS devices to the laptop with a cable, run the published version, and inspect the Webview console remotely in order to see console.logs and exceptions.
I read that doing so requires “webContentsDebuggingEnabled=true” which is only available in detached apps. However, my expo app is not detached.
Is there a way to inspect Webview console, in expo apps published and running through the expo device client, without detaching?
- SDK Version: 36.0.0
- Platforms: Android/iOS