Android 12, Copy OOB file programatically
I am wtitting an application using unity with suport of AAR, for the Meta quest 3 which is right now running Android 12. The goal of the app is to serve as an app distribution hub, downloading and installing other apps. As a part of installation the app, the app is being registered as device owner. The problem lies in fact that after installing the apk with packageInstaller i need to then copy over the OBB file to the respective folder, but while installing packages is not a problem, i am denied access to the obb folder.