# Migrate from Clerk Android SDK v0 to v1

1. ## Update your Gradle dependency

   Update the version to `1.0.0`:
2. ### build.gradle.kts

   filename: build.gradle.kts

   ```kotlin
   dependencies {
       // For prebuilt UI components (includes API)
       implementation("com.clerk:clerk-android-ui:1.0.0")

       // Or for API only (no UI)
       implementation("com.clerk:clerk-android-api:1.0.0")
   }
   ```
3. ## Renamed properties

   The `signIn` and `signUp` properties on `Auth` have been renamed to avoid confusion with the methods of the same name:

   ```kotlin
   // v0
   val currentSignIn = Clerk.auth.signIn
   val currentSignUp = Clerk.auth.signUp
   ```

   ```kotlin
   // v1
   val currentSignIn = Clerk.auth.currentSignIn
   val currentSignUp = Clerk.auth.currentSignUp
   ```
4. ## MFA code methods

   The `sendMfaCode` builder function has been replaced with specific methods:

   ```kotlin
   // v0
   signIn = signIn.sendMfaCode { phone = phoneNumberId }
   signIn = signIn.sendMfaCode { email = emailAddressId }
   ```

   ```kotlin
   // v1
   signIn = signIn.sendMfaPhoneCode(phoneNumberId)
   signIn = signIn.sendMfaEmailCode(emailAddressId)
   ```
5. ## Sign in with ID token

   `signInWithIdToken` now uses a builder pattern:

   ```kotlin
   // v0
   val result = Clerk.auth.signInWithIdToken(idToken, IdTokenProvider.GOOGLE)
   ```

   ```kotlin
   // v1
   val result = Clerk.auth.signInWithIdToken {
       token = idToken
       provider = IdTokenProvider.GOOGLE
   }
   ```
6. ## Migration checklist

   - Update your Gradle dependency to version `1.0.0`.
   - Update auth flows to use `Clerk.auth`.
   - Move to using the new builder pattern for auth flows.

---

## Sitemap

[Overview of all docs pages](https://clerk.com/docs/llms.txt)
