Update android SDK#2295
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
| After instantiating Web3Auth, the next step is to initialize it using the `initialize` method. This method is essential for setting up the SDK, checking for any active sessions, and fetching the whitelabel configuration from your dashboard. | ||
|
|
||
| Once the `initialize` method executes successfully, you can use the `getPrivKey` or `getEd25519PrivKey` methods to verify if an active session exists. If there is no active session, these methods will return an empty string; otherwise, they will return the respective private key. | ||
| Once the `initialize` method executes successfully, you can use the `getPrivateKey` or `getEd25519PrivateKey` methods to verify if an active session exists. If there is no active session, these methods will return an empty string; otherwise, they will return the respective private key. |
There was a problem hiding this comment.
This is changed, the initialize method will throw an error that needs to be swallowed if the session is not present.
initialize method can fail if the session is not present, or if there is an network issue to get the dashboard configuration, or session validation.
There was a problem hiding this comment.
added extra context
| var buildEnv: BuildEnv? = BuildEnv.PRODUCTION, | ||
| @Transient var redirectUrl: Uri, | ||
| var sdkUrl: String = getSdkUrl(buildEnv), | ||
| val web3AuthNetwork: Web3AuthNetwork, |
There was a problem hiding this comment.
Missing few, can't see account abstraction config.
| import TabItem from '@theme/TabItem' | ||
| import Tabs from '@theme/Tabs' | ||
|
|
||
| The `showWalletUI` method launches a WebView which allows you to use the templated wallet UI services. The method automatically uses the chain configuration from your project settings and no longer requires manual `ChainConfig` parameter. Wallet Services is currently only available for EVM chains. |
There was a problem hiding this comment.
Missing AccountAbstraction information.
| // ... | ||
| // focus-next-line | ||
| implementation 'com.github.web3auth:web3auth-android-sdk:7.4.0' | ||
| implementation 'com.github.web3auth:web3auth-android-sdk:10.0.0' |
There was a problem hiding this comment.
Page needs revamp, the tutorial is outdated. Lot of breaking changes from 7.4.0, to 10.0.
AyushBherwani1998
left a comment
There was a problem hiding this comment.
Left few comments, also missing account abstraction page.
ba28ca9 to
9c52c1c
Compare
|
No dependency changes detected. Learn more about Socket for GitHub. 👍 No dependency changes detected in pull request |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 9b792a8. Configure here.
alexandratran
left a comment
There was a problem hiding this comment.
Added some fixes to enable the PR to pass, including fixing links and instances of android login usage in the authentication pages.
10f3bc4
f22a96f to
10f3bc4
Compare
shahbaz17
left a comment
There was a problem hiding this comment.
LGTM
Simply add http://tenderly.co to the ignorePatterns in .linkspector.yml file to get rid of the Link error

Update android sdk to v10
Note
Low Risk
Documentation-only changes with no application runtime impact; integrators must follow the v10 migration to avoid production auth/wallet breakage.
Overview
Updates Embedded Wallets Android SDK documentation from v9 to v10 (
web3auth-android-sdk:10.0.1), including a rewritten migration guide, get-started/advanced/usage pages, and sidebar/quickstart links.Breaking API changes documented:
login()→connectTo()withAuthConnection(replacesProvider);loginConfig→authConnectionConfig;Network→Web3AuthNetwork;redirectUrlasStringwithWeb3Auth(context)passed separately;getPrivKey()/getEd25519PrivKey()→getPrivateKey()/getEd25519PrivateKey();launchWalletServices()→showWalletUI()without in-codeChainConfig;request()takes only method and params (chains from dashboard). Custom auth (Auth0/Firebase) Android samples andUserInfofield names (authConnectionId,userId, etc.) are aligned with v10.New/removed docs: adds
connect-to.mdxandsmart-accounts.mdx(ERC-4337 /walletServicesConfig); removeslogin.mdx. Get started raises minSdk to 26, documents SFA viaidToken, and expands initialize/error behavior. Connect-blockchain snippets bump web3j and Solana examples use the new key APIs.Reviewed by Cursor Bugbot for commit f78f3a6. Bugbot is set up for automated code reviews on this repo. Configure here.