Sats Connect - Wallet API for Bitcoin & Stacks
  • Introduction
  • Wallet Providers
    • getInfo
    • getProviders & getProviderById
  • Connecting to the wallet
    • Connect to Xverse Wallet
    • Disconnect from Xverse Wallet
    • Connect to other wallets
      • Manage a user's default wallet
    • [Legacy ⚠️] getAccounts
  • Wallet Methods
    • request methods
    • wallet_getAccount
    • wallet_getNetwork
    • wallet_changeNetwork
    • Xverse Custom Methods
  • Xverse Wallet Permissions
  • Xverse Wallet events
  • BITCOIN METHODS
    • 🟠getAddresses
    • 🟠signMessage
    • 🟠signPsbt
    • 🟠sendTransfer
    • 🟠signMultipleTransactions
    • 🟠getBalance
    • 🎨createInscription
    • 🎨createRepeatInscriptions
    • 🎨ord_getInscriptions
    • 🎨ord_sendInscriptions
    • 🔲runes_getBalance
    • 🔲runes_transfer
    • 🔲Mint Runes
      • runes_estimateMint
      • runes_mint
    • 🔲Etch Runes
      • runes_estimateEtch
      • runes_etch
    • 🔲runes_getOrder
    • 🔲Speed up a Rune Mint or Etch order
      • 🔲runes_estimateRbfOrder
      • 🔲runes_rbfOrder
  • STACKS METHODS
    • 🔴stx_getAccounts
    • 🔴stx_signMessage
    • 🔴stx_signStructuredMessage
    • 🔴stx_transferStx
    • 🔴stx_signTransaction
    • 🔴stx_callContract
    • 🔴stx_deployContract
  • GUIDES
    • Verify Bitcoin message signatures
    • Creating Bitcoin PSBTs
    • 📱Mobile Integration
    • Next.js support
  • RESOURCES
    • App Template
    • Demo App
    • Changelog
    • Github Issues
    • Developer forum
    • BIP322
Powered by GitBook
On this page
  • 1. Custom URL Scheme
  • 2. Universal Links and Application Links
  1. GUIDES

Mobile Integration

To have access to sats-connect methods on mobile you need to direct your users to the Xverse in-app browser you can do so using the following methods

1. Custom URL Scheme

Xverse provides a custom URL scheme for deep linking:

xverse://

1.1. Opening the In-App Browser

To open the in-app browser of Xverse, use the following link:

xverse://browser

1.2. Navigating to a Specific URL in the In-App Browser

To open a specific URL in the in-app browser of Xverse, use the following format:

xverse://browser?url=YOUR_URL_HERE

For example, to open www.magiceden.io in the in-app browser, use:

xverse://browser?url=www.magiceden.io

Note: The custom URL scheme for Xverse is deprecated. Instead, it's advised to utilize Universal Links for iOS and Application Links for Android when linking with Xverse.

2. Universal Links and Application Links

For enhanced security, Xverse utilizes Universal Links on iOS and Application Links on Android.

2.1. iOS: Universal Links

To link to Xverse using Universal Links on iOS, use the following format:

https://connect.xverse.app/

To open the in-app browser of Xverse, use the following link:

https://connect.xverse.app/browser?url=YOUR_URL_HERE

For instance, to navigate to www.gamma.io in the in-app browser, use:

https://connect.xverse.app/browser?url=www.gamma.io

The only deep linking parameter currently supported by Xverse is browser. To navigate to the in-app browser, include the browser parameter in your link.

2.2. Android: Application Links

On Android, Xverse utilizes Application Links, which function similarly to iOS's Universal Links. To deep link into Xverse on Android, use the same format as for iOS:

https://connect.xverse.app/browser?url=YOUR_URL_HERE

Opening this link will launch the Xverse app and navigate to the browser screen inside the app.

PreviousCreating Bitcoin PSBTsNextNext.js support

Last updated 1 year ago

📱