Closed RomeroYang closed 3 years ago
Hi Romero, would love to integrate web3 login via polkawallet. Can You provide details on how it support wallet interaction on mobile as a browser extension
Polkawallet injected an event listener in the webView, and implemented polkadot.js signer methods.
This function works well before polkassembly hide the web3 login button.
So i should just show the button on mobile?
That's right.
Or you may call web3Enable() method of @polkadot/extension-dapp to check whether js-extension exist.
https://github.com/paritytech/polkassembly/blob/8c0b7e3ccd6bd8ffa685bf2fac04b2defcff5c5b/front-end/src/components/Login/Web2Login.tsx#L104
Polkawallet App supports wallet interaction on mobile as a browser extension, but polkassembly doesn't show Web3Login on mobile screen.