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
Hey, I'm using Android WebView to display dapps, and I've recently encountered an issue where some methods can't execute within WebView when using Wagmi. For example, when the dapp tries to handle the send_transaction method via WalletConnect:
It doesn't reach POINT-3, and it seems like writeContract is never being called or is blocking inside WebView. I checked the console and logs but couldn't see any errors or related logs. Despite this, it runs smoothly on Chrome inside the phone.
webView version is last version:
androidx.webkit:webkit:1.11.0
And these are settings try to test with:
So, I suspect there might be some restrictions on this method call within WebView. I've already enabled all configurations on WebView, and I need to understand what this method does to figure out why Android might be restricting it.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey, I'm using Android WebView to display dapps, and I've recently encountered an issue where some methods can't execute within WebView when using Wagmi. For example, when the dapp tries to handle the send_transaction method via WalletConnect:
It doesn't reach POINT-3, and it seems like
writeContract
is never being called or is blocking inside WebView. I checked the console and logs but couldn't see any errors or related logs. Despite this, it runs smoothly on Chrome inside the phone.webView version is last version:
androidx.webkit:webkit:1.11.0
And these are settings try to test with:
So, I suspect there might be some restrictions on this method call within WebView. I've already enabled all configurations on WebView, and I need to understand what this method does to figure out why Android might be restricting it.
Beta Was this translation helpful? Give feedback.
All reactions