> For the complete documentation index, see [llms.txt](/llms.txt).

# Migration guide from v7.1.2 to v7.2 for Embedded Wallets Android SDK

## Overview[​](#overview "Direct link to Overview")

This migration guide provides steps for upgrading from version 7.1.2(v7.1.2) to version 7.2(v7.2) of the Embedded Wallets Android SDK. The guide outlines significant changes and enhancements, including the introduction of new login providers, and `launchWalletServices` updates.

## Changes in detail[​](#changes-in-detail "Direct link to Changes in detail")

### `launchWalletServices` method updates[​](#launchwalletservices-method-updates "Direct link to launchwalletservices-method-updates")

From v7.2, the `loginParams` is removed from the `launchWalletServices` method. Developers only need to pass the `chainConfig` as the required parameter.

#### Before (v7.1.2)[​](#before-v712 "Direct link to Before (v7.1.2)")

Usage

```
val launchWalletCompletableFuture = web3Auth.launchWalletServices(
    loginParams = LoginParams(
        selectedLoginProvider,
        extraLoginOptions = null,
        mfaLevel = MFALevel.NONE,
    ),

    chainConfig = ChainConfig(
        chainId = "0x1",
        rpcTarget = "https://mainnet.infura.io/v3/$key",
        ticker = "ETH",
        chainNamespace = ChainNamespace.EIP155
    )
)

launchWalletCompletableFuture.whenComplete { _, error ->
    if (error == null) {
        Log.d("MainActivity_Web3Auth", "Wallet launched successfully")
    } else {
        Log.d("MainActivity_Web3Auth", error.message ?: "Something went wrong")
    }
}

```

#### After (v7.2)[​](#after-v72 "Direct link to After (v7.2)")

Usage

```

val launchWalletCompletableFuture = web3Auth.launchWalletServices(
    chainConfig = ChainConfig(
        chainId = "0x1",
        rpcTarget = "https://mainnet.infura.io/v3/$key",
        ticker = "ETH",
        chainNamespace = ChainNamespace.EIP155
    )
)

launchWalletCompletableFuture.whenComplete { _, error ->
    if (error == null) {
        Log.d("MainActivity_Web3Auth", "Wallet launched successfully")
    } else {
        Log.d("MainActivity_Web3Auth", error.message ?: "Something went wrong")
    }
}

```

### New Login providers[​](#new-login-providers "Direct link to New Login providers")

v4 update brings two new providers. Now developers can use the SMS Passwordless and Farcaster login options.

#### SMS Passwordless[​](#sms-passwordless "Direct link to SMS Passwordless")

```
import com.web3auth.core.Web3Auth
import com.web3auth.core.types.Web3AuthOptions

val web3Auth = Web3Auth(
  Web3AuthOptions(
    context = this,
    clientId = "YOUR_WEB3AUTH_CLIENT_ID", // Pass your Web3Auth Client ID, ideally using an environment variable
    network = Network.MAINNET,
    redirectUrl = Uri.parse("{YOUR_APP_PACKAGE_NAME}://auth"),
  )
)

val loginCompletableFuture: CompletableFuture<Web3AuthResponse> = web3Auth.login(
  LoginParams(
    Provider.SMS_PASSWORDLESS,
    extraLoginOptions = ExtraLoginOptions(login_hint = "+91-9911223344")
  )
)


```

#### Farcaster[​](#farcaster "Direct link to Farcaster")

Usage

```
val loginCompletableFuture: CompletableFuture<Web3AuthResponse> = web3Auth.login(
  LoginParams(
    Provider.farcaster,
  )
)

```
