API Reference / API Methods / Update the client
Jun. 03, 2019

Update the client

Introduction

We recommend keeping the API client up to date, as the SLA applies only if it is up to date.

Semantic Versioning

All our API clients follow Semantic Versioning.

Latest Version

You can check which is the latest version on the GitHub release page.

Update the API client

We released a Kotlin API client, which is better suited for Android development. Check it out here.

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?