Skip to content

[Bug] Solana 只配置 autoAddRegisteredWallets 但不提供 wallets 时,手机浏览器无法正确唤起钱包 App #1367

Open
@gin-lsl

Description

@gin-lsl

如下配置:

import React from 'react';
import { ConnectButton, Connector } from '@ant-design/web3';
import { SolanaWeb3ConfigProvider } from '@ant-design/web3-solana';

export default function App() {
  return (
    <SolanaWeb3ConfigProvider autoAddRegisteredWallets>
      <Connector>
        <ConnectButton />
      </Connector>
    </SolanaWeb3ConfigProvider>
  );
}

页面:

Description

点击 Mobile Wallet Adpater 无响应。

Mobile Wallet Adapter 是在这里注入的:
https://github.com/anza-xyz/wallet-adapter/blob/748767d6852e620999823f425b3ba30a00ff1547/packages/core/react/src/WalletProvider.tsx#L63

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdevelopment taskDevelopment tasks that can be completed within one day

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions