How to package LoVR code for Oculus Quest (2) #510
-
Hello Bjorn and all, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Instead of pushing files to the sdcard directory to iterate, it's possible to make an apk that includes the project files. When building an apk (see the Compiling guide) there is an option All this compile option does is include the project under the At least 2 people have started to go through the Oculus Store review process with lovr projects, and there have already been some small fixes made to lovr in response to problems Oculus has pointed out. The list of requirements is public: here |
Beta Was this translation helpful? Give feedback.
Instead of pushing files to the sdcard directory to iterate, it's possible to make an apk that includes the project files. When building an apk (see the Compiling guide) there is an option
CONFIG_ANDROID_ASSETS
that can be used to automatically include a lovr project in the apk. It's done this way at build time because an apk has to be re-signed whenever its files change.All this compile option does is include the project under the
assets
path of the apk (e.g.assets/main.lua
, APKs are just zip archives). It might be possible to achieve the same thing without recompiling using a tool likeapktool
, but I haven't tried it.At least 2 people have started to go through the Oculus Store revie…