The problem with Android is that permissions can be disabled on a whim, no matter how you set them up, and JUCE doesn’t allow any flexible way of checking and prompting for the required permissions. This is especially problematic if we rely on file CRUD operations, and the user decides to disable file permissions (nothing we can control on the field, but we can definitely manage this in the app).
No solution is straightforward to extend JUCE: Android contains too many permissions to count (Manifest.permission | Android Developers) so I don’t think a reasonable request would be to “just add all of them” to the list of juce::RuntimePermissions::PermissionID
.
Instead, a flexible option could be allowing users to check string versions of these IDs. (eg: QtAndroid::checkPermission
)