Skip to content

Document how a dApp detects a wallet's in-app browser and connects directly #2875

Description

@briwylde08

A dApp opened inside a wallet's in-app browser can connect to that wallet directly and skip the wallet picker, but this is undocumented. Freighter mobile injects window.stellar.provider === 'freighter'; builders discover it by trial and error. freighter-mobile PRs #1000–#1002 (in-app WebView provider, silent SEP-10 login) would extend this.

Please add a short, wallet-neutral page in the wallet-integration docs:

  • how to detect the in-wallet context;
  • how to connect without a picker, with a copy-paste snippet;
  • a note that a cross-network connection protocol has been proposed and may supersede this.

Surfaced by Frontier Lab's ecosystem crawl.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    • Status
      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions