Permissions during configuration changes. #91
Unanswered
farhazulmullick-pw
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
controller .providePermission(permission) throws
dev.icerock.moko.permissions.RequestCanceledExceptiononConfiguration changes like screen rotation. Activity /WCan request only one set of permissions at a timesteps:
Code
To fix this i called entire scope.launch() with a strategy like rememberSaveble {}. Now exceptions were not thrown but after a screen-rotation onGranted(), onDeniedAlways() and onDenied() is not being called.
Can you please help me how can i handle for configuration changes?
All reactions