Solved
Problems with setting read permissions on Quest 2
I have an app developed in Unity3D that loads a 360 video from the "sdcard/Movies" folder.
It is running fine on my Quest 1 but I can't get the permissions set correctly on my Quest 2.
If I use "adb shell dumpsys package <package_name>" to check for the permissions it is listed as
"android.permission.READ_EXTERNAL_STORAGE: restricted=true"
Then I try to use the ADB command to change it
"adb shell pm grant <package_name> android.permission.READ_EXTERNAL_STORAGE"
But this doesn't change the restricted setting to granted=true as I would expect.
I have also included the "<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>" in the Android manifest file.
Is there something that I'm missing?
Any help is apreciated.
Eskild.
It is running fine on my Quest 1 but I can't get the permissions set correctly on my Quest 2.
If I use "adb shell dumpsys package <package_name>" to check for the permissions it is listed as
"android.permission.READ_EXTERNAL_STORAGE: restricted=true"
Then I try to use the ADB command to change it
"adb shell pm grant <package_name> android.permission.READ_EXTERNAL_STORAGE"
But this doesn't change the restricted setting to granted=true as I would expect.
I have also included the "<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>" in the Android manifest file.
Is there something that I'm missing?
Any help is apreciated.
Eskild.
