[jira] [Commented] (CB-9076) Invalid platform specific config.xml when using statusbar plugin

2015-07-30 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648774#comment-14648774
 ] 

ASF GitHub Bot commented on CB-9076:


Github user miscer closed the pull request at:

https://github.com/apache/cordova-plugin-statusbar/pull/30


> Invalid platform specific config.xml when using statusbar plugin
> 
>
> Key: CB-9076
> URL: https://issues.apache.org/jira/browse/CB-9076
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, Plugin Statusbar
>Affects Versions: 5.0.0
> Environment: iOS
>Reporter: Michal Miskernik
>
> I have this config.xml in the root directory of the cordova project: 
> http://pastebin.com/jhFr7a5X
> After I run {{cordova build ios}} this is the config.xml that is in the 
> platforms/ios/Teamweek directory: http://pastebin.com/scamymmM
> The problem is that there are these two lines in the second config.xml file:
> {code:xml}
> 
> 
> {code}
> That causes the statusbar to be hidden, ie. the "true" value from the config 
> file is used instead of the "false" value that I want and that is in the 
> original config.xml file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9076) Invalid platform specific config.xml when using statusbar plugin

2015-07-30 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648773#comment-14648773
 ] 

ASF GitHub Bot commented on CB-9076:


Github user miscer commented on the pull request:


https://github.com/apache/cordova-plugin-statusbar/pull/30#issuecomment-126570699
  
Running `cordova prepare` fixes the order for me too, thanks for the tip 
@jcesarmobile.


> Invalid platform specific config.xml when using statusbar plugin
> 
>
> Key: CB-9076
> URL: https://issues.apache.org/jira/browse/CB-9076
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, Plugin Statusbar
>Affects Versions: 5.0.0
> Environment: iOS
>Reporter: Michal Miskernik
>
> I have this config.xml in the root directory of the cordova project: 
> http://pastebin.com/jhFr7a5X
> After I run {{cordova build ios}} this is the config.xml that is in the 
> platforms/ios/Teamweek directory: http://pastebin.com/scamymmM
> The problem is that there are these two lines in the second config.xml file:
> {code:xml}
> 
> 
> {code}
> That causes the statusbar to be hidden, ie. the "true" value from the config 
> file is used instead of the "false" value that I want and that is in the 
> original config.xml file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-7454) Add support for m4a audio format to Media plugin

2015-07-30 Thread Mark Brown (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648665#comment-14648665
 ] 

Mark Brown commented on CB-7454:


Oops, I didn't realise the app id changed with every build 
7524217E-4ABF-4395-A801-1C1ADB468FBD, disregard.

> Add support for m4a audio format to Media plugin
> 
>
> Key: CB-7454
> URL: https://issues.apache.org/jira/browse/CB-7454
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Plugin Media
>Reporter: Vladimir Kotikov
>  Labels: m4a, media, wp8.1
>
> Current version doesn't support m4a audio even if platform, we're running on 
> does.
> For example CB-7453 describes that media-capture for WP8.1 can record an m4a 
> file when mp3 recording fails, and the recorded file format which is fully 
> supported by Windows platform and IE11, can't be used with Media plugin due 
> to current plugin limitations.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-7454) Add support for m4a audio format to Media plugin

2015-07-30 Thread Mark Brown (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648601#comment-14648601
 ] 

Mark Brown commented on CB-7454:


Does Media support playing local m4a's on ios?

I've tried using the following paths with no success

Cannot use audio file from resource 
'ipod-library://item/item.m4a?id=1535644640347967362

Cannot use audio file from resource 
'file:///var/mobile/Containers/Data/Application/7524217E-4ABF-4395-A801-1C1ADB468FBD/Documents/Babys.m4a'

Cannot use audio file from resource 
'/var/mobile/Containers/Data/Application/7524217E-4ABF-4395-A801-1C1ADB468FBD/Documents/Babys.m4a'

> Add support for m4a audio format to Media plugin
> 
>
> Key: CB-7454
> URL: https://issues.apache.org/jira/browse/CB-7454
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Plugin Media
>Reporter: Vladimir Kotikov
>  Labels: m4a, media, wp8.1
>
> Current version doesn't support m4a audio even if platform, we're running on 
> does.
> For example CB-7453 describes that media-capture for WP8.1 can record an m4a 
> file when mp3 recording fails, and the recorded file format which is fully 
> supported by Windows platform and IE11, can't be used with Media plugin due 
> to current plugin limitations.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Updated] (CB-9428) cordova platform update doesn't update the minSdk

2015-07-30 Thread Carlos Santana (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-9428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carlos Santana updated CB-9428:
---
Priority: Critical  (was: Minor)

> cordova platform update doesn't update the minSdk
> -
>
> Key: CB-9428
> URL: https://issues.apache.org/jira/browse/CB-9428
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 4.1.0
>Reporter: jcesarmobile
>Priority: Critical
>
> When you update an existing android app to cordova android 4.1.0, the minSdk 
> on the project will not change but the minSdk on the cordovaLib will increase 
> to 14, so the app won't build/run if the app minSdk was lower than 14
> STR
> 1. Create a cordova project (cordova create androidTest)
> 2. Go to cordova project (cd androidTest)
> 3. Add android platform (cordova platform add android)
> 4. Run the app (cordova run android). It will work
> 5. Update the project to use the latest cordova android (cordova platform 
> update android@4.1.0)
> 6. Run the app again (cordova run android). It will fail with this error 
> "Execution failed for task ':processDebugManifest'.
> > Manifest merger failed : uses-sdk:minSdkVersion 10 cannot be smaller than 
> > version 14 declared in library 
> > /Users/dgc/Documents/proyectos/test/cordovatests/androidTest/platforms/android/build/intermediates/exploded-aar/android/CordovaLib/unspecified/debug/AndroidManifest.xml
>   Suggestion: use tools:overrideLibrary="org.apache.cordova" to force 
> usage"
> Expected result:
> cordova platform update android@4.1.0 should increase the minSdkVersion to 14 
> if it was lower than 14, or the upgrade doc should mention that the 
> android-minSdkVersion preference should be set to 14 or greater



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Created] (CB-9435) cordova-ios cannot handle Unicode U+2028 (line separator) or U+2029 (paragraph separator)

2015-07-30 Thread Chris Brody (JIRA)
Chris Brody created CB-9435:
---

 Summary: cordova-ios cannot handle Unicode U+2028 (line separator) 
or U+2029 (paragraph separator)
 Key: CB-9435
 URL: https://issues.apache.org/jira/browse/CB-9435
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Reporter: Chris Brody


In https://github.com/litehelpers/Cordova-sqlite-storage/issues/147 someone 
reported that my sqlite plugin could not handle \u2028 characters on iOS, and 
further testing on my part isolated this to the result callback message. I made 
a version of cordova-ext-echo at 
https://github.com/brodybits/cordova-ext-echo-and-length that can be used to 
demonstrate this issue cordova-ios.

If I install the plugin from 
https://github.com/brodybits/cordova-ext-echo-and-length and run the following 
code on the iOS version:
var Echo = cordova.require('org.apache.cordova.plugins.echo.Echo');
Echo.echo('first\u2027second', function(v) {
  console.log('cb 1: ' + v);
});
Echo.echo('third\u2028fourth', function(v) {
  console.log('cb 2: ' + v);
});
Echo.echo('fifth\u2029six', function(v) {
  console.log('cb 3: ' + v);
});

Echo.len('first\u2027second', function(v) {
  console.log('len cb 1: ' + v);
});
Echo.len('third\u2028fourth', function(v) {
  console.log('len cb 2: ' + v);
});
Echo.len('fifth\u2029six', function(v) {
  console.log('len cb 3: ' + v);
});

I get the following result:
2015-07-31 01:21:11.968 cijt[25760:18e03] cb 1: first‧second
2015-07-31 01:21:11.971 cijt[25760:18e03] len cb 1: 12
2015-07-31 01:21:11.973 cijt[25760:18e03] len cb 2: 12
2015-07-31 01:21:11.973 cijt[25760:18e03] len cb 3: 9

