> For the complete documentation index, see [llms.txt](https://docs.abtasty.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.abtasty.com/server-side/sdks/android/android.md).

# Android v4.0.0-beta4

#### Welcome to the Flagship Android SDK documentation!

The following documentation helps you to run Flagship on your native iOS app using our client library with preconfigured methods to implement the Decision API.

* [Installation](/server-side/sdks/android/android/android-installation.md)
* [Quick Start](/server-side/sdks/android/android/android-quick-start.md)
* [Reference](doc:android-reference)

## SDK features

This SDK version will help you:

* Set a [visitor ID](/server-side/glossary.md#visitor-id)
* Update [user context](doc:glossary#user-context)
* Assign campaigns via the [Decision API](/server-side/decision-api.md) or [Bucketing](/server-side/concepts/bucketing.md)
* Get flags
* Expose campaigns
* Send hits to our [Universal Collect](/server-side/concepts/universal-collect-1.md)
* Troubleshoot issues

This SDK version will help you:

## Prerequisites

* Your app must be a native Android app written in Kotlin or Java.
* Your app must at least be compatible with Android API version 21 (Android 5.0) **OR** version 16 (Android 4.1) if you use the compatibility version of our library. [See dependencies](#dependency).
* Your app must have the necessary permissions to use the Internet.
* Your app must have AndroidX enabled

## Good to know

* [Github repository](https://github.com/flagship-io/flagship-android)
* Kotlin and Java code supported.

## Versions

The latest version of our Android SDK is [**4.0.0-beta4**](/server-side/sdks/android/android/android-reference.md).

#### Change logs

Find the versions change logs on our [Github Repository](https://github.com/flagship-io/flagship-android/releases/tag/4.0.0-beta2)

#### Former versions

The documentation of the past versions are available [here](/server-side/sdks/android/archived-versions.md).

## Contact us

Feel free to [contact us](mailto:product.feedback@abtasty.com?subject=Flagship%20Developer%20Documentation) if you have any questions regarding this documentation.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.abtasty.com/server-side/sdks/android/android.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
