I am also seeing the error ‘Error encountered resolving symbol values statically’ when running a production build.
The error is being caused by the AOT compile. Instead of building with ionic build android -release -prod, using ionic build android -release -minifyjs -minifycss works. Potentially, -optimizejs could also be…
Thanks for putting together this second example. I’ve switched to it and it is working great. I haven’t tried using a Page component in the shared library yet, but issues I had with ionic serve not getting the compile right on the first try are resolved.
Very interested in using this method to share core code among multiple apps. Do you have any ideas about extending this to share an actual Page? I am still new to Ionic and having trouble. I have structured a Page in a Module similar to how your Component Module is setup. However, I am having trouble figuring out how to import the Page in a second page to hand into this.navCtrl, etc.