Closed varrav closed 3 years ago
Does your app still support for API 16?
Does your app still support for API 16?
It's ~2% of traffic, while all main sdks used in my apps are support API 16 I will support it too.
I locally patched LocalizationUtility.kt:
fun applyLocalizationContext
for API 16 will return updated baseContext
val configBase = baseContext.resources.configuration
configBase.locale = currentLocale
baseContext.resources.updateConfiguration(configBase, baseContext.resources.displayMetrics)
baseContext
instead of context
which is LocalizationContext
type
Apply this code only in API 16 or lower? Let me add this in the library
Apply this code only in API 16 or lower? Let me add this in the library
I tried only on API 16, as my lowest used API
Sorry, I forget to tell you that I fixed in 1.2.6. Please check it out.
Hi! On android API 16 I get such exception (and crash):
InactivityHandler is defined in AndroidManifest as