TIP: Android Runtime Permissions and JUCE


#1

I’ve tried to build with latest dev branch and use the JUCE non-native browser. and most folders were empty… I’ve scratched my head until I’ve figure it might be the Android runtime permissions.
So even if you add on your manifest:

android.permission.READ_EXTERNAL_STORAGE
android.permission.WRITE_EXTERNAL_STORAGE

It won’t work.

TL;DR
https://juce.com/doc/classRuntimePermissions

Would be mandatory for most modern audio apps.


#2

Yup. Older Android versions do not require runtime permissions, but always asking for them is a sensible default to make things work across different Android versions.