getditto/demoapp-chat

You shouldn't have to click a button "request permissions" to see permissions screen

okdistribute opened this issue · 1 comments

You shouldn't have to click a button "request permissions" to see permissions screen
abunur commented

@okdistribute the button is required due to the nature of Compose and interop with the activity. The permissions request is using Accompanist library for requesting permissions from Compose, and you can't just launch the Accompanist call to launch the permissions UI request without first presenting the user with a UI with dialog explaining the request and presenting a request button, as far as I have been able to determine.

cc @phatblat