Currently we have a project that has to be released with target sdk of 23. The project contains AR in it using vuforia, however it requires a split binary due to its size. This wouldn’t be a problem, but this does require that we have a scene that loads the target data from streaming assets and copies the files to the persistantdatapath.
However, we have run into a snag. Even when adding permission request to the manifest to get read and write storage permissions, the app never prompts the user for storage permission, which means the app stops at the title screen with the error that it can’t access the path.
Manually, I can go in and toggle the switch and the app works fine, however this isn’t the best user experience.
After digging around, I found we could force a prompt to our user. I found this guide:
Where Jason Knight has scripts that claim to work. I set up everything and tried to run it, but it gives the error
“AndroidJavaException: java.lang.ClassNotFoundException: com.noodlecake.unityplugins.NoodlePermissionGranter”
Does anybody have an idea of what I’m missing? Thank you in advance for any help you can provide.