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:
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).Locate the
dependencies
block in thebuild.gradle(.kts)
file.Locate the line
implementation("ai.pulselabs:flightrecorder:x.x.x") where x.x.x
is the previous version number.Change the version number to the new version you want.
You should be prompted to sync Gradle by Android Studio. Click the sync now link.
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