{"id":20747720,"url":"https://github.com/web3auth/web3auth-android-sdk","last_synced_at":"2025-08-21T17:31:24.767Z","repository":{"id":40394835,"uuid":"359686858","full_name":"Web3Auth/web3auth-android-sdk","owner":"Web3Auth","description":"Java/Kotlin seamless logins","archived":false,"fork":false,"pushed_at":"2024-10-30T06:30:21.000Z","size":711,"stargazers_count":42,"open_issues_count":2,"forks_count":17,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-10-30T08:29:49.708Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://web3auth.io/docs","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Web3Auth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-20T04:47:08.000Z","updated_at":"2024-10-16T10:56:34.000Z","dependencies_parsed_at":"2023-02-03T10:16:35.117Z","dependency_job_id":"4d47fff7-6bab-457d-85b1-3c14164010ee","html_url":"https://github.com/Web3Auth/web3auth-android-sdk","commit_stats":null,"previous_names":[],"tags_count":58,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Web3Auth%2Fweb3auth-android-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Web3Auth%2Fweb3auth-android-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Web3Auth%2Fweb3auth-android-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Web3Auth%2Fweb3auth-android-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Web3Auth","download_url":"https://codeload.github.com/Web3Auth/web3auth-android-sdk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230523755,"owners_count":18239444,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T08:14:12.645Z","updated_at":"2024-12-20T02:06:06.036Z","avatar_url":"https://github.com/Web3Auth.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Web3Auth Android SDK\n\n![SDK Version](https://jitpack.io/v/org.torusresearch/web3auth-android-sdk.svg)\n\nWeb3Auth is where passwordless auth meets non-custodial key infrastructure for Web3 apps and wallets. By aggregating OAuth (Google, Twitter, Discord) logins, different wallets and innovative Multi Party Computation (MPC) - Web3Auth provides a seamless login experience to every user on your application.\n\n## 📖 Documentation\n\nCheckout the official [Web3Auth Documentation](https://web3auth.io/docs) and [SDK Reference](https://web3auth.io/docs/sdk/android/) to get started!\n\n## 💡 Features\n- Plug and Play, OAuth based Web3 Authentication Service\n- Fully decentralized, non-custodial key infrastructure\n- End to end Whitelabelable solution\n- Threshold Cryptography based Key Reconstruction\n- Multi Factor Authentication Setup \u0026 Recovery (Includes password, backup phrase, device factor editing/deletion etc)\n- Support for WebAuthn \u0026 Passwordless Login\n- Support for connecting to multiple wallets\n- DApp Active Session Management\n\n...and a lot more\n\n## ⏪ Requirements\n\n- Android API version 24 or newer is required.\n- `compileSdkVersion` needs to be 34\n\n## ⚡ Installation\n\nIn your project-level `settings.gradle` file, add JitPack repository:\n\n```groovy\ndependencyResolutionManagement {\n     repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)\n     repositories {\n         google()\n         mavenCentral()\n         maven { url \"https://jitpack.io\" } // \u003c-- Add this line\n     }\n}\n```\n\nThen, in your app-level `build.gradle` dependencies section, add the following:\n\n```groovy\ndependencies {\n    // ...\n    implementation 'com.github.web3auth:web3auth-android-sdk:9.0.0'\n}\n```\n\n## 🌟 Configuration\nCheckout [SDK Reference](https://web3auth.io/docs/sdk/pnp/android/install#update-permissions) to configure for Android. \n\n## 💥 Getting Started\n\n```kotlin\nimport com.web3auth.core.Web3Auth\nimport com.web3auth.core.types.Web3AuthOptions\n\nclass MainActivity : AppCompatActivity() {\n    // ...\n    private lateinit var web3Auth: Web3Auth\n\n    override fun onCreate(savedInstanceState: Bundle?) {\n        super.onCreate(savedInstanceState)\n        setContentView(R.layout.activity_main)\n\n        web3Auth = Web3Auth(\n            Web3AuthOptions(\n                context = this,\n                clientId = \"YOUR_WEB3AUTH_CLIENT_ID\", // Pass over your Web3Auth Client ID from Developer Dashboard\n                network = Network.MAINNET,\n                redirectUrl = Uri.parse(\"{YOUR_APP_PACKAGE_NAME}://auth\"),\n            )\n        )\n\n        // Handle user signing in when app is not alive\n        web3Auth.setResultUrl(intent?.data)\n    }\n\n    override fun onResume() {\n        super.onResume()\n        if (Web3Auth.getCustomTabsClosed()) {\n            Toast.makeText(this, \"User closed the browser.\", Toast.LENGTH_SHORT).show()\n            web3Auth.setResultUrl(null)\n            Web3Auth.setCustomTabsClosed(false)\n        }\n    }\n    \n    override fun onNewIntent(intent: Intent?) {\n        super.onNewIntent(intent)\n\n        // Handle user signing in when app is active\n        web3Auth.setResultUrl(intent?.data)\n\n        // ...\n    }\n\n    private fun onClickLogin() {\n        val selectedLoginProvider = Provider.GOOGLE   // Can be Google, Facebook, Twitch etc\n        val loginCompletableFuture: CompletableFuture\u003cWeb3AuthResponse\u003e = web3Auth.login(LoginParams(selectedLoginProvider))\n        \n        loginCompletableFuture.whenComplete { _, error -\u003e\n            if (error == null) {\n                // render logged in UI\n            } else {\n                // render login error UI\n            }\n\n        }\n    }\n    \n    //...\n}\n```\n\n## 🩹 Examples\n\nCheckout the examples for your preferred blockchain and platform in our [examples](https://github.com/Web3Auth/web3auth-pnp-examples/tree/main/android)\n\n## 🌐 Demo\n\nCheckout the [Web3Auth Demo](https://demo-app.web3auth.io/) to see how Web3Auth can be used in an application.\n\nHave a look at our [Web3Auth PnP Android Quick Start](https://github.com/Web3Auth/web3auth-pnp-examples/tree/main/android/android-quick-start) to help you quickly integrate a basic instance of Web3Auth Plug and Play in your Android app.\n\nFurther checkout the [app folder](https://https://github.com/Web3Auth/web3auth-android-sdk/tree/master/app) within this repository, which contains a sample app.\n\n## 💬 Troubleshooting and Support\n\n- Have a look at our [Community Portal](https://community.web3auth.io/) to see if anyone has any questions or issues you might be having. Feel free to reate new topics and we'll help you out as soon as possible.\n- Checkout our [Troubleshooting Documentation Page](https://web3auth.io/docs/troubleshooting) to know the common issues and solutions.\n- For Priority Support, please have a look at our [Pricing Page](https://web3auth.io/pricing.html) for the plan that suits your needs.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweb3auth%2Fweb3auth-android-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweb3auth%2Fweb3auth-android-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweb3auth%2Fweb3auth-android-sdk/lists"}