https://kotlinlang.org logo
#android
Title
# android
t

the great warrior

01/17/2023, 9:37 PM
Hi guys, I use a runtime permission library called Kpermission to request permission, but the issue is the permission request follows device language and not app language
😶 8
m

madhur

01/31/2023, 12:04 PM
that library would be using this
Copy code
Resources.getSystem().getConfiguration().locale.getLanguage();
instead of this
Copy code
String currentLang = Locale.getDefault().getLanguage();
just add the KPermission library as a seperate module and replace the code😉
6 Views