In ios device while connecting to trust wallet or metamask it redirects to the homepage of respective wallet #2605
akashgarg-13
started this conversation in
web3inbox-sdk-support
Replies: 2 comments
-
The scenario is that we want users to connect through a metamask or
trustwallet, which is why QR modalOptios is used.
I have tried removing that, but then the list of multiple wallets was
displayed, and we don't want the user to interact with all those wallets,
and transactions were not executed after removing qrModalOptions .
Kindly suggest a better solution.
…On Mon, 12 Jun 2023 at 22:30, Glitch ***@***.***> wrote:
Hey can you try removing the qrModalOptions?
—
Reply to this email directly, view it on GitHub
<#2605 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AWX3OTR2BED3JIWSBRNBH63XK5DKLANCNFSM6AAAAAAZC2HT2Q>
.
You are receiving this because you authored the thread.Message ID:
<WalletConnect/walletconnect-monorepo/repo-discussions/2605/comments/6154801
@github.com>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
@akashgarg-13 can you include the SDK and versions you're using? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Here is my code, when i am trying to connect to metamask or trust wallet in chrome its redirecting to the homepage of respective wallet.
walletConnect: async (path) => {
try {
let account;
const networkInfo =
path != "/staking" ? NETWORK_INFO : NETWORK_INFOMATION;
const chainidBlockchain = store?.getState()?.user?.chainId;
let chain =
path == "/staking" ? networkInfo[0]?.chain_id : chainidBlockchain;
console.log("providerprovider", provider);
// if (!isIOS) {
if (provider?.chainId != chain) {
await provider.enable();
const walletConnectResponse = await networkChangeHelper(provider, path);
},
Beta Was this translation helpful? Give feedback.
All reactions