I'm trying to make a Quest VR app that operates offline. Does anyone have a working sample of reading in data designed to be packaged with the Android APK? Should I be using the persistentDataPath? What is the best way of copying the data from it's location in the editor into the final APK?
You will just need to sideload the slpk onto the device or download it from a server on the android phone. You can see something similar here https://developers.arcgis.com/android/offline-maps-scenes-and-data/tutorials/display-a-map-from-a-mo...
FWIW, the Meta App store seems to do things slightly differently. I had my data in StreamingAssets but that gets compressed in the OBB file and isn't directly accessible to the SDK. UnityWebRequest is be able to correctly access the data, but ESRI is using it's own network library. I'm using https://github.com/gwiazdorrr/BetterStreamingAssets.git to check if the file exists in Application.persistentDataPath and copying it there before accessing the layer.