Re: Android - Webview Method on WebViewCoreThread Warning

2013-07-11 Thread Andreas Sander
Maybe you should also allow to clear only RAM Cache by controlling the boolean 
parameter on native clearCache command? So navigator.app.clearCache(boolean 
includeDiskFiles) would match webView.clearCache(boolean includeDiskFiles). 
Wouldn't that be better to give more control to the user?

On default I would set the parameter to true, but giving the option to only 
clear the RAM cache.

See 
http://developer.android.com/reference/android/webkit/WebView.html#clearCache(boolean)


Am 11.07.2013 um 22:36 schrieb Simon MacDonald :

> Just checked it in for 2.9.x. Did we drop the App plugin in 3.0? If so did
> we let people know it was going away or do we count it as undocumented?
> 
> 
> Simon Mac Donald
> http://hi.im/simonmacdonald
> 
> 
> On Thu, Jul 11, 2013 at 4:30 PM, Joe Bowser  wrote:
> 
>> Fair enough.
>> 
>> On Thu, Jul 11, 2013 at 12:58 PM, Simon MacDonald
>>  wrote:
>>> It's a simple fix Joe, I'm doing it now.
>>> 
>>> 
>>> Simon Mac Donald
>>> http://hi.im/simonmacdonald
>>> 
>>> 
>>> On Thu, Jul 11, 2013 at 3:55 PM, Joe Bowser  wrote:
>>> 
>>>> Can you attach the plugin to the ticket so we can incorporate the fix?
>>>> 
>>>> On Thu, Jul 11, 2013 at 12:35 PM, Andreas Sander
>>>>  wrote:
>>>>> I've created an issue for that:
>>>>> 
>>>>> https://issues.apache.org/jira/browse/CB-4155
>>>>> 
>>>>> BTW: I've resolved the problem, by creating a plugin, to call the
>>>> clearCache command in UIThread.
>>>>> 
>>>>> Am 11.07.2013 um 16:28 schrieb Simon MacDonald <
>>>> simon.macdon...@gmail.com>:
>>>>> 
>>>>>> This is the Android App plugin in Cordova core. Andreas, can you
>> open an
>>>>>> issue on JIRA so this can be tracked/fixed.
>>>>>> 
>>>>>> 
>>>>>> Simon Mac Donald
>>>>>> http://hi.im/simonmacdonald
>>>>>> 
>>>>>> 
>>>>>> On Thu, Jul 11, 2013 at 8:34 AM, Andrew Grieve >> 
>>>> wrote:
>>>>>> 
>>>>>>> Are you doing this from a plugin? If so, you should use
>>>>>>> cordova.getActivity().runOnUiThread()
>>>>>>> 
>>>>>>> 
>>>>>>> On Thu, Jul 11, 2013 at 4:31 AM, Andreas Sander
>>>>>>> wrote:
>>>>>>> 
>>>>>>>> Hi together,
>>>>>>>> 
>>>>>>>> I've found out that Android is caching some HTTP-Responses, so I'm
>>>> using
>>>>>>>> navigator.app.clearCache(); to trigger the clearing procedure
>>>> manually.
>>>>>>>> 
>>>>>>>> But in logcat I get the following Warning:
>>>>>>>> 
>>>>>>>> java.lang.Throwable: Warning:
>>>>>>>> A WebView method was called on thread 'WebViewCoreThread'.
>>>>>>>> All WebView methods must be called on the UI thread. Future
>> versions
>>>> of
>>>>>>>> WebView may not support use on other threads.
>>>>>>>> 
>>>>>>>> I use Cordova 2.7.3.
>>>>>>>> 
>>>>>>>> Can you help me to fix this thread compatibility problem?
>>>>>>>> 
>>>>>>>> I can see that android.webkit.WebViewCoreThread.run is used. I
>> guess
>>>>>>>> that's the problem.
>>>>>>>> 
>>>>>>>> Any help is appreciated!
>>>>>>>> 
>>>>>>>> With best regards,
>>>>>>>> 
>>>>>>>> Andreas
>>>>>>>> 
>>>>>>>> 
>>>>>>> 
>>>>> 
>>>> 
>> 



Re: Android - Webview Method on WebViewCoreThread Warning

