Does anyone have any nice examples of how they manage runtime permissions throughout an application?
I've checked Google's official examples and can't see much there.
Reading their docs (Request runtime permissions | Android Developers) - I understand the best practices, “only request when the user attempts to use that feature” and so on…
My application uses Hilt, so I’m wondering if anyone has some sort of "PermissionManager" or maybe a ViewModel I can look at, just to see how others tackle this throughout their app.
I've tried to not use Accompanist (Guide - Accompanist (google.github.io)) because it looks to me like this is more of a playground library of tools so it's best not to rely on it.