icerockdev / moko-permissions

Runtime permissions controls for mobile (android & ios) Kotlin Multiplatform development

Home Page:https://moko.icerock.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Android. Empty grantResults array is not consumed.

qwert2603 opened this issue · comments

Hello! According to docs of Fragment.onRequestPermissionsResult:

It is possible that the permissions request interaction with the user is interrupted.
In this case you will receive empty permissions and results arrays which should be treated as a cancellation.

But method ResolverFragment.onRequestPermissionsResult does not consume that case.

will be in 0.8.0