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

Build different apps depending on the environment with the same sources

$
0
0

@shaoner wrote:

Hi,

I was wondering if there was an easy way to build different apps using the same sources.
I'd actually like to be able to build the app in "development mode" i.e. with a different name / id, so there would be two icons (app in devel and app in production).

It's really not about the storage or the app configuration (like URLs and stuff), that can be handled dynamically or with a hook.
I just find it more convenient to keep the "production" app installed while I can keep developing another version aside.

I've tried to get this working by having a config.xml.tmpl and a before_prepare hook which replaces name and id, but it cannot work this way, the platform-dependent sources seems to be generated when the platform is added. Moreover the config.xml is copied even before the before_prepare hooks to run

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles