Helper class that helps you to check device information. For example, if the device runs MIUI.
dependencies {
implementation "dev.rikka.rikkax.compatibility:compatibility:<version>"
}
androidx.annotation:annotation
dev.rikka.rikkax.lazy:lazy
This library contains only one class rikka.compatibility.DeviceCompatibility
.
// Check if the device runs MIUI, other methods are as simple as this
boolean isMiui = DeviceCompatibility.isMiui();