cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Sander <andreas.san...@hotmail.de>
Subject RE: Import platform specific www-files
Date Thu, 02 May 2013 16:36:55 GMT
Thanks!
One further question:
Is it possible to add the necessary plugin entries into the project plist (iOS) and config.xml
(android) automatically during build or do I have to do this always manually?
Do I need to specify these settings inside the plugin folder? 
> From: mmocny@chromium.org
> Date: Thu, 2 May 2013 11:55:59 -0400
> Subject: Re: Import platform specific www-files
> To: dev@cordova.apache.org
> 
> If you are using cordova-cli, there is already a merges/ folder for exactly
> this.
> 
> From the README:
> 
> Platform-specific web assets (HTML, CSS and JavaScript files) are contained
> within appropriate subfolders in this directory. These are deployed during
> a prepare to the appropriate native directory. Files placed under merges/ will
> override matching files in the www/folder for the relevant platform.
> 
> 
> On Thu, May 2, 2013 at 11:46 AM, Andreas Sander
> <andreas.sander@hotmail.de>wrote:
> 
> > Hi again ;-),
> > I use a plugin with different JavaScript files for each platform. Can I,
> > somehow, control which of these files are added to which platform specific
> > www folder during cordova build?
> > Or do I need to include both inside the www folder and refer to them based
> > on device.platform?
> > Greets,
> > Andreas
 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message