SDK for Android to measure your apps with Matomo. Works on Android phones, tablets, Fire TV sticks, and more!
https
and matomo.org
Timber
and SupportAnnotations
leaking through (#204, #184, #207)2XX
status code), the response can contain an error stream. This error stream can leak an open socket if not consumed (or at least explicitly closed). See #199.GZIP
& POST
the OutputStream
could leak resources if it is not explicitly closed.send(Packet)
call.A feature release with a few (possibly) breaking changes, thus the major version increasing.
TrackHelper
behavior (#164).Dispatcher
and PacketSender
implementations (#172).JavaVersion.VERSION_1_8
for library and example app.minSDK
was raised to 14, targetSDK
to 27.TrackHelper.build()
can now throw an exception if you supply bad arguments. Argument checking now happens when calling build()
not before. There is now a TrackHelper.safelyWith(...)
that silently ignores errors.null
unless it is explicitly annotated with @Nullable
.build.gradle
. Embrace the lambdas it's officially supported since Android Studio 3.0 👍.compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
This release contains API changes.
auth_token
supportuser-agent
value, the SDK will attempt to build one out of the available device info.Documentation regarding migration from v1.X to v2.X can be found here.