We can see that we can send a string with U+2028 and U+2029 from Javascript to 
Objective-C with no problems: if Objective-C calculates and returns the length 
it works but if Objective-C tries to send the same string back to Javascript it 
fails.

I discovered the following article that seems to describe the cause: 
http://timelessrepo.com/json-isnt-a-javascript-subset (Cordova does seem to 
handle the \u000A and \u000D characters OK.)

When I ran the same test program on Android (with the same plugin installed), I 
get all of the callbacks ok (trace filtered by hand):
I/chromium(14744): [INFO:CONSOLE(173)] "cb 1: first‧second", source: 
file:///android_asset/www/plugins/cordova-plugin-console/www/console-via-logger.js
 (173)
I/chromium(14744): [INFO:CONSOLE(173)] "cb 2: third
fourth", source: 
file:///android_asset/www/plugins/cordova-plugin-console/www/console-via-logger.js
 (173)
I/chromium(14744): [INFO:CONSOLE(173)] "cb 3: fifth
six", source: 
file:///android_asset/www/plugins/cordova-plugin-console/www/console-via-logger.js
 (173)
I/chromium(14744): [INFO:CONSOLE(173)] "len cb 1: 12", source: 
file:///android_asset/www/plugins/cordova-plugin-console/www/console-via-logger.js
 (173)
I/chromium(14744): [INFO:CONSOLE(173)] "len cb 2: 12", source: 
file:///android_asset/www/plugins/cordova-plugin-console/www/console-via-logger.js
 (173)
I/chromium(14744): [INFO:CONSOLE(173)] "len cb 3: 9", source: 
file:///android_asset/www/plugins/cordova-plugin-console/www/console-via-logger.js
 (173)




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9410) Support app display name and publisher display name as independent Windows preferences

2015-07-30 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648492#comment-14648492
 ] 

ASF GitHub Bot commented on CB-9410:


Github user robpaveza commented on the pull request:

https://github.com/apache/cordova-windows/pull/106#issuecomment-126521787
  
I'm game.  Let's make a Jira for it.


> Support app display name and publisher display name as independent Windows 
> preferences
> --
>
> Key: CB-9410
> URL: https://issues.apache.org/jira/browse/CB-9410
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Reporter: Rob Paveza
>Assignee: Rob Paveza
>
> Windows Store requires app display name and publisher name to be in a 
> particular format that do not agree with the version specified by `` 
> today.  This task is to add preferences to support new preferences in Windows.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9398) Document the WindowsToastCapable preference

2015-07-30 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648493#comment-14648493
 ] 

ASF GitHub Bot commented on CB-9398:


Github user nikhilkh commented on a diff in the pull request:

https://github.com/apache/cordova-docs/pull/298#discussion_r35933864
  
--- Diff: docs/en/edge/guide/platforms/win8/index.md ---
@@ -272,4 +272,18 @@ command-line tools or the SDK in your workflow. The 
Cordova CLI relies
 on cross-platform source code that routinely overwrites the
 platform-specific files used by the SDK. If you want to use the SDK to
 modify the project, use the lower-level shell tools as an alternative
-to the CLI.
\ No newline at end of file
+to the CLI.
+
+## Supporting Toasts
+
+Windows requires an app manifest capability declaration in order to 
support 
+toast notifications.  When using the `cordova-plugin-local-notifications` 
--- End diff --

Yes, it is allowed to add preferences.


> Document the WindowsToastCapable preference
> ---
>
> Key: CB-9398
> URL: https://issues.apache.org/jira/browse/CB-9398
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Reporter: Rob Paveza
>Assignee: Rob Paveza
>Priority: Trivial
>
> We didn't document the WindowsToastCapable preference when it was introduced.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9410) Support app display name and publisher display name as independent Windows preferences

2015-07-30 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648489#comment-14648489
 ] 

ASF GitHub Bot commented on CB-9410:


Github user nikhilkh commented on the pull request:

https://github.com/apache/cordova-windows/pull/106#issuecomment-126521511
  
Ah makes sense - thanks. At what point can we remove this code from 
cordova-lib - not sure if support for older project template is that relevant 
now? We could display for people to update their `windows` platform project.


> Support app display name and publisher display name as independent Windows 
> preferences
> --
>
> Key: CB-9410
> URL: https://issues.apache.org/jira/browse/CB-9410
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Reporter: Rob Paveza
>Assignee: Rob Paveza
>
> Windows Store requires app display name and publisher name to be in a 
> particular format that do not agree with the version specified by `` 
> today.  This task is to add preferences to support new preferences in Windows.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9410) Support app display name and publisher display name as independent Windows preferences

2015-07-30 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648486#comment-14648486
 ] 

ASF GitHub Bot commented on CB-9410:


Github user robpaveza commented on the pull request:

https://github.com/apache/cordova-windows/pull/106#issuecomment-126520990
  
It only goes into the case if it's an "old project template."  This change 
is only expected for newer Cordova projects.  
(src/cordova/metadata/windows_parser.js line 73).  In other words, if you have 
an out-of-date cordova-windows, you don't get the updated behavior.


> Support app display name and publisher display name as independent Windows 
> preferences
> --
>
> Key: CB-9410
> URL: https://issues.apache.org/jira/browse/CB-9410
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Reporter: Rob Paveza
>Assignee: Rob Paveza
>
> Windows Store requires app display name and publisher name to be in a 
> particular format that do not agree with the version specified by `` 
> today.  This task is to add preferences to support new preferences in Windows.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Resolved] (CB-9410) Support app display name and publisher display name as independent Windows preferences

2015-07-30 Thread Rob Paveza (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-9410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rob Paveza resolved CB-9410.

Resolution: Fixed

> Support app display name and publisher display name as independent Windows 
> preferences
> --
>
> Key: CB-9410
> URL: https://issues.apache.org/jira/browse/CB-9410
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Reporter: Rob Paveza
>Assignee: Rob Paveza
>
> Windows Store requires app display name and publisher name to be in a 
> particular format that do not agree with the version specified by `` 
> today.  This task is to add preferences to support new preferences in Windows.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9410) Support app display name and publisher display name as independent Windows preferences

2015-07-30 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648480#comment-14648480
 ] 

ASF GitHub Bot commented on CB-9410:


Github user nikhilkh commented on the pull request:

https://github.com/apache/cordova-windows/pull/106#issuecomment-126520317
  
@robpaveza - Did you get a chance to look at the comment I mentioned?


> Support app display name and publisher display name as independent Windows 
> preferences
> --
>
> Key: CB-9410
> URL: https://issues.apache.org/jira/browse/CB-9410
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Reporter: Rob Paveza
>Assignee: Rob Paveza
>
> Windows Store requires app display name and publisher name to be in a 
> particular format that do not agree with the version specified by `` 
> today.  This task is to add preferences to support new preferences in Windows.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-9410) Support app display name and publisher display name as independent Windows preferences

2015-07-30 Thread Rob Paveza (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-9410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rob Paveza closed CB-9410.
--

> Support app display name and publisher display name as independent Windows 
> preferences
> --
>
> Key: CB-9410
> URL: https://issues.apache.org/jira/browse/CB-9410
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Reporter: Rob Paveza
>Assignee: Rob Paveza
>
> Windows Store requires app display name and publisher name to be in a 
> particular format that do not agree with the version specified by `` 
> today.  This task is to add preferences to support new preferences in Windows.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9410) Support app display name and publisher display name as independent Windows preferences

2015-07-30 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648476#comment-14648476
 ] 

ASF GitHub Bot commented on CB-9410:


Github user asfgit closed the pull request at:

https://github.com/apache/cordova-windows/pull/106


> Support app display name and publisher display name as independent Windows 
> preferences
> --
>
> Key: CB-9410
> URL: https://issues.apache.org/jira/browse/CB-9410
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Reporter: Rob Paveza
>Assignee: Rob Paveza
>
> Windows Store requires app display name and publisher name to be in a 
> particular format that do not agree with the version specified by `` 
> today.  This task is to add preferences to support new preferences in Windows.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9410) Support app display name and publisher display name as independent Windows preferences

