I am currently working on creating native versions of a small meteor application that I developed. Running them on iOS or Android using the meteor run
command is successful, and using meteor build
with --debug
generates an ipa/apk that functions properly. However, running meteor build
without --debug
results in the web view displaying only a white screen. Upon remote debugging, I discovered an injector error. After examining the contents of the non-debug ipa/apk, I noticed that the directory assets/www/application/packages
lacked the necessary .js and .js.map files present in the debug version.
Further inspection revealed that the index.html file in the non-debug ipa/apk was missing imports for these files as well.
What steps can I take to instruct meteor to include these essential files for non-debug builds?