magicblock-labs / magicblock-labs/Solana.Unity-SDK
[Bug] Wallet is not getting connect in iOS, deep-link has no fragment in IOS
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 199
- Forks
- 128
- PR merge metrics
- No merged PRs in 30d
Description
**Bug Description**
The wallet is not getting connected to iOS device
Error: ArgumentOutOfRangeException: Index and count must refer to a location within the string
Web3.setResultUrl( System.Uri uri)
Deeplink response from phantom wallet: unitydl://onPhantomConnected?phantom_encryption_public_key=xxx&nonce=xxx&data=xxxx
**Smartphone:**
- Device: [iPhone13 Pro Max]
- OS: [iOS 18]
- Application [Phantom App]
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at Web3.setResultUrl(System.Uri uri), where the reported ArgumentOutOfRangeException occurs, and inspect how the Phantom iOS deep-link URL is parsed. Done means the supplied iOS deep link no longer throws and the wallet connection completes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, ios, unity
- Domain
- blockchain, mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100