2015-07-30 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648475#comment-14648475
 ] 

ASF subversion and git services commented on CB-9410:
-

Commit 16103ea2fc104fd1afd78ef606bec6caa0904fd9 in cordova-windows's branch 
refs/heads/master from [~robpaveza]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-windows.git;h=16103ea ]

CB-9410: Added preferences for Windows Store ingestion.

`WindowsStoreDisplayName` and `WindowsStorePublisherName` are the new
properties.  If they are not provided, we fall back to the defaults
provided by ``.

This closes #106


> Support app display name and publisher display name as independent Windows 
> preferences
> --
>
> Key: CB-9410
> URL: https://issues.apache.org/jira/browse/CB-9410
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Reporter: Rob Paveza
>Assignee: Rob Paveza
>
> Windows Store requires app display name and publisher name to be in a 
> particular format that do not agree with the version specified by `` 
> today.  This task is to add preferences to support new preferences in Windows.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9278) Restoring multiple platforms fails

2015-07-30 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648477#comment-14648477
 ] 

ASF GitHub Bot commented on CB-9278:


Github user nikhilkh commented on the pull request:

https://github.com/apache/cordova-lib/pull/266#issuecomment-126519728
  
Thinking about it - wonder if you can add test case for this to prevent 
future regression. It's really a basic use case here.


> Restoring multiple platforms fails
> --
>
> Key: CB-9278
> URL: https://issues.apache.org/jira/browse/CB-9278
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: Master
> Environment: OS X
>Reporter: Dmitry Blotsky
>Assignee: Omar Mefire
>  Labels: cordova-lib, platform, restore, save
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> Steps to reproduce:
> 1. Create a blank app: {{cordova create test com.app.test test}}
> 2. Add and save a platform: {{cordova platform add --save ios}}
> 3. Add and save another platform: {{cordova platform add --save android}}
> 4. Remove the platforms: {{cordova platform remove android ios}}
> 5. Try to restore platforms automatically: {{cordova prepare}}
> Expected: both platforms installed and prepared
> Actual:
> {noformat}
> Error: Trying to initialize npm when settings have not been restored from a 
> previous initialization.
> {noformat}
> Running {{cordova prepare}} again fixes the issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9189) java.lang.NullPointerException on select from library

2015-07-30 Thread Hirbod (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648474#comment-14648474
 ] 

Hirbod commented on CB-9189:


I've the same problem here. Do you use Crosswalk? I'm starting to think that 
could be related to that..

java.lang.RuntimeException: Unable to resume activity 
{net.nachbarschaft/net.nachbarschaft.MainActivity}: java.lang.RuntimeException: 
Failure delivering result ResultInfo{who=null, request=18, result=-1, 
data=Intent { dat=content://media/external/images/media/3393 flg=0x1 (has 
extras) }} to activity {net.nachbarschaft/net.nachbarschaft.MainActivity}: 
java.lang.NullPointerException: Attempt to read from field 
'org.apache.cordova.PluginManager 
org.apache.cordova.CordovaWebView.pluginManager' on a null object reference
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4002)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4033)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3229)
at android.app.ActivityThread.access$1000(ActivityThread.java:198)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1676)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:6837)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)
Caused by: java.lang.RuntimeException: Failure delivering result 
ResultInfo{who=null, request=18, result=-1, data=Intent { 
dat=content://media/external/images/media/3393 flg=0x1 (has extras) }} to 
activity {net.nachbarschaft/net.nachbarschaft.MainActivity}: 
java.lang.NullPointerException: Attempt to read from field 
'org.apache.cordova.PluginManager 
org.apache.cordova.CordovaWebView.pluginManager' on a null object reference
at android.app.ActivityThread.deliverResults(ActivityThread.java:4672)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3988)
... 11 more
Caused by: java.lang.NullPointerException: Attempt to read from field 
'org.apache.cordova.PluginManager 
org.apache.cordova.CordovaWebView.pluginManager' on a null object reference
at org.apache.cordova.CordovaActivity.onActivityResult(CordovaActivity.java:837)
at android.app.Activity.dispatchActivityResult(Activity.java:6758)
at android.app.ActivityThread.deliverResults(ActivityThread.java:4668)
... 12 more

> java.lang.NullPointerException on select from library
> -
>
> Key: CB-9189
> URL: https://issues.apache.org/jira/browse/CB-9189
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 5.0.1
> Environment: Android. 
>Reporter: Mark Harding
>  Labels: android, camera, file, library
>
> I'm getting multiple crash reports via google play. I'm unable to replicate 
> myself but I think it could be related to CyanogenMod.
> Android 5.0 (LG Leon 4G LTE (c50))
> {code}
> java.lang.RuntimeException: Unable to resume activity 
> {com.minds.mobile/com.minds.mobile.MainActivity}: java.lang.RuntimeException: 
> Failure delivering result ResultInfo{who=null, request=18, result=-1, 
> data=Intent { 
> dat=content://com.google.android.apps.photos.contentprovider/0/1/https://lh3.googleusercontent.com/xZgV-3YvXmuR6W7uEAJOLuHHSI0nrkzZTGESgcggVi_ovpv8qkc=s0-d/ACTUAL
>  flg=0x1 (has clip) }} to activity 
> {com.minds.mobile/com.minds.mobile.MainActivity}: 
> java.lang.NullPointerException: Attempt to invoke virtual method 'void 
> org.apache.cordova.CallbackContext.success(java.lang.String)' on a null 
> object reference
> at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3040)
> at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3071)
> at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2410)
> at android.app.ActivityThread.access$800(ActivityThread.java:155)
> at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1323)
> at android.os.Handler.dispatchMessage(Handler.java:102)
> at android.os.Looper.loop(Looper.java:135)
> at android.app.ActivityThread.main(ActivityThread.java:5376)
> at java.lang.reflect.Method.invoke(Native Method)
> at java.lang.reflect.Method.invoke(Method.java:372)
> at 
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:908)
> at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:703)
> Caused by: java.lang.RuntimeException: Failure delivering result 
> ResultInfo{who=null, request=18, result=-1, data=Intent { 
> dat=content://com.google.android.apps.photos.contentprovider/0/1/https://lh3.googleusercontent.com/xZ

[jira] [Commented] (CB-9278) Restoring multiple platforms fails

2015-07-30 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648459#comment-14648459
 ] 

ASF GitHub Bot commented on CB-9278:


Github user omefire commented on the pull request:

https://github.com/apache/cordova-lib/pull/266#issuecomment-126516900
  
@nikhilkh , it's ready to be merged in.


> Restoring multiple platforms fails
> --
>
> Key: CB-9278
> URL: https://issues.apache.org/jira/browse/CB-9278
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: Master
> Environment: OS X
>Reporter: Dmitry Blotsky
>Assignee: Omar Mefire
>  Labels: cordova-lib, platform, restore, save
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> Steps to reproduce:
> 1. Create a blank app: {{cordova create test com.app.test test}}
> 2. Add and save a platform: {{cordova platform add --save ios}}
> 3. Add and save another platform: {{cordova platform add --save android}}
> 4. Remove the platforms: {{cordova platform remove android ios}}
> 5. Try to restore platforms automatically: {{cordova prepare}}
> Expected: both platforms installed and prepared
> Actual:
> {noformat}
> Error: Trying to initialize npm when settings have not been restored from a 
> previous initialization.
> {noformat}
> Running {{cordova prepare}} again fixes the issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9398) Document the WindowsToastCapable preference

2015-07-30 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648454#comment-14648454
 ] 

ASF GitHub Bot commented on CB-9398:


Github user robpaveza commented on a diff in the pull request:

https://github.com/apache/cordova-docs/pull/298#discussion_r35931879
  
--- Diff: docs/en/edge/guide/platforms/win8/index.md ---
@@ -272,4 +272,18 @@ command-line tools or the SDK in your workflow. The 
Cordova CLI relies
 on cross-platform source code that routinely overwrites the
 platform-specific files used by the SDK. If you want to use the SDK to
 modify the project, use the lower-level shell tools as an alternative
