Repository navigation
Update Embedded Wallets Android SDK docs for v11 - #3080
Closed
yashovardhan wants to merge 2 commits into
Closed
yashovardhan wants to merge 2 commits into
yashovardhan wants to merge 2 commits into
Conversation
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.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Nov 9, 2026
Member
Author
|
Superseded by #3086, which combines this branch with the other Embedded Wallets SDK docs updates and the rebrand into one PR for review. No further changes should land here. |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Updates the Embedded Wallets Android SDK documentation to match
web3auth-android-sdk11.0.1 (Auth Service v11, Wallet Services v6) and the Android examples. Every API detail was checked against the SDK source at the11.0.1tag.New and retargeted content
session-tokens(getAccessToken(),getIdentityToken()) andrefresh-session(refreshSession()), both added to the sidebar.getUserInfoAsync()is documented on the get-user-info page.connectToreference addsLoginParams.recordIdandloginSource.Corrections
11.0.1; minSdk corrected to 26 in the migration guide and quickstart (they said 24).initialize(): it completes exceptionally when there's no saved session (No user found, please login again!). The docs saidgetPrivateKey()would return""in that case. Also fixed in the tutorial ViewModel, which would have crashed.getPrivateKey(): it throws afterlogout().getUserInfo()returnsnullafterlogout().MFALevel.DEFAULT: removed from the MFA andconnectTopages; it no longer exists in v11.enableMFA/manageMFA: examples no longer passidToken, which the SDK rejects withEnabling MFA is not allowed for this user.. Both are now documented as unavailable for SFA sessions.clientIdandauthConnectionIdadded to the examples.EmailFlowTypevalues corrected to lowercasecode/link.authConnectionId/groupedAuthConnectionIdfixed in the grouped example.jwtParametersandlogin_hintdocumented.Web3AuthOptionsinterface updated.sessionTimeandconfirmationStrategynow default tonulland are filled from the dashboard.enableKeyExport,authBuildEnv, andWhiteLabelData.tncLink/privacyPolicy.connectToexamples now run off the main thread.User has already enabled MFAfor users who have MFA.getEd25519PrivateKey()call made beforeinitialize().Preview
Run
npm start, then see/embedded-wallets/sdk/android/and/embedded-wallets/migration-guides/android/.npm run buildpasses, with broken links and anchors set to fail.Items for reviewers
ExtraLoginOptions(id_token = …)and withoutidToken. This follows the existing JWT pattern, but no released example confirms it."<authConnectionId> | <userId>"but read back underauthConnectionId, so it never auto-reloads.user_idclaim.WhiteLabelData.consentRequiredfield that doesn't exist, and lists minSdk 24.Checklist