How to Use Devtools
Login
Inspect Tool
- Use
Open inspect tool
to add a request header.
Write your request (It won't work if the request URL is incorrect).
async onRequest(){
await bn.request({
url: 'https://www.devfdg.net/en/js-sdk-demo-ui/request'
})
},
- Add your header.
How to Debug WebView
Click the Devtool
menu and select Open Current Webview Component Devtools
. A devtool dialog will then appear.
Ensure there's a webview component when you select Open Current Webview Component Devtools
. If there isn't, nothing will happen.