-to the CLI.
\ No newline at end of file
+to the CLI.
+
+## Supporting Toasts
+
+Windows requires an app manifest capability declaration in order to 
support 
+toast notifications.  When using the `cordova-plugin-local-notifications` 
--- End diff --

Sure, if a plugin is allowed to modify config.xml, then yes.


> Document the WindowsToastCapable preference
> ---
>
> Key: CB-9398
> URL: https://issues.apache.org/jira/browse/CB-9398
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Reporter: Rob Paveza
>Assignee: Rob Paveza
>Priority: Trivial
>
> We didn't document the WindowsToastCapable preference when it was introduced.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9278) Restoring multiple platforms fails

2015-07-30 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648452#comment-14648452
 ] 

ASF GitHub Bot commented on CB-9278:


Github user nikhilkh commented on the pull request:

https://github.com/apache/cordova-lib/pull/266#issuecomment-126516413
  
@omefire - Is this ready to be merged? It will be good to get this merged 
before the next cordova-lib release.


> Restoring multiple platforms fails
> --
>
> Key: CB-9278
> URL: https://issues.apache.org/jira/browse/CB-9278
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: Master
> Environment: OS X
>Reporter: Dmitry Blotsky
>Assignee: Omar Mefire
>  Labels: cordova-lib, platform, restore, save
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> Steps to reproduce:
> 1. Create a blank app: {{cordova create test com.app.test test}}
> 2. Add and save a platform: {{cordova platform add --save ios}}
> 3. Add and save another platform: {{cordova platform add --save android}}
> 4. Remove the platforms: {{cordova platform remove android ios}}
> 5. Try to restore platforms automatically: {{cordova prepare}}
> Expected: both platforms installed and prepared
> Actual:
> {noformat}
> Error: Trying to initialize npm when settings have not been restored from a 
> previous initialization.
> {noformat}
> Running {{cordova prepare}} again fixes the issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9398) Document the WindowsToastCapable preference

2015-07-30 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648451#comment-14648451
 ] 

ASF GitHub Bot commented on CB-9398:


Github user nikhilkh commented on a diff in the pull request:

https://github.com/apache/cordova-docs/pull/298#discussion_r35931710
  
--- Diff: docs/en/edge/guide/platforms/win8/index.md ---
@@ -272,4 +272,18 @@ command-line tools or the SDK in your workflow. The 
Cordova CLI relies
 on cross-platform source code that routinely overwrites the
 platform-specific files used by the SDK. If you want to use the SDK to
 modify the project, use the lower-level shell tools as an alternative
-to the CLI.
\ No newline at end of file
+to the CLI.
+
+## Supporting Toasts
+
+Windows requires an app manifest capability declaration in order to 
support 
+toast notifications.  When using the `cordova-plugin-local-notifications` 
--- End diff --

Ideally, the plugin should do this addition as part of plugin.xml no?


> Document the WindowsToastCapable preference
> ---
>
> Key: CB-9398
> URL: https://issues.apache.org/jira/browse/CB-9398
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Reporter: Rob Paveza
>Assignee: Rob Paveza
>Priority: Trivial
>
> We didn't document the WindowsToastCapable preference when it was introduced.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9410) Support app display name and publisher display name as independent Windows preferences

2015-07-30 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648446#comment-14648446
 ] 

ASF GitHub Bot commented on CB-9410:


Github user nikhilkh commented on the pull request:

https://github.com/apache/cordova-windows/pull/106#issuecomment-126515663
  
cordova-lib does some replacement using the `displayname` and it might not 
work with this change. I'm not tally familiar with what cordova-lib is doing - 
but would be good to review.


> Support app display name and publisher display name as independent Windows 
> preferences
> --
>
> Key: CB-9410
> URL: https://issues.apache.org/jira/browse/CB-9410
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Reporter: Rob Paveza
>Assignee: Rob Paveza
>
> Windows Store requires app display name and publisher name to be in a 
> particular format that do not agree with the version specified by `` 
> today.  This task is to add preferences to support new preferences in Windows.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-9431) 404 on "plugin add cordova-plugin-file"

2015-07-30 Thread Nikhil Khandelwal (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-9431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nikhil Khandelwal closed CB-9431.
-

> 404 on "plugin add cordova-plugin-file"
> ---
>
> Key: CB-9431
> URL: https://issues.apache.org/jira/browse/CB-9431
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaJS, CordovaLib
>Affects Versions: 3.5.0
> Environment: windows
>Reporter: Bruno Cros
>Priority: Blocker
>
> other plugin are available at download



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Resolved] (CB-9431) 404 on "plugin add cordova-plugin-file"

2015-07-30 Thread Nikhil Khandelwal (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-9431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nikhil Khandelwal resolved CB-9431.
---
Resolution: Fixed

> 404 on "plugin add cordova-plugin-file"
> ---
>
> Key: CB-9431
> URL: https://issues.apache.org/jira/browse/CB-9431
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaJS, CordovaLib
>Affects Versions: 3.5.0
> Environment: windows
>Reporter: Bruno Cros
>Priority: Blocker
>
> other plugin are available at download



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9353) Memory issue in Android version when passing a large number of JSON objects in either direction

2015-07-30 Thread Chris Brody (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648389#comment-14648389
 ] 

Chris Brody commented on CB-9353:
-

Agreed on my part.

> Memory issue in Android version when passing a large number of JSON objects 
> in either direction
> ---
>
> Key: CB-9353
> URL: https://issues.apache.org/jira/browse/CB-9353
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Reporter: Chris Brody
>Assignee: Joe Bowser
>Priority: Critical
> Fix For: 5.0.0
>
>
> As reported in 
> https://github.com/litehelpers/Cordova-sqlite-storage/issues/18: when an 
> array with a very large number of JSON objects is sent from Javascript to 
> Java, I would encounter a memory problem in JSON as called by 
> CordovaPlugin.execute():
> E/art (22291): Throwing OutOfMemoryError "Failed to allocate a 28 byte 
> allocation with 20 free bytes and 20B until OOM" (recursive case)
> E/art (22291): "JavaBridge" prio=5 tid=25 Runnable
> E/art (22291):   | group="main" sCount=0 dsCount=0 obj=0x12de6820 
> self=0xb73ae620
> E/art (22291):   | sysTid=22377 nice=0 cgrp=apps sched=0/0 
> handle=0xb73aead8
> E/art (22291):   | state=R schedstat=( 0 0 0 ) utm=653 stm=94 core=1 
> HZ=100
> E/art (22291):   | stack=0xa4ee1000-0xa4ee3000 stackSize=1036KB
> E/art (22291):   | held mutexes= "mutator lock"(shared held)
> E/art (22291):   at 
> java.util.LinkedHashMap.addNewEntry(LinkedHashMap.java:195)
> E/art (22291):   at java.util.HashMap.put(HashMap.java:403)
> E/art (22291):   at org.json.JSONObject.put(JSONObject.java:264)
> E/art (22291):   at org.json.JSONTokener.readObject(JSONTokener.java:385)
> E/art (22291):   at org.json.JSONTokener.nextValue(JSONTokener.java:100)
> E/art (22291):   at org.json.JSONTokener.readArray(JSONTokener.java:430)
> E/art (22291):   at org.json.JSONTokener.nextValue(JSONTokener.java:103)
> E/art (22291):   at org.json.JSONTokener.readObject(JSONTokener.java:385)
> E/art (22291):   at org.json.JSONTokener.nextValue(JSONTokener.java:100)
> E/art (22291):   at org.json.JSONTokener.readArray(JSONTokener.java:430)
> E/art (22291):   at org.json.JSONTokener.nextValue(JSONTokener.java:103)
> E/art (22291):   at org.json.JSONArray.(JSONArray.java:92)
> E/art (22291):   at org.json.JSONArray.(JSONArray.java:108)
> E/art (22291):   at 
> org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:64)
> E/art (22291):   at 
> org.apache.cordova.PluginManager.execHelper(PluginManager.java:242)
> E/art (22291):   at 
> org.apache.cordova.PluginManager.exec(PluginManager.java:227)
> E/art (22291):   at 
> org.apache.cordova.ExposedJsApi.exec(ExposedJsApi.java:53)
> E/art (22291):   at 
> org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native method)
> E/art (22291):   at 
> org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:53)
> E/art (22291):   at android.os.Handler.dispatchMessage(Handler.java:102)
> E/art (22291):   at android.os.Looper.loop(Looper.java:135)
> E/art (22291):   at android.os.HandlerThread.run(HandlerThread.java:61)
> The workaround, which took me some hard work to develop and test, is to send 
> my data as a flat array which the Java code has to interpret very carefully.
> In addition, in case the Java code attempts to create an array with a very 
> large number of JSON objects in order to send a response I get similar 
> problem. The workaround was again to format the response data as a flat array 
> and interpret it very carefully on the Javascript side.
> While I do have a workaround I find this to be very clumsy and hope we can 
> find a better solution. I am happy to make an isolated test plugin to 
> reproduce and demonstrate this issue if the Apache Cordova project is serious 
> about trying to fix it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-7443) Fix WP8 threading model

