So I'm building my app with Ahead of Time compilation (AOT), documented here. It makes the app load at least twice as fast as JIT compilation which is invaluable. My app is based on moodle mobile 3.7.
But there's a plugin, h5p, that works with JIT but not with AOT. Likewise, database activities work with JIT but not AOT. The official Moodle app doesn't have this issue; h5p works fine, and the official app also seems to have been compiled with AOT. Which makes me wonder if Moodle is using some updated method to compile their app for AOT and just hasn't updated their documentation yet.