Skip to content

Embedded Wallets: combined SDK docs updates (iOS, Android, Web, Flutter, React Native) and rebrand - #3086

Open
yashovardhan wants to merge 19 commits into
mainfrom
ew/combined-sdk-docs-update
Open

yashovardhan wants to merge 19 commits into
mainfrom
ew/combined-sdk-docs-update

Conversation

@yashovardhan

Copy link
Copy Markdown
Member

Description

Combines six Embedded Wallets docs PRs into one branch for a single review pass. No content was added beyond what is in those PRs; the only edits made here are merge-conflict resolutions (listed below).

Source PR Scope SDK version
#3079 iOS SDK docs web3auth-swift-sdk 13.0.0
#3080 Android SDK docs web3auth-android-sdk 11.0.1 (see Known gaps)
#3081 Web SDK docs (JS, React, Vue) @web3auth/modal 11.4.3
#3083 Flutter SDK docs web3auth_flutter 8.0.0
#3084 React Native SDK docs @web3auth/react-native-sdk 10.0.0
#3082 Rebrand to "Web3Auth by MetaMask, Embedded Wallet SDK" n/a

Each source PR is merged with a merge commit, in the order above, with the rebrand last so its naming applies on top of the SDK updates. See each source PR for the detailed change list and its review notes.

Conflict resolutions

All other files are exactly the content of their source PR, or a clean git auto-merge where several PRs touched different parts of a file.

Scope outside embedded-wallets/

These changes all come from the source PRs and only touch Embedded Wallets content or naming:

  • Embedded Wallets quickstart builder, tutorials, example maps, quickstart file links, SDK cards, and login example components under src/.
  • ew-sidebar.js.
  • Embedded Wallet naming in Smart Accounts Kit (current docs and the version-2.0.0 snapshot), the MetaMask Connect Web3Auth quickstarts, static/llms.txt, and the llms plugin.
  • .cursor/rules/product-embedded-wallets.mdc and .cursor/rules/terminology.mdc (naming rules).