2015-07-30 Thread Chris Brody (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648386#comment-14648386
 ] 

Chris Brody commented on CB-7443:
-

Agreed

> Fix WP8 threading model
> ---
>
> Key: CB-7443
> URL: https://issues.apache.org/jira/browse/CB-7443
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: WP8
>Affects Versions: 3.5.0
> Environment: Windows Phone 8, others??
>Reporter: Chris Brody
>Assignee: Jesse MacFadyen
>  Labels: threads
>
> A new thread is started for every command that is dispatched to a plugin. I 
> find this to be extremely inefficient for heavy-duty applications, using the 
> sqlite plugin for example. In addition this is very inconsistent with the 
> other targets.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-7443) Fix WP8 threading model

2015-07-30 Thread Chris Brody (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648385#comment-14648385
 ] 

Chris Brody commented on CB-7443:
-

Agreed

> Fix WP8 threading model
> ---
>
> Key: CB-7443
> URL: https://issues.apache.org/jira/browse/CB-7443
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: WP8
>Affects Versions: 3.5.0
> Environment: Windows Phone 8, others??
>Reporter: Chris Brody
>Assignee: Jesse MacFadyen
>  Labels: threads
>
> A new thread is started for every command that is dispatched to a plugin. I 
> find this to be extremely inefficient for heavy-duty applications, using the 
> sqlite plugin for example. In addition this is very inconsistent with the 
> other targets.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Resolved] (CB-9408) Create an independent Windows package version (like Android and iOS have)

2015-07-30 Thread Rob Paveza (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-9408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rob Paveza resolved CB-9408.

Resolution: Fixed

> Create an independent Windows package version (like Android and iOS have)
> -
>
> Key: CB-9408
> URL: https://issues.apache.org/jira/browse/CB-9408
> Project: Apache Cordova
>  Issue Type: Bug
>Reporter: Rob Paveza
>Assignee: Rob Paveza
>
> Create a new windows-packageVersion attribute of  that enables 
> Windows to have a different built-binary version than the specific version of 
> .  This is like android-versionCode and ios-CFBundleVersion.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-9408) Create an independent Windows package version (like Android and iOS have)

2015-07-30 Thread Rob Paveza (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-9408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rob Paveza closed CB-9408.
--

> Create an independent Windows package version (like Android and iOS have)
> -
>
> Key: CB-9408
> URL: https://issues.apache.org/jira/browse/CB-9408
> Project: Apache Cordova
>  Issue Type: Bug
>Reporter: Rob Paveza
>Assignee: Rob Paveza
>
> Create a new windows-packageVersion attribute of  that enables 
> Windows to have a different built-binary version than the specific version of 
> .  This is like android-versionCode and ios-CFBundleVersion.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-9283) Windows 10: Migrate to new deployment infrastructure

2015-07-30 Thread Rob Paveza (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-9283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rob Paveza closed CB-9283.
--

> Windows 10: Migrate to new deployment infrastructure
> 
>
> Key: CB-9283
> URL: https://issues.apache.org/jira/browse/CB-9283
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Windows
>Reporter: Rob Paveza
>Assignee: Rob Paveza
>
> The Windows 10 SDK includes a new deployment tool, WinAppDeployCmd, which 
> supercedes Windows Phone 8.1's AppDeployCmd.  Its command line interface is 
> incompatible.  This task is to migrate to WinAppDeployCmd.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Resolved] (CB-9283) Windows 10: Migrate to new deployment infrastructure

2015-07-30 Thread Rob Paveza (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-9283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rob Paveza resolved CB-9283.

Resolution: Fixed

> Windows 10: Migrate to new deployment infrastructure
> 
>
> Key: CB-9283
> URL: https://issues.apache.org/jira/browse/CB-9283
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Windows
>Reporter: Rob Paveza
>Assignee: Rob Paveza
>
> The Windows 10 SDK includes a new deployment tool, WinAppDeployCmd, which 
> supercedes Windows Phone 8.1's AppDeployCmd.  Its command line interface is 
> incompatible.  This task is to migrate to WinAppDeployCmd.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9408) Create an independent Windows package version (like Android and iOS have)

2015-07-30 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648372#comment-14648372
 ] 

ASF GitHub Bot commented on CB-9408:


Github user asfgit closed the pull request at:

https://github.com/apache/cordova-windows/pull/105


> Create an independent Windows package version (like Android and iOS have)
> -
>
> Key: CB-9408
> URL: https://issues.apache.org/jira/browse/CB-9408
> Project: Apache Cordova
>  Issue Type: Bug
>Reporter: Rob Paveza
>Assignee: Rob Paveza
>
> Create a new windows-packageVersion attribute of  that enables 
> Windows to have a different built-binary version than the specific version of 
> .  This is like android-versionCode and ios-CFBundleVersion.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9408) Create an independent Windows package version (like Android and iOS have)

2015-07-30 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648371#comment-14648371
 ] 

ASF subversion and git services commented on CB-9408:
-

Commit c5ff2c3ab4e5c626a327192cec6c41515514a59f in cordova-windows's branch 
refs/heads/master from [~robpaveza]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-windows.git;h=c5ff2c3 ]

CB-9408: Added a `windows-packageVersion` attribute to the ``
element which enables Windows to have a separate, independent binary
version than other platforms.  This attribute corresponds to similar
attributes `android-versionCode` and `ios-CFBundleVersion`.. This closes #105


> Create an independent Windows package version (like Android and iOS have)
> -
>
> Key: CB-9408
> URL: https://issues.apache.org/jira/browse/CB-9408
> Project: Apache Cordova
>  Issue Type: Bug
>Reporter: Rob Paveza
>Assignee: Rob Paveza
>
> Create a new windows-packageVersion attribute of  that enables 
> Windows to have a different built-binary version than the specific version of 
> .  This is like android-versionCode and ios-CFBundleVersion.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Updated] (CB-9432) IOS8 Geolocation Issue

2015-07-30 Thread Sean Molyneaux (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-9432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Molyneaux updated CB-9432:
---
Component/s: Plugin Geolocation

> IOS8 Geolocation Issue
> --
>
> Key: CB-9432
> URL: https://issues.apache.org/jira/browse/CB-9432
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Geolocation
> Environment: IOS 8, device and simulator
>Reporter: Sean Molyneaux
>
> With IOS 8 request for location services, there seems to be an issue with 
> cordova geolocation.
> What happens is: Regardless of how I have tried to approach it is that the 
> request window appears only when I close the app (press home).  The request 
> message appears and very quickly disappears making it impossible to activate.
> Further whether this is a bug on IOS 8.  The geolocation is intermittent both 
> with watch and get methods.
> Android works perfectly but there is something off with the IOS version.
> I am using the above plugin to track travel every 30 seconds I tested with 
> android with a custom ping interval using the get method but had to switch to 
> watchPosition with a 30sec condition loop to get iOS to barely work.
> (With above I record 30 sec intervals with webSQL)
> iOS fails about 9 out of 10 times (if I am luckly). I do notice I have to 
> switch between open and close (home button) to get the location icon to 
> appear in the status bar.  But once it disappears again I have to do the same.
> I am going to continue to test both devices as I am code blocked at the 
> moment with any workarounds.
> Mainly I am going to launch with Android but I personally would like IOS as 
> perfectly as android
> Please see video link for context and happy to share code if it helps.
> http://www.codo-hydra.com/uploads/cloud-file-8/ios8.mp4



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9283) Windows 10: Migrate to new deployment infrastructure

