Download Latest Version 3.2.0 source code.zip (1.7 MB)
Email in envelope

Get an email when there's a new version of SDK for Shipping Android Logs

Home / 3.2.0
Name Modified Size InfoDownloads / Week
Parent folder
3.2.0 source code.tar.gz 2021-06-25 1.6 MB
3.2.0 source code.zip 2021-06-25 1.7 MB
README.md 2021-06-25 1.0 kB
Totals: 3 Items   3.3 MB 0

The 3.2.0 release makes the Sematext Logs Android SDK compatible with the Android SDK 30. It changes now you initialize the automatic location enrichment - the application is now responsible for asking the user for permission to use the location data. If the permissions are not granted automatic location enrichment will not be working.

One of the following permissions are required for automatic location:

android.permission.ACCESS_COARSE_LOCATION
android.permission.ACCESS_FINE_LOCATION

The initialization itself case be done in the following way:

// first initialize the Logsene object
Logsene.init(this);
Logsene logsene = Logsene.getInstance();
.
.
.
// once the permissions are granted initialize the location listener
logsene.initializeLocationListener(context);

Refer to Enriching Logs with Location section of the README file to learn more.

Source: README.md, updated 2021-06-25