Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
gin-lsl opened this issue Mar 7, 2025 · 1 comment · May be fixed by #1368
Assignees
Labels
bug Something isn't working development task Development tasks that can be completed within one day

Comments

@gin-lsl
Copy link
Collaborator

gin-lsl commented Mar 7, 2025

如下配置:

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

@gin-lsl gin-lsl self-assigned this Mar 7, 2025
@gin-lsl
Copy link
Collaborator Author

gin-lsl commented Mar 7, 2025

并且此处不应该显示 PLUGIN 按钮

@gin-lsl gin-lsl changed the title [Bug] 只配置 autoAddRegisteredWallets 但不提供 wallets 时,无法正确唤起钱包 App [Bug] Solana 只配置 autoAddRegisteredWallets 但不提供 wallets 时,无法正确唤起钱包 App Mar 7, 2025
@gin-lsl gin-lsl changed the title [Bug] Solana 只配置 autoAddRegisteredWallets 但不提供 wallets 时,无法正确唤起钱包 App [Bug] Solana 只配置 autoAddRegisteredWallets 但不提供 wallets 时,手机浏览器无法正确唤起钱包 App Mar 7, 2025
@yutingzhao1991 yutingzhao1991 added bug Something isn't working development task Development tasks that can be completed within one day labels Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working development task Development tasks that can be completed within one day
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants