Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70434

Multi APP lib, can you access APP specific files (eg. environment?)

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 70434

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>