-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Description
Overview
onNeverAskAgain callback is not called when "Don't ask again" is selected.
Expected
onNeverAskAgain callback is called, so I can show the appropriate UI.
Actual
onNeverAskAgain callback is not called.
Environment
- Running ktx-sample on API 29 and API 30, using ktx v1.1.3
Investigation
After debugging it, I can see that onNeverAskAgain: WeakReference<Fun>?
is null in PermissionRequestViewModel.invoke()
.
After reading through the closed issues, I came across #735. Wondering if the weakreference could be the issue? If I downgrade the ktx library to 1.0.4, onNeverAskAgain
is successfully called.
Reproducible steps
screen-20220315-112550.mp4
OKatrych, dpatel-mercari and vladyslav-dovhal-quarks-tech
Metadata
Metadata
Assignees
Labels
No labels