Hello you all,
I have made local state to check if we already have the necessary permissions. This is false by default, and changed to true when user grants permission. App state is persistent
But it happens a lot of time that the permission popup comes automatically instead of after user clicking the required button and when users grants the permission in this case, the user still see those permission buttons (conditional) because the app state is still not updated.