2013-07-11 Thread Andreas Sander
Simply calling the native WebView clearCache command 
(http://developer.android.com/reference/android/webkit/WebView.html#clearCache(boolean))
 on the UI thread with cordova.getActivity().runOnUiThread() should help. 
That's the main essence of my plugin.

Am 11.07.2013 um 21:58 schrieb Simon MacDonald :

> It's a simple fix Joe, I'm doing it now.
> 
> 
> Simon Mac Donald
> http://hi.im/simonmacdonald
> 
> 
> On Thu, Jul 11, 2013 at 3:55 PM, Joe Bowser  wrote:
> 
>> Can you attach the plugin to the ticket so we can incorporate the fix?
>> 
>> On Thu, Jul 11, 2013 at 12:35 PM, Andreas Sander
>>  wrote:
>>> I've created an issue for that:
>>> 
>>> https://issues.apache.org/jira/browse/CB-4155
>>> 
>>> BTW: I've resolved the problem, by creating a plugin, to call the
>> clearCache command in UIThread.
>>> 
>>> Am 11.07.2013 um 16:28 schrieb Simon MacDonald <
>> simon.macdon...@gmail.com>:
>>> 
>>>> This is the Android App plugin in Cordova core. Andreas, can you open an
>>>> issue on JIRA so this can be tracked/fixed.
>>>> 
>>>> 
>>>> Simon Mac Donald
>>>> http://hi.im/simonmacdonald
>>>> 
>>>> 
>>>> On Thu, Jul 11, 2013 at 8:34 AM, Andrew Grieve 
>> wrote:
>>>> 
>>>>> Are you doing this from a plugin? If so, you should use
>>>>> cordova.getActivity().runOnUiThread()
>>>>> 
>>>>> 
>>>>> On Thu, Jul 11, 2013 at 4:31 AM, Andreas Sander
>>>>> wrote:
>>>>> 
>>>>>> Hi together,
>>>>>> 
>>>>>> I've found out that Android is caching some HTTP-Responses, so I'm
>> using
>>>>>> navigator.app.clearCache(); to trigger the clearing procedure
>> manually.
>>>>>> 
>>>>>> But in logcat I get the following Warning:
>>>>>> 
>>>>>> java.lang.Throwable: Warning:
>>>>>> A WebView method was called on thread 'WebViewCoreThread'.
>>>>>> All WebView methods must be called on the UI thread. Future versions
>> of
>>>>>> WebView may not support use on other threads.
>>>>>> 
>>>>>> I use Cordova 2.7.3.
>>>>>> 
>>>>>> Can you help me to fix this thread compatibility problem?
>>>>>> 
>>>>>> I can see that android.webkit.WebViewCoreThread.run is used. I guess
>>>>>> that's the problem.
>>>>>> 
>>>>>> Any help is appreciated!
>>>>>> 
>>>>>> With best regards,
>>>>>> 
>>>>>> Andreas
>>>>>> 
>>>>>> 
>>>>> 
>>> 
>> 



Re: Android - Webview Method on WebViewCoreThread Warning

2013-07-11 Thread Andreas Sander
I've created an issue for that:

https://issues.apache.org/jira/browse/CB-4155

BTW: I've resolved the problem, by creating a plugin, to call the clearCache 
command in UIThread.

Am 11.07.2013 um 16:28 schrieb Simon MacDonald :

> This is the Android App plugin in Cordova core. Andreas, can you open an
> issue on JIRA so this can be tracked/fixed.
> 
> 
> Simon Mac Donald
> http://hi.im/simonmacdonald
> 
> 
> On Thu, Jul 11, 2013 at 8:34 AM, Andrew Grieve  wrote:
> 
>> Are you doing this from a plugin? If so, you should use
>> cordova.getActivity().runOnUiThread()
>> 
>> 
>> On Thu, Jul 11, 2013 at 4:31 AM, Andreas Sander
>> wrote:
>> 
>>> Hi together,
>>> 
>>> I've found out that Android is caching some HTTP-Responses, so I'm using
>>> navigator.app.clearCache(); to trigger the clearing procedure manually.
>>> 
>>> But in logcat I get the following Warning:
>>> 
>>> java.lang.Throwable: Warning:
>>> A WebView method was called on thread 'WebViewCoreThread'.
>>> All WebView methods must be called on the UI thread. Future versions of
>>> WebView may not support use on other threads.
>>> 
>>> I use Cordova 2.7.3.
>>> 
>>> Can you help me to fix this thread compatibility problem?
>>> 
>>> I can see that android.webkit.WebViewCoreThread.run is used. I guess
>>> that's the problem.
>>> 
>>> Any help is appreciated!
>>> 
>>> With best regards,
>>> 
>>> Andreas
>>> 
>>> 
>> 



Android - Webview Method on WebViewCoreThread Warning

2013-07-11 Thread Andreas Sander
Hi together,

I've found out that Android is caching some HTTP-Responses, so I'm using 
navigator.app.clearCache(); to trigger the clearing procedure manually.

But in logcat I get the following Warning:

java.lang.Throwable: Warning: 
A WebView method was called on thread 'WebViewCoreThread'. 
All WebView methods must be called on the UI thread. Future versions of WebView 
may not support use on other threads.

I use Cordova 2.7.3.

Can you help me to fix this thread compatibility problem?

I can see that android.webkit.WebViewCoreThread.run is used. I guess that's the 
problem.

Any help is appreciated!

With best regards,

Andreas

  

Re: iOS - Webkit Debug Proxy

2013-06-18 Thread Andreas Sander
Yes, indeed you can use the awesome Chrome Debugging-Tools and live-debug your 
app. Really neat!

Am 17.06.2013 um 22:48 schrieb Shazron :

> Awesome - although if you are developing on Mac, you can already use Safari
> 6: http://moduscreate.com/enable-remote-web-inspector-in-ios-6/
> But this will allow you to use Chrome if you want to, I suppose
> 
> 
> On Mon, Jun 17, 2013 at 12:41 PM, Andreas Sander
> wrote:
> 
>> Hi!
>> 
>> I just want to share a brilliant tool for iOS webkit debugging.
>> 
>> It's a Google github project, s.
>> https://github.com/google/ios-webkit-debug-proxy/
>> 
>> Oh man, it's really cool! The best thing is, it also works, due to the
>> webview, with Cordova builded apps. It's really neat!
>> 
>> Maybe you're already knowing it.
>> 
>> With best regards,
>> 
>> Andreas
>> 
>> 



iOS - Webkit Debug Proxy

2013-06-17 Thread Andreas Sander
Hi!

I just want to share a brilliant tool for iOS webkit debugging.

It's a Google github project, s. 
https://github.com/google/ios-webkit-debug-proxy/

Oh man, it's really cool! The best thing is, it also works, due to the webview, 
with Cordova builded apps. It's really neat!

Maybe you're already knowing it.

With best regards,

Andreas



Re: CRC32 checksum failed with Cordova 2.2.0

2013-06-11 Thread Andreas Sander
> Andreas, I'm curious if you could describe a bit why your project needs to 
> run on iOS 4? According to a couple stats I found [1, 2], usage of iOS 4 
> appears to be around 1.4% of all iOS versions. Does that fall under the 
> "don't care" or "not worth it" threshold for you?

@Marcel

My decision is based on my customer's wish to provide iOS 4 support for his 
app. I fully agree with you that all the effort needs to be taken into account 
doesn't really deserve the few percentages of people (let it be 4-5%) really 
using this app under iOS 4. I will discuss the problems with my customer again, 
but I simply tried to fulfill that iOS 4 support with cordova, but as I found 
out today that's not that simple as it seemed to me before.

> There is a way but I'm not sure how much I should support you in this
> endeavor.. You are futzing with the code at this point so, consider this
> your warning!
> 
> If you replace the contents of cordova-cli/lib/cordova-ios with the
> contents of your cordova-ios package, it *should* work. Depends on which
> version of cordova-cli you are running as the cli code has expectations
> about which bits inside the cordova-ios lib exist.
> 
> If you installed it via npm install -g then it should exist somewhere like
> /usr/local/lib/node_modules/cordova

@Filip Maj

Thanks for all of your help. I know that this isn't the intended workflow. ;-)

The cordova in usr/local is there, yes. Thx for pointing out the cordova-ios 
directory inside lib folder. I thought it should be renamed to ios. Maybe 
that's solving my main problem. ;-)

I know that I'm working on an edge case. I simply tried to get my project 
running under iOS 4. Now, without any usage of cordova cli, which is broken for 
me under cordova 2.2.0 due to this weird checksum problem, everything is 
running now.

With best regards from Germany and really thank you for your time and help!

Andreas






RE: CRC32 checksum failed with Cordova 2.2.0

2013-06-11 Thread Andreas Sander
Okay. Now I can create/update projects via scripts in the bin directory of 
cordova-ios. Is there a way to combine it with cordova cli tools?

So that I can remove and add iOS platform again? 

> From: f...@adobe.com
> To: dev@cordova.apache.org
> Date: Tue, 11 Jun 2013 08:18:59 -0700
> Subject: Re: CRC32 checksum failed with Cordova 2.2.0
> 
> Hey Andreas,
> 
> You can download the 2.2.0 tag for cordova-ios here:
> https://github.com/apache/cordova-ios/tags
> 
> On 6/11/13 1:15 AM, "Andreas Sander"  wrote:
> 
> >As I found out the npm installation doesn't include the necessary lib
> >folder. Where can I find it?
> >Is there still existing download link for Cordova 2.2.0? On
> >http://archive.apache.org/dist/cordova/ the list stops on Cordova 2.3.0,
> >the first version of cordova without any iOS 4 support. Hmpf...
> >Can somebody help me with that?
> >
> >> From: andreas.san...@hotmail.de
> >> To: dev@cordova.apache.org
> >> Subject: CRC32 checksum failed with Cordova 2.2.0
> >> Date: Tue, 11 Jun 2013 09:39:38 +0200
> >> 
> >> Hi,
> >> due to the fact that Cordova 2.2.0 is the last iOS 4 supporting
> >>release, I need to get Cordova 2.2.0 worked for my iOS project.
> >> I've installed Cordova via npm without any problems. When I try to add
> >>iOS as a platform via cordova platform add ios, I get a checksum-failed
> >>error:
> >> Downloading ios library, this may take a while...CRC32 checksum failed
> >>apache-cordova-ios-e5b4aaf
> >> Can somebody help me with that?
> >> Greets,
> >> Andreas
> >   
> 
  

RE: CRC32 checksum failed with Cordova 2.2.0

2013-06-11 Thread Andreas Sander
As I found out the npm installation doesn't include the necessary lib folder. 
Where can I find it?
Is there still existing download link for Cordova 2.2.0? On 
http://archive.apache.org/dist/cordova/ the list stops on Cordova 2.3.0, the 
first version of cordova without any iOS 4 support. Hmpf...
Can somebody help me with that?

> From: andreas.san...@hotmail.de
> To: dev@cordova.apache.org
> Subject: CRC32 checksum failed with Cordova 2.2.0
> Date: Tue, 11 Jun 2013 09:39:38 +0200
> 
> Hi,
> due to the fact that Cordova 2.2.0 is the last iOS 4 supporting release, I 
> need to get Cordova 2.2.0 worked for my iOS project.
> I've installed Cordova via npm without any problems. When I try to add iOS as 
> a platform via cordova platform add ios, I get a checksum-failed error:
> Downloading ios library, this may take a while...CRC32 checksum failed 
> apache-cordova-ios-e5b4aaf
> Can somebody help me with that?
> Greets,
> Andreas 
  

CRC32 checksum failed with Cordova 2.2.0

2013-06-11 Thread Andreas Sander
Hi,
due to the fact that Cordova 2.2.0 is the last iOS 4 supporting release, I need 
to get Cordova 2.2.0 worked for my iOS project.
I've installed Cordova via npm without any problems. When I try to add iOS as a 
platform via cordova platform add ios, I get a checksum-failed error:
Downloading ios library, this may take a while...CRC32 checksum failed 
apache-cordova-ios-e5b4aaf
Can somebody help me with that?
Greets,
Andreas   

NPM Cordova CLI Installer - Massive Problems on Windows

2013-05-30 Thread Andreas Sander
Hi,

my colleagues have massive problems with cordova npm install script on their 
windows machines (Windows 8).

I only want to tell you that because it's simply not possible to install 
Cordova CLI via NPM for my colleagues on their machines. 

On Mac OSX everything works fine.

Best regards,

Andreas

RE: Import platform specific www-files

2013-05-03 Thread Andreas Sander
Hi,
I need a tip what's wrong with my XML file.
My file structure is:
plugin||-> plugin.xml|-> www/   |> ios/> android/-> 
src/ |  ---> ios/  ---> android/
and here is my XML
When I use the asset command before android platform, everything works great. 
But inside the platform specification something seems to be wrong and nothing 
happens.
Can somebody help me with that, or is it possible to debug the xml or check it 
against a specific xml specification?
With best regards,
Andreas
http://apache.org/cordova/ns/plugins/1.0";
xmlns:android="http://schemas.android.com/apk/res/android";
id="com.phonegap.sqlitePlugin"version="1.0.0">
SQLite Plugin
  



   
   

   


  
  

> From: andreas.san...@hotmail.de
> To: dev@cordova.apache.org
> Subject: RE: Import platform specific www-files
> Date: Thu, 2 May 2013 20:41:05 +0200
> 
> Is there a way to debug my plugin.xml file?
> > From: f...@adobe.com
> > To: dev@cordova.apache.org
> > Date: Thu, 2 May 2013 09:44:52 -0700
> > Subject: Re: Import platform specific www-files
> > 
> > Hey Andreas,
> > 
> > If you are the author of the plugin, I would recommend checking out
> > plugman, which is cordova's tool for installing and uninstalling plugins
> > automatically into/from a cordova project:
> > 
> > https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;a=summary
> > 
> > 
> > In the README, there is a specification for a plugin.xml manifest. This
> > file describes what makes up your plugin, and the plugman tool uses this
> > manifest to run the installation and uninstallation. It supports the
> > following use cases, which seem to align with your objectives:
> > 
> > -  or  elements that can be nested under a particular
> >  element, denoting platform-specific web assets or javascript
> > modules that should be included in the plugin only for certain platforms.
> > - also has a  element allowing to automatically add/remove
> > sections from various cordova and native project configuration files.
> > 
> > For a few examples check out PhoneGap Build's plugins:
> > 
> > https://github.com/phonegap-build
> > 
> > They all have a plugin.xml manifest.
> > 
> > On 5/2/13 9:36 AM, "Andreas Sander"  wrote:
> > 
> > >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: mmo...@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
> > >> 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
> > > 
> > 
> 
  

RE: Import platform specific www-files

2013-05-02 Thread Andreas Sander
Is there a way to debug my plugin.xml file?
> From: f...@adobe.com
> To: dev@cordova.apache.org
> Date: Thu, 2 May 2013 09:44:52 -0700
> Subject: Re: Import platform specific www-files
> 
> Hey Andreas,
> 
> If you are the author of the plugin, I would recommend checking out
> plugman, which is cordova's tool for installing and uninstalling plugins
> automatically into/from a cordova project:
> 
> https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;a=summary
> 
> 
> In the README, there is a specification for a plugin.xml manifest. This
> file describes what makes up your plugin, and the plugman tool uses this
> manifest to run the installation and uninstallation. It supports the
> following use cases, which seem to align with your objectives:
> 
> -  or  elements that can be nested under a particular
>  element, denoting platform-specific web assets or javascript
> modules that should be included in the plugin only for certain platforms.
> - also has a  element allowing to automatically add/remove
> sections from various cordova and native project configuration files.
> 
> For a few examples check out PhoneGap Build's plugins:
> 
> https://github.com/phonegap-build
> 
> They all have a plugin.xml manifest.
> 
> On 5/2/13 9:36 AM, "Andreas Sander"  wrote:
> 
> >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: mmo...@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
> >> 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
> >   
> 
  

RE: Import platform specific www-files

2013-05-02 Thread Andreas Sander
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: mmo...@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
> 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
  

Import platform specific www-files

2013-05-02 Thread Andreas Sander
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   

RE: Ignore .svn files for building

2013-05-02 Thread Andreas Sander
I get an

Error: ENOENT, no such file or directory 'plugins/.svn/plugin.xml'

So Cordova interprets .svn as a real plugin, isn't it?

Occurs in Cordova 2.6.0 and the newest 2.7.2

> From: andreas.san...@hotmail.de
> To: dev@cordova.apache.org
> Subject: Ignore .svn files for building
> Date: Thu, 2 May 2013 10:34:44 +0200
> 
> Hi,
> 
> is there an easy way to set some filetypes (especially .svn files) to ignore 
> for building?
> 
> Greets,
> 
> Andreas
> 
  

Ignore .svn files for building

2013-05-02 Thread Andreas Sander
Hi,

is there an easy way to set some filetypes (especially .svn files) to ignore 
for building?

Greets,

Andreas
  

config.xml - phonegap properties

2013-04-30 Thread Andreas Sander
Hi,

I've a short question concerning the www/config.xml property file.

I compiled my cordova project with Cordova v1.6.0 via npm and command line. 
After creating a project with cordova create command, there are two config.xml 
properties concerning phonegap.

 
http://api.phonegap.com/1.0/device"; />

Is this a left-over of phonegap code before cordova existed?

Nevertheless:

Why does the phonegap-version is set to 1.9.0 when I'm building it with cordova 
2.6.0? Is there a meaning for this value, which I don't get? Or can I change it 
to the same version number, hence 2.6.0?

Any help is appreciated!

With best regards,

Andreas Sander