2015-07-30 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648346#comment-14648346
 ] 

ASF subversion and git services commented on CB-9283:
-

Commit 95a0918baa1861bc522d2ec7225457897462ff12 in cordova-windows's branch 
refs/heads/master from [~robpaveza]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-windows.git;h=95a0918 ]

CB-9283: Add support for Windows 10 WinAppDeployCmd for deployment to
remote devices.

Incorporated code review changes.. This closes #96


> Windows 10: Migrate to new deployment infrastructure
> 
>
> Key: CB-9283
> URL: https://issues.apache.org/jira/browse/CB-9283
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Windows
>Reporter: Rob Paveza
>Assignee: Rob Paveza
>
> The Windows 10 SDK includes a new deployment tool, WinAppDeployCmd, which 
> supercedes Windows Phone 8.1's AppDeployCmd.  Its command line interface is 
> incompatible.  This task is to migrate to WinAppDeployCmd.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9283) Windows 10: Migrate to new deployment infrastructure

2015-07-30 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648347#comment-14648347
 ] 

ASF GitHub Bot commented on CB-9283:


Github user asfgit closed the pull request at:

https://github.com/apache/cordova-windows/pull/96


> Windows 10: Migrate to new deployment infrastructure
> 
>
> Key: CB-9283
> URL: https://issues.apache.org/jira/browse/CB-9283
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Windows
>Reporter: Rob Paveza
>Assignee: Rob Paveza
>
> The Windows 10 SDK includes a new deployment tool, WinAppDeployCmd, which 
> supercedes Windows Phone 8.1's AppDeployCmd.  Its command line interface is 
> incompatible.  This task is to migrate to WinAppDeployCmd.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9429) Add option to run cordova-js tests against browserified bundle.

2015-07-30 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648317#comment-14648317
 ] 

ASF GitHub Bot commented on CB-9429:


Github user stevengill commented on the pull request:

https://github.com/apache/cordova-js/pull/123#issuecomment-126489678
  
LGTM


> Add option to run cordova-js tests against browserified bundle.
> ---
>
> Key: CB-9429
> URL: https://issues.apache.org/jira/browse/CB-9429
> Project: Apache Cordova
>  Issue Type: Task
>  Components: CordovaJS
>Affects Versions: 4.1.0
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>
> There is no way currently to run cordova-js tests with browserified 
> cordova-js bundle, so the only way to test browserify flow is to 
> create/build/run mobilespec with {{--browserify}} option.
> However there is still problems with browserify and test-framework, so even 
> this way is not available now.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9076) Invalid platform specific config.xml when using statusbar plugin

2015-07-30 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648305#comment-14648305
 ] 

ASF GitHub Bot commented on CB-9076:


Github user jcesarmobile commented on the pull request:


https://github.com/apache/cordova-plugin-statusbar/pull/30#issuecomment-126487866
  
BTW, I checked what you commented about the default value not being the 
first one, and it isn't the first one when you add the platform, but as soon as 
you do a cordova prepare or cordova run it will become the first one again, so 
it will be ignored.



> Invalid platform specific config.xml when using statusbar plugin
> 
>
> Key: CB-9076
> URL: https://issues.apache.org/jira/browse/CB-9076
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, Plugin Statusbar
>Affects Versions: 5.0.0
> Environment: iOS
>Reporter: Michal Miskernik
>
> I have this config.xml in the root directory of the cordova project: 
> http://pastebin.com/jhFr7a5X
> After I run {{cordova build ios}} this is the config.xml that is in the 
> platforms/ios/Teamweek directory: http://pastebin.com/scamymmM
> The problem is that there are these two lines in the second config.xml file:
> {code:xml}
> 
> 
> {code}
> That causes the statusbar to be hidden, ie. the "true" value from the config 
> file is used instead of the "false" value that I want and that is in the 
> original config.xml file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-9076) Invalid platform specific config.xml when using statusbar plugin

2015-07-30 Thread jcesarmobile (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-9076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

jcesarmobile closed CB-9076.

Resolution: Duplicate

I'm closing the issue the main problem is contained by CB-9264 

Deleting the default preference from plugin.xml isn't an option, default 
preferences are there for a reason

> Invalid platform specific config.xml when using statusbar plugin
> 
>
> Key: CB-9076
> URL: https://issues.apache.org/jira/browse/CB-9076
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, Plugin Statusbar
>Affects Versions: 5.0.0
> Environment: iOS
>Reporter: Michal Miskernik
>
> I have this config.xml in the root directory of the cordova project: 
> http://pastebin.com/jhFr7a5X
> After I run {{cordova build ios}} this is the config.xml that is in the 
> platforms/ios/Teamweek directory: http://pastebin.com/scamymmM
> The problem is that there are these two lines in the second config.xml file:
> {code:xml}
> 
> 
> {code}
> That causes the statusbar to be hidden, ie. the "true" value from the config 
> file is used instead of the "false" value that I want and that is in the 
> original config.xml file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9076) Invalid platform specific config.xml when using statusbar plugin

2015-07-30 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648274#comment-14648274
 ] 

ASF GitHub Bot commented on CB-9076:


Github user jcesarmobile commented on the pull request:


https://github.com/apache/cordova-plugin-statusbar/pull/30#issuecomment-126475712
  
Sorry, I proposed this change because I didn't know the reason for the 
default preferences. I'm closing CB-9076 now.

Please @miscer, close this pull request and stay tunned to 
https://issues.apache.org/jira/browse/CB-9264 to check the status of the 
duplicate entries issue.


> Invalid platform specific config.xml when using statusbar plugin
> 
>
> Key: CB-9076
> URL: https://issues.apache.org/jira/browse/CB-9076
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, Plugin Statusbar
>Affects Versions: 5.0.0
> Environment: iOS
>Reporter: Michal Miskernik
>
> I have this config.xml in the root directory of the cordova project: 
> http://pastebin.com/jhFr7a5X
> After I run {{cordova build ios}} this is the config.xml that is in the 
> platforms/ios/Teamweek directory: http://pastebin.com/scamymmM
> The problem is that there are these two lines in the second config.xml file:
> {code:xml}
> 
> 
> {code}
> That causes the statusbar to be hidden, ie. the "true" value from the config 
> file is used instead of the "false" value that I want and that is in the 
> original config.xml file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9076) Invalid platform specific config.xml when using statusbar plugin

2015-07-30 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648167#comment-14648167
 ] 

ASF GitHub Bot commented on CB-9076:


Github user purplecabbage commented on the pull request:


https://github.com/apache/cordova-plugin-statusbar/pull/30#issuecomment-126447487
  
Okay, then it is cordova-lib specific, or platform specific.  But still it 
is not specific to this plugin, and this pull request does not address the 
issue.
The reason default values are added to config.xml is so that developers can 
see that they are available to be changed.
Please close this pull request.


> Invalid platform specific config.xml when using statusbar plugin
> 
>
> Key: CB-9076
> URL: https://issues.apache.org/jira/browse/CB-9076
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, Plugin Statusbar
>Affects Versions: 5.0.0
> Environment: iOS
>Reporter: Michal Miskernik
>
> I have this config.xml in the root directory of the cordova project: 
> http://pastebin.com/jhFr7a5X
> After I run {{cordova build ios}} this is the config.xml that is in the 
> platforms/ios/Teamweek directory: http://pastebin.com/scamymmM
> The problem is that there are these two lines in the second config.xml file:
> {code:xml}
> 
> 
> {code}
> That causes the statusbar to be hidden, ie. the "true" value from the config 
> file is used instead of the "false" value that I want and that is in the 
> original config.xml file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9151) Fix app crash on repeated take picture via camera plugin on Windows Phone 8.1

