permissions-dispatcher/PermissionsDispatcher ? reverse-engineered prompt

Reverse engineered prompt

Build me an Android library that makes runtime permissions easy to use with simple annotations instead of writing a bunch of permission checks by hand.

I want it to work with both Java and Kotlin, generate the permission handling code for me, and stay reflection free. The library should let me mark a screen or fragment, then add methods for things like when a permission is needed, when I should show a rationale, when permission is denied, and when the user picks never ask again. It should also include a clean sample app that shows the full flow with something like camera permission, plus Kotlin support helpers if that fits.

Please make it feel like a real reusable open source project, with tests, documentation, and a straightforward way to plug it into an Android app. If anything about current Android or Gradle setup has changed, look up the latest docs online and use the modern approach.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab