Wallet not connect sometimes #201
-
Issue 1: Phantom Wallet App Not Displaying Connect Wallet Popup When a user attempts to connect the wallet using the Solana mobile wallet adapter in Unity, it opens the Phantom Wallet app, but the expected "Connect Wallet to App" popup does not appear, leading to subsequent issues with signing the login message. Issue 2: Connection Redirect Problem on Certain Devices Other case is after the user clicks on the "Connect Wallet" option and the popup appears, instead of automatically redirecting back to the application, it remains on the Phantom Wallet. Users have to manually go back to the game and click on "Connect Wallet" again to initiate the redirection after confirming the connection. Wallet connection is functioning correctly on most devices, these issues seem to be appearing on certain devices. |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments
-
@knickglobal can you please share more info about the devices causing issues?
|
Beta Was this translation helpful? Give feedback.
-
Hi we are experiencing problem in my client android phones check the video
https://www.loom.com/share/5c27e40c0c994e088d60040d8d0942d7
…On Fri, 22 Dec 2023 at 6:35 PM, Gabriele Picco ***@***.***> wrote:
@knickglobal <https://github.com/knickglobal> can you please share more
info about the devices causing issues?
- Are their all Android? Saga phone?
—
Reply to this email directly, view it on GitHub
<#198 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMYJ6LFAMUGOMT6O62WTKIDYKWASLAVCNFSM6AAAAABAZJNQVGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRXGY3DKNBVGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
To provide some context, our application is a Unity-based NFT/Token
catcher, designed for users to log in with their Phantom wallet. The
primary functionality involves locating and claiming NFTs/Tokens in
proximity to the user's location. While the majority of our application
works seamlessly, we have encountered persistent issues related to the
wallet connect feature, particularly on certain devices.
We are utilizing the Solana Adapter (
https://github.com/magicblock-labs/Solana.Unity-SDK,
https://solana.unity-sdk.gg/docs/configuration) for our development.
Here are the specific issues we are grappling with:
1. *Wallet Connect Stability:* The Phantom wallet connection is not
consistent. Users often experience difficulty connecting the wallet in a
single attempt, requiring multiple tries. In some instances, even after
repeated attempts, the connection fails. If you require detailed technical
information, Deepak Kundra @***@***.***
***@***.***> is available to provide it. Alternatively,
any best practices or sample code for implementing the wallet connect
functionality in Unity would be highly appreciated.
2. *Redirecting Users without Phantom Wallet:* Currently, if a user does
not have a Phantom wallet but possesses a third-party wallet, our
application opens the third-party wallet instead of redirecting the user to
the Play Store/App Store to download Phantom. It appears that we might be
overlooking a crucial scenario, and we seek your assistance in resolving
this.
|
Beta Was this translation helpful? Give feedback.
-
@knickglobal can you please share the OS, Android and Phantom version? I'm unable to reproduce the issue on my device. Related to:
That's the expected behaviour, the wallet adapter will connect to any compatible Solana Wallet. If you want to restrict to Phantom, you can use the PhantomDeepLink implementation, which requires to configure the deeplink schema in the manifest, copying the AndroidManifest.xml under See the detailed guide at https://solana.unity-sdk.gg/docs/configuration for configuring the deeplinks |
Beta Was this translation helpful? Give feedback.
-
Thanks for the response Team. Will look into it and get back to you on this. Wish you a Happy New Year!!! |
Beta Was this translation helpful? Give feedback.
-
Hi to all of you,
Please check these are the phone models in which solana wallet is not
authenticating into the game.
[image: image.png]
[image: image.png][image: image.png][image: image.png][image: image.png]
…On Thu, Dec 28, 2023 at 8:32 PM Gabriele Picco ***@***.***> wrote:
@knickglobal <https://github.com/knickglobal> can you please share the
OS, Android and Phantom version?
Related to:
If a user does not have a Phantom wallet but possesses a third-party
wallet, our application opens the third-party wallet instead of redirecting
the user to the Play Store/App Store to download Phantom.
That's the expected behaviour, the wallet adapter will connect to any
compatible Solana Wallet.
If you want to restrict to Phantom, you can use the PhantomDeepLink
<https://github.com/magicblock-labs/Solana.Unity-SDK/blob/main/Runtime/codebase/DeepLinkWallets/PhantomDeepLink.cs#L22C18-L22C33>
implementation, which requires to configure the deeplink schema in the
manifest, copying the AndroidManifest.xml
<https://github.com/magicblock-labs/Solana.Unity-SDK/blob/main/Samples~/Solana%20Wallet/Plugins/Android/AndroidManifest.xml>
under Android/Plugins
—
Reply to this email directly, view it on GitHub
<#198 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMYJ6LHICTQKSBYCU6V4WOTYLWCZTAVCNFSM6AAAAABAZJNQVGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZRGI2TGMZRGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Models are not visible @knickglobal |
Beta Was this translation helpful? Give feedback.
-
Team Solana, I would like to express my gratitude for the response regarding our previous issue. The suggested changes have been implemented, and our application is now functioning as expected. Thank you for your valuable support. I have another inquiry that requires your attention. In the scenario where a user does not have the Phantom wallet installed and our application redirects them to the respective app/play store for download, we are seeking a solution for the following flow: after the user completes the download and opens the Phantom wallet, is there a callback mechanism from Phantom to our game? Our client has a specific request that involves redirecting users to the app store, allowing them to download the Phantom wallet, and upon successful login, automatically reopening our application. Could you provide guidance or suggest an implementation approach for achieving this seamless integration in our Unity game? Your assistance on this matter is greatly appreciated. Thanks, |
Beta Was this translation helpful? Give feedback.
-
Unfortunately, I don't think it's possible to implement the described flow. If they don't have a wallet, they have to install it and then manually reopening the game |
Beta Was this translation helpful? Give feedback.
-
Thanks for the response @GabrielePicco |
Beta Was this translation helpful? Give feedback.
@knickglobal can you please share the OS, Android and Phantom version? I'm unable to reproduce the issue on my device.
Related to:
That's the expected behaviour, the wallet adapter will connect to any compatible Solana Wallet.
If you want to restrict to Phantom, you can use the PhantomDeepLink implementation, which requires to configure the deeplink schema in the manifest, copying the AndroidManifest.xml under
Android/Plugins
See the detailed guide at https://solana.unity-sdk.gg/docs/con…