# Android

## Summary

* Bug fixes and improvements.
* Identity changes
  * Added `clearIdentity()` that must be called on logout
  * `setIdentity()` failure will be considered as user not logged in
  * `setidentity()` needs to be called once during login (please see `1.30` migration page)
* Minimum Android supported bumped to `10`

### Breaking Changes

* `setIdentity()` API Complete Redesign (Please see [migration](/migration-notes/android/1.29.1-greater-than-1.30.0.md))
* Removed methods/fileds
  * `ImsSdkManager.updateSdkConfig(context: Context)`
  * `SdkConfigBuilder.apiKey`

### **New Features**

* `clearIdentity(context: Context)` - New method to properly clear user identity on logout
  * Clears internal identity
  * Cancels any scheduled work
  * Call on Logout


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sdk.ims.tech/releases/1.30.0/android.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
