@Staal wrote:
I’m trying to create a, cordova, multi app following https://medium.com/angular-in-depth/building-an-ionic-multi-app-project-with-shared-angular-library-c9fa0383fd71
My use case is that 2 apps which differs only in config.xml, environment files and a single service (authentication). I’d like my extracted shared library to depend on the app specific environment files and my authentication service, but I’m not sure how to go about this seeing as including either in my ‘shared’ libarary via include is bound to fail:
import { environment } from '../../apps/appOne/environments/environment';
I’m looking for a way to inject these into my shared code as the first thing when my app launches.
Posts: 1
Participants: 1