2015-07-30 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648149#comment-14648149
 ] 

ASF GitHub Bot commented on CB-9151:


Github user muratsu commented on the pull request:


https://github.com/apache/cordova-plugin-camera/pull/110#issuecomment-126443320
  
I think the logic has to stay in onClick event for easy cleanup purposes. 
I've made the event handlers seperate functions. It's much cleaner now. 


> Fix app crash on repeated take picture via camera plugin on Windows Phone 8.1
> -
>
> Key: CB-9151
> URL: https://issues.apache.org/jira/browse/CB-9151
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
> Environment: Windows Phone 8.1, windows platform
>Reporter: Sergey Shakhnazarov
>Assignee: Murat Sutunc
>
> Tapping twice on camera preview gives such an error:
> Exception is about to be caught by JavaScript library code at line 443, 
> column 21 in 
> ms-appx://io.cordova.myapp9a1f58af41d240d79016f68247e6f82c/www/plugins/cordova-plugin-camera/src/windows/CameraProxy.js
> 0xc00d36b2 - JavaScript runtime error: The request is invalid in the current 
> state.
> Started
> WinRT information: Started
> If there is a handler for this exception, the program may be safely continued.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9431) 404 on "plugin add cordova-plugin-file"

2015-07-30 Thread Bruno Cros (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648124#comment-14648124
 ] 

Bruno Cros commented on CB-9431:


i did upgrade of cordova, and finally add plugin with this plugin worked.

Thank you.

Bruno

On Thu, Jul 30, 2015 at 2:07 AM, Nikhil Khandelwal (JIRA) 



> 404 on "plugin add cordova-plugin-file"
> ---
>
> Key: CB-9431
> URL: https://issues.apache.org/jira/browse/CB-9431
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaJS, CordovaLib
>Affects Versions: 3.5.0
> Environment: windows
>Reporter: Bruno Cros
>Priority: Blocker
>
> other plugin are available at download



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9076) Invalid platform specific config.xml when using statusbar plugin

2015-07-30 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648006#comment-14648006
 ] 

ASF GitHub Bot commented on CB-9076:


Github user jcesarmobile commented on the pull request:


https://github.com/apache/cordova-plugin-statusbar/pull/30#issuecomment-126413242
  
It happens even without adding a plugin, if you put one of the default 
preferences with another value, both will show (see CB-9264)


> Invalid platform specific config.xml when using statusbar plugin
> 
>
> Key: CB-9076
> URL: https://issues.apache.org/jira/browse/CB-9076
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, Plugin Statusbar
>Affects Versions: 5.0.0
> Environment: iOS
>Reporter: Michal Miskernik
>
> I have this config.xml in the root directory of the cordova project: 
> http://pastebin.com/jhFr7a5X
> After I run {{cordova build ios}} this is the config.xml that is in the 
> platforms/ios/Teamweek directory: http://pastebin.com/scamymmM
> The problem is that there are these two lines in the second config.xml file:
> {code:xml}
> 
> 
> {code}
> That causes the statusbar to be hidden, ie. the "true" value from the config 
> file is used instead of the "false" value that I want and that is in the 
> original config.xml file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Created] (CB-9434) before_build hook does not fire on run

2015-07-30 Thread JIRA
Frank J. Gómez created CB-9434:
--

 Summary: before_build hook does not fire on run
 Key: CB-9434
 URL: https://issues.apache.org/jira/browse/CB-9434
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 5.1.1
Reporter: Frank J. Gómez
Priority: Minor


Steps to reproduce:

* Create hooks/before_build/010_test.js. Have it simply output some text to the 
console.
* Do: {noformat}cordova build {noformat} The expected text is present.
* Do: {noformat}cordova run {noformat} My expectation is that the 
text would be outputted, since "run" is more or less a wrapper around 
"prepare," "build," and some other commands. However, the text is not outputted.

Workaround:
* Do: {noformat}cordova build {noformat} The hook runs, and the app 
is built.
* Do: {noformat}cordova run  --nobuild{noformat} The app built in the 
previous step is deployed to the phone/emulator.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9076) Invalid platform specific config.xml when using statusbar plugin

2015-07-30 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14647900#comment-14647900
 ] 

ASF GitHub Bot commented on CB-9076:


Github user purplecabbage commented on the pull request:


https://github.com/apache/cordova-plugin-statusbar/pull/30#issuecomment-126395802
  
The issue is plugman specific and just happens to show up here. 
Create a jira for 'Cordova plugin add ' creates duplicate config 
preferences. 


> Invalid platform specific config.xml when using statusbar plugin
> 
>
> Key: CB-9076
> URL: https://issues.apache.org/jira/browse/CB-9076
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, Plugin Statusbar
>Affects Versions: 5.0.0
> Environment: iOS
>Reporter: Michal Miskernik
>
> I have this config.xml in the root directory of the cordova project: 
> http://pastebin.com/jhFr7a5X
> After I run {{cordova build ios}} this is the config.xml that is in the 
> platforms/ios/Teamweek directory: http://pastebin.com/scamymmM
> The problem is that there are these two lines in the second config.xml file:
> {code:xml}
> 
> 
> {code}
> That causes the statusbar to be hidden, ie. the "true" value from the config 
> file is used instead of the "false" value that I want and that is in the 
> original config.xml file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9412) Unnatural translated expression in Japanese cordova-cli document

2015-07-30 Thread Victor Adrian Sosa Herrera (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14647897#comment-14647897
 ] 

Victor Adrian Sosa Herrera commented on CB-9412:


helo [~jollyjoester]
For the English strings, you can create a Pull Request (PR) in GitHub

> Unnatural translated expression in Japanese cordova-cli document
> 
>
> Key: CB-9412
> URL: https://issues.apache.org/jira/browse/CB-9412
> Project: Apache Cordova
>  Issue Type: Task
>  Components: CLI
>Reporter: Hideyuki Nanashima
>Assignee: Victor Adrian Sosa Herrera
>Priority: Trivial
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> There're some unnatural translated expression in following Japanese 
> cordova-cli document.
> https://github.com/apache/cordova-cli/blob/master/doc/ja/
> - README.md
> - bash.md
> Can I fix and send pull request?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Created] (CB-9433) Incorrect instructions how to install command-line tools in iOS platform guide

2015-07-30 Thread Chris Brody (JIRA)
Chris Brody created CB-9433:
---

 Summary: Incorrect instructions how to install command-line tools 
in iOS platform guide
 Key: CB-9433
 URL: https://issues.apache.org/jira/browse/CB-9433
 Project: Apache Cordova
  Issue Type: Bug
  Components: Docs
Reporter: Chris Brody


The instructions tell me to open the Xcode preferences, Download tab, and 
install the command line tools from the components panel but this is no longer 
correct since the changed Xcode a couple years ago or so. There are two ways to 
install the command line tools:

1. Download from developer.apple.com

2. As described in 
http://chriskief.com/2013/10/24/os-x-mavericks-xcode-5-0-1-and-the-missing-command-line-tools/
 among other places:

run xcode-select --install in a terminal shell, and it will pop up a dialog box 
to confirm installing the command line tools (as a dependency).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9407) Permissions are no longer copied to manifest.webapp

2015-07-30 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14647570#comment-14647570
 ] 

ASF GitHub Bot commented on CB-9407:


GitHub user zalun opened a pull request:

https://github.com/apache/cordova-lib/pull/274

CB-9407 FFOS permissions missing in manifest

CB-9407
running an update on platform_cfg allows permissions from plugins to feed 
the manifest.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/zalun/cordova-lib cb-9407-ffos-fix-permission

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cordova-lib/pull/274.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #274


commit 5b6184946d4f82baf14e11bc81b9cf395ff917d7
Author: Piotr Zalewa 
Date:   2015-07-30T12:43:48Z

CB-9407 running an update on platform_cfg allows permissions from plugins 
to feed the manifest.




