API Reference / API Methods / Update the client

It’s recommended to use the Kotlin API client, which is better suited for Android development.

You should keep your API client up to date, as the SLA applies only if your API client is up to date.

Semantic versioning

All the Algolia API clients follow Semantic Versioning.

Latest version

You can check what the latest version of the API client is on the GitHub release page.

Update the API client

It’s recommended to use the Kotlin API client, which is better suited for Android development.

Go to your build.gradle file and do a Gradle Sync. Once done, check the line for com.algolia:algoliasearch-android: if it is highlighted with the warning “a newer version com.algolia:algoliasearch-android than X is available: Y”, you can replace X by Y and build your project to upgrade.

Without Android Studio

Go to the latest release on GitHub and note its release number, e.g. X.Y.Z. Go to your build.gradle file, find the line with com.algolia:algoliasearch-android, replace its version by X.Y.Z and build your project to upgrade.

Did you find this page helpful?