A project that I’ve been working on recently seems to run into issues when using the --prod tag to build the apk files and the iOS equivalent. There is nothing in terms of error feedback, however, certain aspects of the application seems to be missing.
When testing it with the commands I believe --prod contains (–aot --minifycss --minifyjs --optimizejs) I manage to narrow the issue down to --minifyjs and --optimizejs. It seems that using these two options completely disrupts some of the applications dependencies (I think). Using --optimizejs causes the application to white screen after the splash is displayed, and using --minifyjs causes menu items and functionality to disappear.
To give an example of what happens, we have a menu, with page specific options, so page A has “Create something”, and page B has “Delete something”, and without --minifyjs, opening the menu on the specific pages yields the correct contextual options, but using the --minifyjs tag the contextual options are missing from the menu. Everything else in the application works as it’s supposed to, but the ViewController in the popup menu seems to not be able to determine which page it’s being called from.
Any help on the matter would be much appreciated.