> Permissions are no longer copied to manifest.webapp
> ---
>
> Key: CB-9407
> URL: https://issues.apache.org/jira/browse/CB-9407
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: FirefoxOS
>Reporter: Piotr Zalewa
>Assignee: Piotr Zalewa
>
> I'm using Cordova 5.1.1 and permissions aren't copied from plugin.xml to the 
> manifest.webapp as they did before



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9407) Permissions are no longer copied to manifest.webapp

2015-07-30 Thread Piotr Zalewa (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14647565#comment-14647565
 ] 

Piotr Zalewa commented on CB-9407:
--

So, I found out that if I change the 
https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/cordova/prepare.js#L130
so it will update the config using platform_cfg all is fine.

I'm just not so sure it's the right way.


> Permissions are no longer copied to manifest.webapp
> ---
>
> Key: CB-9407
> URL: https://issues.apache.org/jira/browse/CB-9407
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: FirefoxOS
>Reporter: Piotr Zalewa
>Assignee: Piotr Zalewa
>
> I'm using Cordova 5.1.1 and permissions aren't copied from plugin.xml to the 
> manifest.webapp as they did before



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Comment Edited] (CB-9407) Permissions are no longer copied to manifest.webapp

2015-07-30 Thread Piotr Zalewa (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14647513#comment-14647513
 ] 

Piotr Zalewa edited comment on CB-9407 at 7/30/15 11:57 AM:


For some reason permission is an empty array 

config.doc.findall('permission');

https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/cordova/metadata/firefoxos_parser.js#L134

although the permission exists in ``this.config_path``





was (Author: zalun):
For some reason permission is an empty array 

config.doc.findall('permission');

https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/cordova/metadata/firefoxos_parser.js#L134

although the permission exists in ``this.confog_path``




> Permissions are no longer copied to manifest.webapp
> ---
>
> Key: CB-9407
> URL: https://issues.apache.org/jira/browse/CB-9407
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: FirefoxOS
>Reporter: Piotr Zalewa
>Assignee: Piotr Zalewa
>
> I'm using Cordova 5.1.1 and permissions aren't copied from plugin.xml to the 
> manifest.webapp as they did before



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9407) Permissions are no longer copied to manifest.webapp

2015-07-30 Thread Piotr Zalewa (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14647513#comment-14647513
 ] 

Piotr Zalewa commented on CB-9407:
--

For some reason permission is an empty array 

config.doc.findall('permission');

https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/cordova/metadata/firefoxos_parser.js#L134

although the permission exists in ``this.confog_path``




> Permissions are no longer copied to manifest.webapp
> ---
>
> Key: CB-9407
> URL: https://issues.apache.org/jira/browse/CB-9407
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: FirefoxOS
>Reporter: Piotr Zalewa
>Assignee: Piotr Zalewa
>
> I'm using Cordova 5.1.1 and permissions aren't copied from plugin.xml to the 
> manifest.webapp as they did before



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8936) Surface platform-specific logs in buildbot

2015-07-30 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14647356#comment-14647356
 ] 

ASF GitHub Bot commented on CB-8936:


Github user alsorokin closed the pull request at:

https://github.com/apache/cordova-medic/pull/58


> Surface platform-specific logs in buildbot
> --
>
> Key: CB-8936
> URL: https://issues.apache.org/jira/browse/CB-8936
> Project: Apache Cordova
>  Issue Type: Task
>  Components: Medic
>Reporter: Alexander Sorokin
>Assignee: Alexander Sorokin
>
> Platform specific logs (e.g. logcat for android, stderr.log and stdin.log for 
> iOS etc.) should be gathered and displayed in buildbot.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-9421) `cordova plugin add` ignores searchpath parameter

2015-07-30 Thread Alexander Sorokin (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-9421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Sorokin closed CB-9421.
-
Resolution: Fixed

> `cordova plugin add` ignores searchpath parameter
> -
>
> Key: CB-9421
> URL: https://issues.apache.org/jira/browse/CB-9421
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: Master
>Reporter: Alexander Sorokin
>Assignee: Alexander Sorokin
>
> {code}
> git clone https://github.com/apache/cordova-plugin-battery-status
> cordova create helloworld
> cd helloworld
> cordova plugin add cordova-plugin-battery-status --searchpath ../
> {code}
> It downloads and installs latest plugin version from npm instead of using the 
> local plugin path.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9076) Invalid platform specific config.xml when using statusbar plugin

2015-07-30 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14647292#comment-14647292
 ] 

ASF GitHub Bot commented on CB-9076:


Github user jcesarmobile commented on the pull request:


https://github.com/apache/cordova-plugin-statusbar/pull/30#issuecomment-126208513
  
Ok, I'll take a look, thanks



> Invalid platform specific config.xml when using statusbar plugin
> 
>
> Key: CB-9076
> URL: https://issues.apache.org/jira/browse/CB-9076
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, Plugin Statusbar
>Affects Versions: 5.0.0
> Environment: iOS
>Reporter: Michal Miskernik
>
> I have this config.xml in the root directory of the cordova project: 
> http://pastebin.com/jhFr7a5X
> After I run {{cordova build ios}} this is the config.xml that is in the 
> platforms/ios/Teamweek directory: http://pastebin.com/scamymmM
> The problem is that there are these two lines in the second config.xml file:
> {code:xml}
> 
> 
> {code}
> That causes the statusbar to be hidden, ie. the "true" value from the config 
> file is used instead of the "false" value that I want and that is in the 
> original config.xml file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9076) Invalid platform specific config.xml when using statusbar plugin

2015-07-30 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14647287#comment-14647287
 ] 

ASF GitHub Bot commented on CB-9076:


Github user miscer commented on the pull request:


https://github.com/apache/cordova-plugin-statusbar/pull/30#issuecomment-126207327
  
Yes, it does ignore the first preference, but sometimes the default value 
from plugin.xml is not first, but second in the code. In my case it happened 
when adding the iOS platform after installing the plugin:

(in config.xml)
```xml

```

(in CLI)
```
cordova plugin add cordova-plugin-statusbar
cordova platform add ios
```

(resulting config.xml in platforms/ios)
```xml

...


```


> Invalid platform specific config.xml when using statusbar plugin
> 
>
> Key: CB-9076
> URL: https://issues.apache.org/jira/browse/CB-9076
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, Plugin Statusbar
>Affects Versions: 5.0.0
> Environment: iOS
>Reporter: Michal Miskernik
>
> I have this config.xml in the root directory of the cordova project: 
> http://pastebin.com/jhFr7a5X
> After I run {{cordova build ios}} this is the config.xml that is in the 
> platforms/ios/Teamweek directory: http://pastebin.com/scamymmM
> The problem is that there are these two lines in the second config.xml file:
> {code:xml}
> 
> 
> {code}
> That causes the statusbar to be hidden, ie. the "true" value from the config 
> file is used instead of the "false" value that I want and that is in the 
> original config.xml file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-9076) Invalid platform specific config.xml when using statusbar plugin

2015-07-30 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14647281#comment-14647281
 ] 

ASF GitHub Bot commented on CB-9076:


Github user jcesarmobile commented on the pull request:


https://github.com/apache/cordova-plugin-statusbar/pull/30#issuecomment-126205747
  
Hi, I told you on the JIRA page that I could reproduce the preference being 
duplicated, but I couldn't reproduce your problem, in my tests it ignores the 
first preference if there is a second one, can you check again?



> Invalid platform specific config.xml when using statusbar plugin
> 
>
> Key: CB-9076
> URL: https://issues.apache.org/jira/browse/CB-9076
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, Plugin Statusbar
>Affects Versions: 5.0.0
> Environment: iOS
>Reporter: Michal Miskernik
>
> I have this config.xml in the root directory of the cordova project: 
> http://pastebin.com/jhFr7a5X
> After I run {{cordova build ios}} this is the config.xml that is in the 
> platforms/ios/Teamweek directory: http://pastebin.com/scamymmM
> The problem is that there are these two lines in the second config.xml file:
> {code:xml}
> 
> 
> {code}
> That causes the statusbar to be hidden, ie. the "true" value from the config 
> file is used instead of the "false" value that I want and that is in the 
> original config.xml file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org