Update the SDK

New versions of the SDK are listed in the Releases section of https://github.com/pulselabs-ai/flight-recorder-android-package.

If you have have configured gradle to auto-update to the latest patch, minor, or major release you can sync gradle to get the latest version, providing the rules you selected will import the newest version. Otherwise you need to update the version in the gradle file:

  1. Open the module level build.gradle(.kts) file for the app. In the Project view in Android Studio this file is at ./app/build.gradle(.kts). In the Android view in Android Studio, find the file in the Gradle Scripts section, at build.gradle(.kts) (Module: app).

  2. Locate the dependencies block in the build.gradle(.kts) file.

  3. Locate the line implementation("ai.pulselabs:flightrecorder:x.x.x") where x.x.x is the previous version number.

  4. Change the version number to the new version you want.

  5. You should be prompted to sync Gradle by Android Studio. Click the sync now link.

  6. If this increases the major version number (x.x.x), consult the release notes in https://github.com/pulselabs-ai/flight-recorder-android-package to find the changes you need to make.

The SDK has now been updated.

Last updated