Known gaps (not changed in this PR)

  • Android content (Update Embedded Wallets Android SDK docs for v11 #3080) targets 11.0.1. In 11.0.2, connectTo with idToken opens the Auth flow by default (silent SFA requires mfaLevel = MFALevel.NONE), and enableMFA/manageMFA no longer reject SFA or idToken users. The SFA, MFA, and session-token notes and the 11.0.1 dependency still need updating.
  • migration-guides/README.mdx still lists Android as v9 (v4 through v8).

Verification

  • npm run build succeeds (onBrokenLinks: 'throw').
  • Prettier passes on all changed files.
  • All 385 changed files match the union of the six source PRs; files touched by a single PR are byte-identical to that PR.

Issue(s) fixed

Supersedes #3079, #3080, #3081, #3082, #3083, #3084.

Checklist

  • If this PR updates or adds documentation content that changes or adds technical meaning, it has received an approval from an engineer or DevRel from the relevant team.
  • If this PR updates or adds documentation content, it has received an approval from a technical writer.

Replace the "MetaMask Embedded Wallets" and "MetaMask Embedded Wallet(s) SDK"
names with "Web3Auth by MetaMask, Embedded Wallet SDK" across the docs.

- Use the full name on first mention in each page body, in page
  descriptions, and on standalone cards; use "Embedded Wallet SDK" in
  headings, titles, sidebar labels, and later mentions.
- Name platform SDKs "Embedded Wallet SDK for <platform>".
- Remove "(formerly/previously Web3Auth)" and "formerly Web3Auth Plug and
  Play" wording.
- Normalize "Embedded Wallets SDK" to "Embedded Wallet SDK".
- Update the Embedded Wallets product rule and terminology table.

Package names, code identifiers, URLs, and the "Embedded Wallets" nav and
dashboard labels are unchanged.
- Bump install instructions to web3auth-swift-sdk 13.0.0.
- Rewrite the iOS migration guide to cover v6 through v12 to v13, with a new v13 section and a corrected v12 rename table.
- Fix Swift snippets that didn't compile because labeled arguments were out of declaration order (Web3AuthOptions, Chains, AuthConnectionConfig, LoginParams).
- Document all Web3AuthOptions parameters, the dashboard-driven sessionTime default, and chain precedence for Wallet Services.
- Remove MFALevel.DEFAULT and unsupported ChainNamespace and ExtraLoginOptions values.
- Correct enableMFA and manageMFA guidance for SFA users.
- Add getIdentityToken, getAccessToken, refreshSession, and getUserInfoAsync docs.
- Add tncLink, privacyPolicy, enableKeyExport, and autoApprove options.
- Fix iOS quickstart step highlights, connect-blockchain snippets, and the examples list.
Verify JS, React, and Vue SDK pages, the web migration guide, feature,
dashboard, troubleshooting, connect-blockchain, quickstart, and tutorial
content against the v11.4.3 SDK source and the official examples.

- Fix samples that would not compile (Wallet Services plugin usage,
  removed Solana types, getViewChain, wrong type imports)
- Replace removed or renamed options and properties (storageType,
  eipStandard, connectedConnectorName, getUserInfo v9 fields,
  verifierIdField)
- Correct hook/composable signatures and return fields; Vue refs
- Fix Solana chain IDs (0x65-0x67) and XRPL provider setup
- Correct migration guide breaking changes; add v11.1-v11.4 changes
- Fix multi-wallet linking API usage
- Add React and Vue pages for useChain, useWallets, useFunding,
  useReceive, useLinkAccount, useSwitchAccount, useX402Fetch, and Vue
  useSolanaClient
- Fix Angular and Next.js quickstart builder steps
Align the Embedded Wallets Flutter documentation with web3auth_flutter 8.0.0
(Auth v11 / Wallet Services v6, Android native 11.0.0, iOS native 13.0.0).

- Rewrite the Flutter migration guide for v8 (covers v3 through v7).
- Document Swift Package Manager requirement for iOS.
- Remove MFALevel.DEFAULT and fix the MFA settings example.
- Make sessionTime optional (dashboard value by default).
- Wrap initialize() in try/catch across samples.
- Complete the Web3AuthOptions, WhiteLabelData, WalletServicesConfig,
  Chains, LoginParams, and Web3AuthResponse references.
- Add usage pages for getAccessToken, getIdentityToken, refreshSession,
  and getWeb3AuthResponse; document getUserInfoAsync.
- Update Flutter snippets in SocialLoginExamples and
  PasswordlessLoginExamples from the pre-v7 login API to connectTo.
- Update the Flutter quickstart, tutorial, and Solana page.
Align the Android SDK docs with web3auth-android-sdk 11.0.1.

- Bump the dependency to 11.0.1 and minSdk to 26.
- Retarget the migration guide to v11 (MFALevel.DEFAULT removal, v11/v6
  service URLs, initialize() session restore, sessionTime and
  WalletServicesConfig defaults, new session APIs).
- Add usage pages for getAccessToken/getIdentityToken and refreshSession,
  and document getUserInfoAsync.
- Fix initialize(), getPrivateKey(), and logout() session behavior.
- Fix enableMFA/manageMFA guidance (no idToken; not available for SFA).
- Fix custom authentication examples (required clientId and
  authConnectionId, EmailFlowType values, swapped grouped connection IDs,
  jwtParameters).
- Document SFA limitations and run SFA connectTo off the main thread.
- Update Web3AuthOptions, WhiteLabelData, and WalletServicesConfig fields.
- Fix the Solana, Firebase, tutorial, and quickstart Android content.
- Rewrite the React Native SDK pages for @web3auth/react-native-sdk 10.0.0:
  useWeb3Auth().connection (ethereumProvider, solanaWallet) replaces
  provider/signer; connectTo resolves Connection | null.
- Add hook pages for useAccessToken, useAuthTokenInfo, and
  useRefreshSession; mark useIdentityToken deprecated.
- Add Ethereum hooks (Wagmi) and Solana hooks pages, including the
  polyfills and @web3auth/auth shim that Solana needs on 10.0.0.
- Fix connectTo parameters, web3AuthOptions, MFA levels, whitelabel
  fields, and Solana chain IDs (0x65/0x66/0x67).
- Require react-native-quick-crypto 1.x and document the Gradle 9
  jcenter() workaround for @toruslabs/react-native-web-browser.
- Rewrite the React Native migration guide to target v10 (from v3-v9).
- Update EVM and Solana connect-blockchain pages, Metro troubleshooting,
  the quickstart builder, and Auth0/Firebase React Native snippets.
- Remove unused v8 account abstraction partials.
- Restore ChainNamespace .solana and .other; note Wallet Services are EVM only.
- Note that the dashboard confirmation modal setting overrides confirmationStrategy.
- Document that v13.0.0 ignores flow_type and always uses the OTP email flow.
- Describe the default session time as 30 days from the dashboard, and correct the older-version defaults in the migration table.
- Note that SFA users get no session tokens or Ed25519 key.
- Warn that logout deletes all of the app's generic password Keychain items.
- Reword the v13 MFA migration note: SFA detection is new, connection reuse isn't.
- Clarify chain selection, WhiteLabelData default overrides, getEd25519PrivateKey errors, Xcode 15 and Swift 5.9 requirements, and the CocoaPods version range.
- Set the dashboard session duration default to 30 days.
Verified against web3auth-android-sdk 11.0.0 and web3auth-swift-sdk 13.0.0,
the versions web3auth_flutter 8.0.0 pins.

- enableMFA/manageMFA: remove idToken guidance; both throw for sessions
  created with idToken (ENABLE_MFA_NOT_ALLOWED / enabledMfaNotAllowed).
- getEd25519PrivateKey throws without a session; use getPrivateKey as the
  session check on the Solana page and in the tutorial.
- Dapp share examples use the OAuth custom-connection flow; idToken takes
  the SFA path, which ignores dappShare.
- connectTo errors: Android maps all failures to UserCancelledException,
  iOS returns PlatformException (LoginFailedException). Drop UnKnownException
  and use PlatformException in showWalletUI/request/MFA samples.
- SPM is on by default in recent Flutter (3.44); keep the flag as fallback
  and set the deployment target on the Runner target.
- sessionTime: lead with the 30-day default.
- Note iOS project-config failures surface from init, refreshSession
  failure clears the session, manageMFA requires MFA enabled, and the
  enableKeyExport dashboard fallback.
- Restore the Flutter custom authentication link, fix tutorial wording,
  wrap initialize() in auth0/firebase samples, and note sample imports.
- Remove nonexistent MFA_LEVELS.DEFAULT from React and Vue MFA pages
- Vue useSignTransaction returns the base58 signature
- sessionTime falls back to the dashboard value, then 30 days
- Rewrite Solana Pay tutorial for v11 useSolanaWallet rpc and the
  @solana/kit-based @solana/pay 1.x API, with SolanaProvider
- Add WalletOperationsError, WalletProviderError, and
  AccountLinkingError codes
- Add groupedAuthConnectionId and account_abstraction to linked
  account fields; clarify useWallets sync behavior
- getUserInfo returns { linkedAccounts: [] } for external wallets
- XRPL testnet chain ID 0x6 and wsTarget labels
- initialAuthenticationMode connect-only default was v10.10+
- Match the official examples: React Native 0.74 (bare) and Expo SDK 51,
  and the quickstart's minSdkVersion 23 / compileSdkVersion 34.
- Document react-native-quick-crypto by version: 1.x (with
  react-native-nitro-modules and react-native-quick-base64 3.x+) for
  React Native 0.75+ with the New Architecture, 0.7.x otherwise. Label the
  16 KB-page and randomBytes failures as observed on an emulator.
- Migration guide: remove the useWeb3AuthUser row (v9 already returned
  isMFAEnabled and getUserInfo), describe the real connectTo change
  (WalletResult to Connection), and limit "doesn't throw" to the hook.
- Scope smart account address order, user operations, and key export
  limits to ERC-4337; note EIP-7702 behavior.
- Dapp share: kept until sign-out; a stored share overrides a dappShare
  passed to connectTo.
- Quickstart: match the getWeb3AuthConfig(withAA) example and remove the
  unreachable wallet-aggregator step.
- Add PASSKEYS and AUTHENTICATOR, walletSdkURL, AppOwnership.Guest;
  correct whitelabel mode default (light), dappUrl, defaultChainId
  fallback, provider recreation, useAuthTokenInfo token on idToken
  sessions, and the MFA highlight directive.
- Session time defaults to the dashboard value (30 days by default).
- Replace web3.js / ethers v5 wording on the React Native chain pages.
- Credit the service, not the client SDK, for issuing ID tokens, running
  on the Torus Network, MPC key management, and OTP email delivery.
- Show the package name in quickstart install steps so the comma in the
  brand name doesn't read as an extra package.
- Revert Smart Accounts Kit snapshots 1.5.0 through 1.7.0 to main.
- Point the "as a signer" link in eoa-wallets.md at embedded-wallets.md.
- Document when to keep "Embedded Wallets" (service, nav, dashboard,
  unmigrated titles) in the Embedded Wallets product rule.
- Use the full name on first mention on pages that only had the short
  form, and fix a mixed-name sentence, "SDK for Web for", and two
  descriptions.
- Rename example card titles from "Web3Auth PnP <platform> SDK", the SDK
  card headings, and the Embedded Wallets llms.txt link labels.
…2bafb' into ew/combined-sdk-docs-update

Co-authored-by: Cursor <cursoragent@cursor.com>

# Conflicts:
#	embedded-wallets/migration-guides/README.mdx
…branding-713f30' into ew/combined-sdk-docs-update

Co-authored-by: Cursor <cursoragent@cursor.com>

# Conflicts:
#	embedded-wallets/migration-guides/android.mdx
#	embedded-wallets/migration-guides/flutter.mdx
#	embedded-wallets/migration-guides/ios.mdx
#	embedded-wallets/migration-guides/react-native.mdx
#	embedded-wallets/sdk/ios/README.mdx
#	embedded-wallets/sdk/react-native/README.mdx
#	src/pages/quickstart/builder/embedded-wallets/react_native/stepContent/installationReactNative.mdx
#	src/pages/quickstart/builder/embedded-wallets/react_native/stepContent/rnQuickStart.mdx
@vercel

vercel Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
metamask-docs Ready Ready Preview Nov 10, 2026 10:26am UTC

Request Review

@yashovardhan
yashovardhan requested a review from a team as a code owner November 10, 2026 10:18
The snippet labeled 7 * 86400 as 30 days and gave a 1-day default.
State 30 * 86400 seconds (30 days) for both.

This branch was successfully deployed

1 active deployment
Preview — bf0e7619 Deployed Nov 10, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant