[jira] [Commented] (CB-10326) don't copy resource-file files at plugin install time

2016-01-13 Thread Marco Biasini (JIRA)

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

Marco Biasini commented on CB-10326:


Unfortunately, no. I've tried to use lib-file and framework. Both of them don't 
work for my use-case. When I'm using framework VS14 complains that my dll's 
don't have a manifest and lib-file is not working because I'm referencing them 
from the app-manifest to register an in-process server like so:

 

Foo.dll




When using lib-file VS14 complains that my app manifest references a file that 
is not part of the payload.

The only way to get this working is use the resource-file element and copy the 
dll to the output directory. It would be great if resource-file could be 
adopted in that manner, so that I can get this working.



> don't copy resource-file files at plugin install time
> -
>
> Key: CB-10326
> URL: https://issues.apache.org/jira/browse/CB-10326
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugman, Windows
>Reporter: Marco Biasini
>
> I just came across the newly added resource-file support for phonegap for 
> windows. I've tried to use it for adding native dlls dependencies to the 
> application. I couldn't completely get it to work with the current version.
> I'd like to propose a small change which would make the resource-file tag 
> more powerful and shouldn't impact existing users:
> Judging from the source code, the file is copied to the target when the 
> plugin is installed. I'd propose not to copy to the target but to point the 
> include parameter to the existing file. This allows use-cases where a 
> different .dll has to be copied based on the architecture of the project, 
> .e.g.
> 
> 
> 
> This should generate code like this for each resource-file entry:
> 
> 
> foo.dll
> Always
> 
> 



--
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-7790) "navigator.globalization.getDateNames" strange problem in wp8

2016-01-13 Thread Sergey Grebnov (JIRA)

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

Sergey Grebnov updated CB-7790:
---
Labels: globalization triaged wp8  (was: globalization)

> "navigator.globalization.getDateNames" strange problem in wp8
> -
>
> Key: CB-7790
> URL: https://issues.apache.org/jira/browse/CB-7790
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Globalization
>Affects Versions: 3.6.3
> Environment: phonegap 3.6.3 with all latest plugin
> ios 8.02
> winphone 8.1
> Android 4.42
> all real machine
>Reporter: Colin Bau
>  Labels: globalization, triaged, wp8
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> when I execute these code
> navigator.globalization.getDateNames(function(names) {for (var i=0; 
> i item:"months"})
> [in android and ios,it will return] 
> 0 1
> 1 2
> 2 3
> ...
> ...
> ...
> 11 12
> [in wp8,it will return] 
> 0 1
> 1 2
> 2 3
> ...
> ...
> ...
> 11 12
> 12 null <= this line maybe have some problem or Excess ?



--
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-8258) iOS getPreferredLanguage should be from the list of available localizations for the app

2016-01-13 Thread Sergey Grebnov (JIRA)

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

Sergey Grebnov updated CB-8258:
---
Labels: ios triaged  (was: triaged)

> iOS getPreferredLanguage should be from the list of available localizations 
> for the app
> ---
>
> Key: CB-8258
> URL: https://issues.apache.org/jira/browse/CB-8258
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Globalization
> Environment: iOS
>Reporter: Suresh Chandrasekharan
>  Labels: ios, triaged
>
> In CDVGlobalization.m, the following line is used to get the 
> preferredLanguage from getPreferredLanguage
>  NSString* language = [[NSLocale preferredLanguages] objectAtIndex:0];
> The issue with this is, for an application, if the system preferred language 
> is not available in Application Resource bundle,all framework messages will 
> appear in the system preferred language and all app specific strings will 
> appear in a fallback language like en_US. 
> A second scenario is, like for a language like Portuguese, if only 
> viewControllerBundle_pt.xlf is existing as application resource but the 
> system language selected is pt_BR, with the current code, the fallback 
> resource bundle viewControllerBundle_pt.xlf won't be activated and 
> application will appear in en_US
> Using the following, instead we can get a preferred language from the list of 
> available localizations for the an application, which is independent of the 
> preferredLanguage for the system.
> NSString *language = [[[NSBundle mainBundle] preferredLocalizations] 
> objectAtIndex:0];



--
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-8258) iOS getPreferredLanguage should be from the list of available localizations for the app

2016-01-13 Thread Sergey Grebnov (JIRA)

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

Sergey Grebnov updated CB-8258:
---
Labels: triaged  (was: )

> iOS getPreferredLanguage should be from the list of available localizations 
> for the app
> ---
>
> Key: CB-8258
> URL: https://issues.apache.org/jira/browse/CB-8258
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Globalization
> Environment: iOS
>Reporter: Suresh Chandrasekharan
>  Labels: triaged
>
> In CDVGlobalization.m, the following line is used to get the 
> preferredLanguage from getPreferredLanguage
>  NSString* language = [[NSLocale preferredLanguages] objectAtIndex:0];
> The issue with this is, for an application, if the system preferred language 
> is not available in Application Resource bundle,all framework messages will 
> appear in the system preferred language and all app specific strings will 
> appear in a fallback language like en_US. 
> A second scenario is, like for a language like Portuguese, if only 
> viewControllerBundle_pt.xlf is existing as application resource but the 
> system language selected is pt_BR, with the current code, the fallback 
> resource bundle viewControllerBundle_pt.xlf won't be activated and 
> application will appear in en_US
> Using the following, instead we can get a preferred language from the list of 
> available localizations for the an application, which is independent of the 
> preferredLanguage for the system.
> NSString *language = [[[NSBundle mainBundle] preferredLocalizations] 
> objectAtIndex:0];



--
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-6107) Webview with statusbar plugin is 20px too tall

2016-01-13 Thread jcesarmobile (JIRA)

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

jcesarmobile closed CB-6107.

Resolution: Cannot Reproduce

I can't reproduce it even with older versions of the plugin (first one 
published on github is 0.1.5, published on 17 Apr 2014, after the bug was 
reported, and can't reproduce with that version neither) 

> Webview with statusbar plugin is 20px too tall
> --
>
> Key: CB-6107
> URL: https://issues.apache.org/jira/browse/CB-6107
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Statusbar
> Environment: iOS 7 iPad 3
>Reporter: Boston Dell-Vandenberg
>Assignee: jcesarmobile
>Priority: Minor
>  Labels: cannot-reproduce, iOS,, triaged
>
> If this is not the place to post issues for Cordova StatusBar plugin, 
> apologies in advance!
> With the plugin installed, the webview is sized 20px too large which is 
> causing layout issues when I position elements on the bottom of the screen.
> For example, on an iPad portrait it is 1044px and on landscape it is 788px.
> Removing the plugin seems to bring it back to the correct dimensions of 
> 1024px x 768px.
> The only values I set are StatusBarOverlaysWebView = true and color in 
> config.xml and the visibility via JS.



--
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-7924) Globalization shows always en-US @ iOS Simulator

2016-01-13 Thread Sergey Grebnov (JIRA)

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

Sergey Grebnov updated CB-7924:
---
Labels: ios triaged  (was: )

> Globalization shows always en-US @ iOS Simulator
> 
>
> Key: CB-7924
> URL: https://issues.apache.org/jira/browse/CB-7924
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Globalization
> Environment: iOS
>Reporter: Xairoo
>  Labels: ios, triaged
>
> Works on a real device but not inside the simulator. But all other apps (by 
> Apple) does show up with the new language when i change it.
> Returns always en-US.
> Using the latest globalization plugin version.



--
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-8966) globalization.getPreferredLanguage returns inconsistent structures

2016-01-13 Thread Sergey Grebnov (JIRA)

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

Sergey Grebnov updated CB-8966:
---
Labels: triaged  (was: )

> globalization.getPreferredLanguage returns inconsistent structures
> --
>
> Key: CB-8966
> URL: https://issues.apache.org/jira/browse/CB-8966
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Globalization
>Affects Versions: 3.5.0
> Environment: ios
>Reporter: Neil Cadman
>Priority: Minor
>  Labels: triaged
>
> When using "getPreferredLanguage" the language value returned is a 
> combination of the user language and also the users current region.
> Affected versions :
> org.apache.cordova.globalization 0.3.4 "Globalization"
> org.apache.cordova.globalization 1.0.0 "Globalization"
> This is a problem when the user sets their language to say, French and has 
> their location set up as United states. The result is a language code of 
> fr-US, however if you set the language to Chinese, Hong-Kong you get the full 
> language code zh-hk
> Its the inconsistency which I find a problem, knowing if the language code is 
> a full language code "zh-hk" vs a language code region "fr-US"
> May be the return objects could be expended to include a little more details. 
> for example.
> return {
>   env : "ios",
>   code : 'fr',
>   region : 'US'
> }
> return {
>   env : "ios",
>   code : 'zh-hk',
>   region : 'US'
> }



--
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-10234) Globalization Plugin Needs 'arch' flag to build on Windows10 (Universal Windows) Build

2016-01-13 Thread Sergey Grebnov (JIRA)

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

Sergey Grebnov updated CB-10234:

Priority: Major  (was: Minor)

> Globalization Plugin Needs 'arch' flag to build on Windows10 (Universal 
> Windows) Build
> --
>
> Key: CB-10234
> URL: https://issues.apache.org/jira/browse/CB-10234
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Globalization, Windows
>Affects Versions: 5.4.1
> Environment: Windows 10, Visual Studio 2015 Update 1 SDK 10.0.10240, 
> CLI 5.4.1, cordova-windows@4.2.0, Plugin globalization@1.0.2
>Reporter: Roberto De Simone
>Assignee: Sergey Grebnov
>  Labels: Windows, triaged, wfc
>
> 1. Create a new Cordova project
> 2. cordova add windows@4.2
> 3. Add to config.xml Windows10 support
> 
> 
> 4. cordova plugin add cordova-plugin-globalization (1.0.2)
> 5. cordova prepare windows
> 6. Open the project in Visual Studio 2015
> 7. Build the Windows10 (Universal Windows)
> Build Error:
> Error Your project.json doesn't list 'win10' as a targeted runtime. 
> You should add '"win10": { }' inside your "runtimes" section in your 
> project.json, and then re-run NuGet restore.
> Trying different plugins (also in combination) like splashscreen, dialogs, 
> statusbar, vibration, inappbrowser, network-information do not cause the 
> error.
> Removing the Globalization Plugin allows building without error.



--
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-10234) Globalization Plugin Needs 'arch' flag to build on Windows10 (Universal Windows) Build

2016-01-13 Thread Sergey Grebnov (JIRA)

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

Sergey Grebnov updated CB-10234:

Component/s: Plugin Globalization

> Globalization Plugin Needs 'arch' flag to build on Windows10 (Universal 
> Windows) Build
> --
>
> Key: CB-10234
> URL: https://issues.apache.org/jira/browse/CB-10234
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Globalization, Windows
>Affects Versions: 5.4.1
> Environment: Windows 10, Visual Studio 2015 Update 1 SDK 10.0.10240, 
> CLI 5.4.1, cordova-windows@4.2.0, Plugin globalization@1.0.2
>Reporter: Roberto De Simone
>Assignee: Sergey Grebnov
>Priority: Minor
>  Labels: Windows, triaged, wfc
>
> 1. Create a new Cordova project
> 2. cordova add windows@4.2
> 3. Add to config.xml Windows10 support
> 
> 
> 4. cordova plugin add cordova-plugin-globalization (1.0.2)
> 5. cordova prepare windows
> 6. Open the project in Visual Studio 2015
> 7. Build the Windows10 (Universal Windows)
> Build Error:
> Error Your project.json doesn't list 'win10' as a targeted runtime. 
> You should add '"win10": { }' inside your "runtimes" section in your 
> project.json, and then re-run NuGet restore.
> Trying different plugins (also in combination) like splashscreen, dialogs, 
> statusbar, vibration, inappbrowser, network-information do not cause the 
> error.
> Removing the Globalization Plugin allows building without error.



--
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-6862) WP getNumberPattern 'positive' and 'negative' bad return values

2016-01-13 Thread Sergey Grebnov (JIRA)

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

Sergey Grebnov updated CB-6862:
---
Labels: triaged wp8  (was: )

> WP getNumberPattern 'positive' and 'negative' bad return values
> ---
>
> Key: CB-6862
> URL: https://issues.apache.org/jira/browse/CB-6862
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Globalization, WP8 (deprecated)
>Affects Versions: 3.5.0
>Reporter: Staci Cooper
>Assignee: Staci Cooper
>Priority: Minor
>  Labels: triaged, wp8
>
> getNumberPattern.positive and getNumberPattern.negative should return "the 
> symbol[s] to use for  numbers when parsing and 
> formatting". For the en-US locale, that should be "" and "-", respectively.
> On wp8, these return integers corresponding to the negative/positive 
> 'patterns' (ie: 1, corresponding to "-n").



--
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-7790) "navigator.globalization.getDateNames" strange problem in wp8

2016-01-13 Thread Sergey Grebnov (JIRA)

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

Sergey Grebnov commented on CB-7790:


Could be related to CB-5708 

> "navigator.globalization.getDateNames" strange problem in wp8
> -
>
> Key: CB-7790
> URL: https://issues.apache.org/jira/browse/CB-7790
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Globalization
>Affects Versions: 3.6.3
> Environment: phonegap 3.6.3 with all latest plugin
> ios 8.02
> winphone 8.1
> Android 4.42
> all real machine
>Reporter: Colin Bau
>  Labels: globalization, triaged, wp8
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> when I execute these code
> navigator.globalization.getDateNames(function(names) {for (var i=0; 
> i item:"months"})
> [in android and ios,it will return] 
> 0 1
> 1 2
> 2 3
> ...
> ...
> ...
> 11 12
> [in wp8,it will return] 
> 0 1
> 1 2
> 2 3
> ...
> ...
> ...
> 11 12
> 12 null <= this line maybe have some problem or Excess ?



--
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-6132) Globalization plugin method getDatePattern always returns short date style on iOS.

2016-01-13 Thread Sergey Grebnov (JIRA)

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

Sergey Grebnov updated CB-6132:
---
Labels: ios triaged  (was: )

> Globalization plugin method getDatePattern always returns short date style on 
> iOS.
> --
>
> Key: CB-6132
> URL: https://issues.apache.org/jira/browse/CB-6132
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Globalization
>Affects Versions: 3.4.0
> Environment: iOS 7
>Reporter: Alan Rahlf
>  Labels: ios, triaged
>
> Here are a few examples to demonstrate the problem:
> {code}
> navigator.globalization.getDatePattern(function(properties) {
> console.log('pattern: ' + properties.pattern); // prints "M/d/yy"
> }, function() {}, { formatLength: 'short', selector: 'date' });
> navigator.globalization.getDatePattern(function(properties) {
> console.log('pattern: ' + properties.pattern); // prints "M/d/yy"
> }, function() {}, { formatLength: 'medium', selector: 'date' });
> navigator.globalization.getDatePattern(function(properties) {
> console.log('pattern: ' + properties.pattern); // prints "M/d/yy"
> }, function() {}, { formatLength: 'long', selector: 'date' });
> navigator.globalization.getDatePattern(function(properties) {
> console.log('pattern: ' + properties.pattern); // prints "M/d/yy"
> }, function() {}, { formatLength: 'full', selector: 'date' });
> {code}
> As you can see, the pattern is the same for all format lengths.  This is 
> happening because in the iOS plugin code it's iterating over the options 
> dictionary keys, but because order matters, the logic inside the loop is 
> flawed.  Here's the block I'm referring to:
> {code}
> if (items && [items isKindOfClass:[NSMutableDictionary class]]) {
> NSEnumerator* enumerator = [items keyEnumerator];
> id key;
> // iterate through all the options
> while ((key = [enumerator nextObject])) {
> id item = [items valueForKey:key];
> // make sure that only string values are present
> if ([item isKindOfClass:[NSString class]]) {
> // get the desired format length
> if ([key isEqualToString:@"formatLength"]) {
> if ([item isEqualToString:@"short"]) {
> style = kCFDateFormatterShortStyle;
> } else if ([item isEqualToString:@"medium"]) {
> style = kCFDateFormatterMediumStyle;
> } else if ([item isEqualToString:@"long"]) {
> style = kCFDateFormatterLongStyle;
> } else if ([item isEqualToString:@"full"]) {
> style = kCFDateFormatterFullStyle;
> }
> }
> // get the type of date and time to generate
> else if ([key isEqualToString:@"selector"]) {
> if ([item isEqualToString:@"date"]) {
> dateStyle = style;
> timeStyle = kCFDateFormatterNoStyle;
> } else if ([item isEqualToString:@"time"]) {
> dateStyle = kCFDateFormatterNoStyle;
> timeStyle = style;
> } else if ([item isEqualToString:@"date and time"]) {
> dateStyle = style;
> timeStyle = style;
> }
> }
> }
> }
> }
> {code}
> The selector key runs first, which relies on the style variable being set 
> correctly, but this doesn't get set until the 2nd iteration of the loop when 
> the formatLength key is evaluated.



--
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-7176) Statusbar plugin methods not working in inapp browser

2016-01-13 Thread jcesarmobile (JIRA)

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

jcesarmobile commented on CB-7176:
--

How do you call those methods from the InAppBrowser plugin? Can you provide a 
code example?

> Statusbar plugin methods not working in inapp browser
> -
>
> Key: CB-7176
> URL: https://issues.apache.org/jira/browse/CB-7176
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin InAppBrowser, Plugin Statusbar
>Affects Versions: 3.4.0
> Environment: jQuery Mobile, iOS platform using xCode 5
>Reporter: Mitresh Joshi
>Priority: Minor
>  Labels: Triaged, easyfix, features
> Fix For: 3.4.0
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> All the methods of status bar plugin are working except 
> StatusBarOverlaysWebView & StatusBarBackgroundColor in inappbrowser.
> I do not want the overlay but just cant get it right. Wondering other methods 
> of status bar is working but not the above mentioned 2 methods.
> Any particular thing that i am missing here? I had doubts if statusbar plugin 
> works in inappbrowser but as mentioned other methods are working except these 
> two.
> i am able to use these methods & change color & overlay property in native 
> pages on the app but as soon i as open the inappbrowser these 2 methods do 
> not work.
> Also what i noticed is both these methods need some value in () like 
> true/false or colorname, whereas other methods dont need any value.
> Is there any property which i need to set, for the 2 two methods to work in 
> inappbrowser on web?



--
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-5482) Add tap listener on status bar

2016-01-13 Thread jcesarmobile (JIRA)

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

jcesarmobile closed CB-5482.

Resolution: Duplicate

> Add tap listener on status bar
> --
>
> Key: CB-5482
> URL: https://issues.apache.org/jira/browse/CB-5482
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Plugin Statusbar
>Affects Versions: 3.1.0
>Reporter: Jacob Weber
>Priority: Minor
>  Labels: statusbar-plugin
>
> For the statusbar plugin on iOS, it might be nice if a future version 
> generated a JavaScript event when you tapped on the center of the status bar. 
> That way our apps could could respond to it by scrolling to the top.



--
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] [Assigned] (CB-5369) [ios] StatusBar plugin background thread warning

2016-01-13 Thread jcesarmobile (JIRA)

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

jcesarmobile reassigned CB-5369:


Assignee: jcesarmobile

> [ios] StatusBar plugin background thread warning
> 
>
> Key: CB-5369
> URL: https://issues.apache.org/jira/browse/CB-5369
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Plugin Statusbar
> Environment: Cordova 3.1.0 with version 0.1.2 of the StatusBar plugin
>Reporter: Bas Bosman
>Assignee: jcesarmobile
>  Labels: statusbar-plugin
>
> My project throws the following warning:
> THREAD WARNING: ['StatusBar'] took '56.696777' ms. Plugins should use a 
> background thread.
> Can the plugin be modified to use a background thread or are there better 
> ways to fix this?



--
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-5369) [ios] StatusBar plugin background thread warning

2016-01-13 Thread jcesarmobile (JIRA)

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

jcesarmobile commented on CB-5369:
--

I don't see THREAD WARNINGs anymore, it was probably fixed

> [ios] StatusBar plugin background thread warning
> 
>
> Key: CB-5369
> URL: https://issues.apache.org/jira/browse/CB-5369
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Plugin Statusbar
> Environment: Cordova 3.1.0 with version 0.1.2 of the StatusBar plugin
>Reporter: Bas Bosman
>  Labels: statusbar-plugin
>
> My project throws the following warning:
> THREAD WARNING: ['StatusBar'] took '56.696777' ms. Plugins should use a 
> background thread.
> Can the plugin be modified to use a background thread or are there better 
> ways to fix this?



--
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-7644) [iOS 8][StatusBar] Status Bar Periodically Disappears

2016-01-13 Thread jcesarmobile (JIRA)

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

jcesarmobile commented on CB-7644:
--

Can you provide more details? like screenshots and/or a sample project



> [iOS 8][StatusBar] Status Bar Periodically Disappears
> -
>
> Key: CB-7644
> URL: https://issues.apache.org/jira/browse/CB-7644
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Plugin Statusbar
>Affects Versions: 3.3.0
> Environment: iOS 8 on an iPhone 6
>Reporter: Nathan Beigel
>
> When running Phonegap 3.3.0 with iOS 8 on an iPhone 6, the status bar is 
> visible when my app first launches but eventually fades away.
> This behavior is occurring regardless of any user interaction and its timing 
> is different between launches. Also, nothing is being outputted to the XCode 
> console when this happens.
> I've attempted to work around this with the following code but it doesn't 
> have any affect:
> {noformat}
> setInterval(function() {
>  StatusBar.show();
>  StatusBar.styleDefault();
>  StatusBar.backgroundColorByHexString('#FF');
>  StatusBar.overlaysWebView(true);
> }, 500);
> {noformat}
> This issue is not occurring with the same code base using Phonegap 3.3.0 with 
> iOS 7.1 on an iPhone 5.
> I'm using the latest status bar plugin baseline located at: 
> https://github.com/apache/cordova-plugin-statusbar



--
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-8443) Android: nothing happens if GPS is turned off

2016-01-13 Thread jcesarmobile (JIRA)

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

jcesarmobile commented on CB-8443:
--

first remove the one you have installed with 
cordova plugin rm cordova-plugin-geolocation

then install as you said
cordova plugin add https://github.com/apache/cordova-plugin-geolocation.git
should work without the .git too
cordova plugin add https://github.com/apache/cordova-plugin-geolocation

> Android: nothing happens if GPS is turned off
> -
>
> Key: CB-8443
> URL: https://issues.apache.org/jira/browse/CB-8443
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Geolocation
>Affects Versions: 3.5.0
> Environment: moto G android 4.4.4
>Reporter: clement bidon
>  Labels: android, triaged
>
> to goe the error:  disable "ALL LOCATION SERVICE" on the phone.
> call "getCurrentPosition" or "watchPosition" functions without any timout.
> The "onError" function should be called with 
> "PositionError.PERMISSION_DENIED" or with 
> "PositionError.POSITION_UNAVAILABLE", BUT IT S NOT THE CASE: --> nothing 
> happens.



--
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-10288) statusbar plugin interaction with iOS multitasking

2016-01-13 Thread jcesarmobile (JIRA)

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

jcesarmobile commented on CB-10288:
---

I've been doing a lot of tests and I get the same results with and without that 
line, when I pull the cordova app from the right, or I am on the cordova app 
and pull another from the right, it resizes correctly (I'm testing on the 
simulator, I don't have any real device with multitask support to test)

The real problem is using hide, show, overlaysWebView(true) or 
overlaysWebView(false) when the multitask is present, it will break the app 
layout.

Using  [UIApplication sharedApplication].keyWindow.bounds as I mentioned 
yesterday isn't enough as the plugin uses the invertFrameIfNeeded in a lot of 
places, and it' based on this assumption "landscape is where (width > height). 
On iOS < 8, we need to invert since frames are always in Portrait context", and 
that's not true on multitasking. 
Not inverting the frame seems to work on iOS 9.2, will continue testing.


> statusbar plugin interaction with iOS multitasking
> --
>
> Key: CB-10288
> URL: https://issues.apache.org/jira/browse/CB-10288
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Statusbar
> Environment: cordova ios 4.0.0
>Reporter: Nick Redding
>  Labels: cordova-ios-4.1.0, ios, triaged
>
> In pluginInitialize the statement
> [[NSNotificationCenter defaultCenter] addObserver:self 
> selector:@selector(statusBarDidChangeFrame:) name: 
> UIApplicationDidChangeStatusBarFrameNotification object:nil];
> causes incorrect rendering behavior when using iOS multitasking split window. 
> When pulling the cordova app onto the screen from the right, the window 
> resizing is not handled correctly (much larger widths thsn actual are 
> reported and reflected in the rendering).
> Commenting out this statement eliminates the problem, but it is not clear 
> what the potentially unwanted effects of this would be.



--
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] [Assigned] (CB-10288) statusbar plugin interaction with iOS multitasking

2016-01-13 Thread jcesarmobile (JIRA)

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

jcesarmobile reassigned CB-10288:
-

Assignee: jcesarmobile

> statusbar plugin interaction with iOS multitasking
> --
>
> Key: CB-10288
> URL: https://issues.apache.org/jira/browse/CB-10288
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Statusbar
> Environment: cordova ios 4.0.0
>Reporter: Nick Redding
>Assignee: jcesarmobile
>  Labels: cordova-ios-4.1.0, ios, triaged
>
> In pluginInitialize the statement
> [[NSNotificationCenter defaultCenter] addObserver:self 
> selector:@selector(statusBarDidChangeFrame:) name: 
> UIApplicationDidChangeStatusBarFrameNotification object:nil];
> causes incorrect rendering behavior when using iOS multitasking split window. 
> When pulling the cordova app onto the screen from the right, the window 
> resizing is not handled correctly (much larger widths thsn actual are 
> reported and reflected in the rendering).
> Commenting out this statement eliminates the problem, but it is not clear 
> what the potentially unwanted effects of this would be.



--
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-10341) statusbar statusTap is not documented

2016-01-13 Thread jcesarmobile (JIRA)
jcesarmobile created CB-10341:
-

 Summary: statusbar statusTap is not documented
 Key: CB-10341
 URL: https://issues.apache.org/jira/browse/CB-10341
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Statusbar
 Environment: iOS
Reporter: jcesarmobile
Priority: Minor


CB-6626 added a statusTap event but wasn't documented, so it should be added to 
the docs.

{code}
window.addEventListener('statusTap', function() {
//scroll-up or do whatever you want
});
{code}



--
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-9934) Have "Missing Command Error" when requesting a file system

2016-01-13 Thread Tom Halligan (JIRA)

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

Tom Halligan commented on CB-9934:
--

Also seeing this issue on:

Windows 10
Cordova Version 5.4.1
cordova-file-plugin 3.0.0
Chrome Version 49.0.2620.0 canary.

Receiving 'FileError: code: "Missing Command Error"' as a result of 
requestFileSystem.


> Have "Missing Command Error" when requesting a file system
> --
>
> Key: CB-9934
> URL: https://issues.apache.org/jira/browse/CB-9934
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File
> Environment: cordova -v 5.3.3
> cordova-plugin-file "version": "3.0.0"
> Google Chrome Version 46.0.2490.80
>Reporter: Mikalai Birukou
>Assignee: Tim Barham
>  Labels: Browser
>
> Observation #1:
> Listener of 'filePluginIsReady' on window is never triggered.
> Observation #2 (related?):
> cordova.js line 925:
> fail && fail("Missing Command Error");
> is touched both at the start of at app's initialization, followed by "adding 
> proxy for File" from line 943 occures with consequent "Persistent fs quota 
> granted" from Preparing.js, and no error shows in the console.
> When requestFileSystem() is called afterwards, manually or in code, much 
> later, line 925 is touched, and error 'FileError {code: "Missing Command 
> Error"}' shows in the console.



--
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-5482) Add tap listener on status bar

2016-01-13 Thread jcesarmobile (JIRA)

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

jcesarmobile closed CB-5482.

Resolution: Duplicate

> Add tap listener on status bar
> --
>
> Key: CB-5482
> URL: https://issues.apache.org/jira/browse/CB-5482
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Plugin Statusbar
>Affects Versions: 3.1.0
>Reporter: Jacob Weber
>Assignee: jcesarmobile
>Priority: Minor
>  Labels: statusbar-plugin
>
> For the statusbar plugin on iOS, it might be nice if a future version 
> generated a JavaScript event when you tapped on the center of the status bar. 
> That way our apps could could respond to it by scrolling to the top.



--
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] [Reopened] (CB-5482) Add tap listener on status bar

2016-01-13 Thread jcesarmobile (JIRA)

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

jcesarmobile reopened CB-5482:
--
  Assignee: jcesarmobile

> Add tap listener on status bar
> --
>
> Key: CB-5482
> URL: https://issues.apache.org/jira/browse/CB-5482
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Plugin Statusbar
>Affects Versions: 3.1.0
>Reporter: Jacob Weber
>Assignee: jcesarmobile
>Priority: Minor
>  Labels: statusbar-plugin
>
> For the statusbar plugin on iOS, it might be nice if a future version 
> generated a JavaScript event when you tapped on the center of the status bar. 
> That way our apps could could respond to it by scrolling to the top.



--
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-10319) Add reflection for cordova-android 5.0.0 permission requests

2016-01-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10319:
-

Github user riknoll commented on the pull request:


https://github.com/apache/cordova-plugin-camera/pull/151#issuecomment-171382725
  
Tested with manual mobilespec tests on cordova-android's master and 
cordova-android 4.0.0 on a marshmallow device. The failures in those tests 
matched the failures in master (Google Photos doesn't work, no camera 
direction, etc.)


> Add reflection for cordova-android 5.0.0 permission requests
> 
>
> Key: CB-10319
> URL: https://issues.apache.org/jira/browse/CB-10319
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera, Plugin Contacts, Plugin File, Plugin 
> Geolocation
>Reporter: Richard B Knoll
>Assignee: Richard B Knoll
>  Labels: cordova-6.0.0, triaged
>
> As was discussed on the mailing list, the purpose of this JIRA is to add 
> reflective helper methods to the plugins that allow the versions of the core 
> plugins written for cordova-android 5.0.0 to still build and work with 
> earlier versions of android (before Marshmallow)



--
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-10265) cordova-windows: `alert` not working

2016-01-13 Thread Omar Mefire (JIRA)

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

Omar Mefire commented on CB-10265:
--

Even if this is 'not a cordova issue', isn't it expected of a 'web platform' to 
provide such functionalities as 'alert', 'JSON', etc... ?
I do agree this is lower priority unless other people bring it up.

> cordova-windows: `alert` not working
> 
>
> Key: CB-10265
> URL: https://issues.apache.org/jira/browse/CB-10265
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: 4.1.0
>Reporter: Omar Mefire
>Priority: Minor
>  Labels: triaged, wfc
>
> (running on windows 10, with cordova-windows version 4.1.0)
> To repro:
> - cordova create test
> - cd test
> - in your index.html file, add the following javascript code:
> ```
>   alert('test')
> ```
> - cordova platform add windows
> - cordova run windows
> Expected:
> a pop-up window opens upon the app starting
> What happened:
> no pop-up window was shown.



--
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-10346) Description of file transfer and file system plugin is same

2016-01-13 Thread Raghav (JIRA)
Raghav created CB-10346:
---

 Summary: Description of file transfer and file system plugin is 
same
 Key: CB-10346
 URL: https://issues.apache.org/jira/browse/CB-10346
 Project: Apache Cordova
  Issue Type: Bug
  Components: Docs
Reporter: Raghav
Priority: Minor


In the Plugin APIs 
article(https://cordova.apache.org/docs/en/latest/cordova/plugins/pluginapis.html),
 the description for these plugins is the same and needs to be corrected.



--
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-10319) Add reflection for cordova-android 5.0.0 permission requests

2016-01-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10319:
-

Github user riknoll commented on the pull request:


https://github.com/apache/cordova-plugin-camera/pull/151#issuecomment-171394616
  
Also tested mobilespec manual tests on a lollipop emulator with 
cordova-android's master and cordova-android 4.0.0. Again, only expected 
failures. I'm going to merge this in.


> Add reflection for cordova-android 5.0.0 permission requests
> 
>
> Key: CB-10319
> URL: https://issues.apache.org/jira/browse/CB-10319
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera, Plugin Contacts, Plugin File, Plugin 
> Geolocation
>Reporter: Richard B Knoll
>Assignee: Richard B Knoll
>  Labels: cordova-6.0.0, triaged
>
> As was discussed on the mailing list, the purpose of this JIRA is to add 
> reflective helper methods to the plugins that allow the versions of the core 
> plugins written for cordova-android 5.0.0 to still build and work with 
> earlier versions of android (before Marshmallow)



--
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-10338) getCurrentPosition() hangs on Android 4.2.2

2016-01-13 Thread Tom Nightingale (JIRA)

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

Tom Nightingale commented on CB-10338:
--

The geolocation API doesn't work in Chrome either though it works fine in the 
stock Android browser.
Seems that this issue is specific to the device that I am using (a Panasonic 
Toughpad FZ-X1 running Android 4.2.2).

:-\

In Chrome I do get the following deprecated notice:

{{getCurrentPosition() and watchPosition() are deprecated on insecure origins, 
and support will be removed in the future. You should consider switching your 
application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for 
more details.}}

But that's just a warning and if Crosswalk has already deprecated geolocation 
on insecure origins then I wouldn't see the "Searching for GPS" notification in 
the status bar.

On an unrelated note: More and more web APIs are requiring secure origins 
(Geolocation, Websockets, Service Worker, etc...). Does Cordova have a strategy 
to handle this?

> getCurrentPosition() hangs on Android 4.2.2 
> 
>
> Key: CB-10338
> URL: https://issues.apache.org/jira/browse/CB-10338
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Geolocation
>Affects Versions: 2.0.0
> Environment: Android 4.2.2 (running cordova-android@5.0.0)
>Reporter: Tom Nightingale
>  Labels: android
>
> Neither success or error callbacks are called after calling 
> navigator.geolocation.getCurrentPosition().
> Stepping through the plugin with Chrome's Javascript debugger and Android 
> Studio's Java debugger shows that the plugin's shim code successfully 
> executes the Geolocation 'getPermission' check and returns back to fire the 
> shim's success handler (line 31 
> [here|https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-geolocation.git;a=blob;f=www/android/geolocation.js;h=82e3582e0c225340db44add8fe3ea81256dff03f;hb=57eb4dc550a3d88d3ebbb60a0d6a83d61f898dd7#l31]).
> However the next line which appears to call the platform's native 
> getCurrentPosition() just hangs; neither the provided success or error 
> callbacks are called. If I try step into that function call with the Chrome 
> remote debugger it just jumps to the end of the executing function (line 36 @ 
> above link). It's as if getCurrentPosition() is a no-op. Chrome's "show 
> function definition" functionality isn't able to resolve the definition 
> either.
> I wonder if the bug is somewhere in the cordova/modulemapper code? This is an 
> area of Cordova I am not familiar with...



--
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-10348) Improve CLI Page and make it a reference

2016-01-13 Thread Raghav (JIRA)
Raghav created CB-10348:
---

 Summary: Improve CLI Page and make it a reference
 Key: CB-10348
 URL: https://issues.apache.org/jira/browse/CB-10348
 Project: Apache Cordova
  Issue Type: Task
  Components: Docs
Reporter: Raghav


The outdated emulator images needs to be changed.
Searching CPR needs to go.
The articles needs to be modified as per the new reference structure.

General guidelines:

- While giving examples, keep them short. Do not repeat for all 
plugins/platforms.
- Remove all references to cordova plugin registry.
- Remove Tizen references. The platform is deprecated 
(http://markmail.org/message/hryg6sjswecpgndu)
- Keep information up to date for the platforms, CLI and plugins



--
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-10319) Add reflection for cordova-android 5.0.0 permission requests

2016-01-13 Thread ASF subversion and git services (JIRA)

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

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

Commit 1d32ea46f0ebcbf5cbc3d8a255170bf7186533c8 in cordova-plugin-camera's 
branch refs/heads/master from riknoll
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-camera.git;h=1d32ea4 
]

CB-10319 android: Adding reflective helper methods for permission requests


> Add reflection for cordova-android 5.0.0 permission requests
> 
>
> Key: CB-10319
> URL: https://issues.apache.org/jira/browse/CB-10319
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera, Plugin Contacts, Plugin File, Plugin 
> Geolocation
>Reporter: Richard B Knoll
>Assignee: Richard B Knoll
>  Labels: cordova-6.0.0, triaged
>
> As was discussed on the mailing list, the purpose of this JIRA is to add 
> reflective helper methods to the plugins that allow the versions of the core 
> plugins written for cordova-android 5.0.0 to still build and work with 
> earlier versions of android (before Marshmallow)



--
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-10319) Add reflection for cordova-android 5.0.0 permission requests

2016-01-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10319:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cordova-plugin-camera/pull/151


> Add reflection for cordova-android 5.0.0 permission requests
> 
>
> Key: CB-10319
> URL: https://issues.apache.org/jira/browse/CB-10319
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera, Plugin Contacts, Plugin File, Plugin 
> Geolocation
>Reporter: Richard B Knoll
>Assignee: Richard B Knoll
>  Labels: cordova-6.0.0, triaged
>
> As was discussed on the mailing list, the purpose of this JIRA is to add 
> reflective helper methods to the plugins that allow the versions of the core 
> plugins written for cordova-android 5.0.0 to still build and work with 
> earlier versions of android (before Marshmallow)



--
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-8072) Adding tests for target key

2016-01-13 Thread Nikhil Khandelwal (JIRA)

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

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

Stale JIRA

> Adding tests for target key
> ---
>
> Key: CB-8072
> URL: https://issues.apache.org/jira/browse/CB-8072
> Project: Apache Cordova
>  Issue Type: Test
>  Components: Medic, Windows
>Reporter: Maria Bukharina
>
> Adding test for target key improves test coverage of cordova functionality. 
> Add test for running phone app with target specified



--
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-10265) cordova-windows: `alert` not working

2016-01-13 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal commented on CB-10265:


This JIRA is for tracking Cordova specific issues. You should look to follow up 
with the Windows/Edge team with specific issues on the Windows platform web API 
support.

> cordova-windows: `alert` not working
> 
>
> Key: CB-10265
> URL: https://issues.apache.org/jira/browse/CB-10265
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: 4.1.0
>Reporter: Omar Mefire
>Priority: Minor
>  Labels: triaged, wfc
>
> (running on windows 10, with cordova-windows version 4.1.0)
> To repro:
> - cordova create test
> - cd test
> - in your index.html file, add the following javascript code:
> ```
>   alert('test')
> ```
> - cordova platform add windows
> - cordova run windows
> Expected:
> a pop-up window opens upon the app starting
> What happened:
> no pop-up window was shown.



--
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-10288) statusbar plugin interaction with iOS multitasking

2016-01-13 Thread Nick Redding (JIRA)

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

Nick Redding commented on CB-10288:
---

I've been testing on an iPad Air 2 with iOS 9.2 which has multitasking. Pull an 
app in from the right when cordova is active--OK. Pull cordova in from the 
right when another app is active--rendering broken. Remove the offending 
line--all OK. I also attempted to reproduce CB 4712 on my iPhone 6 (iOS 9.2) 
after removing said line, and I cannot. The status bar behaves when a call 
becomes active.

I think we may be seeing a limitation of only testing on the iOS simulator if 
it doesn't manifest this multitasking problem. My conclusions are based on 
actual device testing.

In the end I don't care if the plugin is fixed and released--I'm using a 
patched plugin that works properly on both iPhone and iPad, doesn't suffer from 
CB 4712, and allows multitasking to work properly. If I want to integrate a new 
version of the plugin, I know what line of code to remove.

For the sake of other developers though, the professional thing to do would be 
to fix the issue in the release version of the plugin so other developers don't 
have to spend hours chasing the problem down.



> statusbar plugin interaction with iOS multitasking
> --
>
> Key: CB-10288
> URL: https://issues.apache.org/jira/browse/CB-10288
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Statusbar
> Environment: cordova ios 4.0.0
>Reporter: Nick Redding
>Assignee: jcesarmobile
>  Labels: cordova-ios-4.1.0, ios, triaged
>
> In pluginInitialize the statement
> [[NSNotificationCenter defaultCenter] addObserver:self 
> selector:@selector(statusBarDidChangeFrame:) name: 
> UIApplicationDidChangeStatusBarFrameNotification object:nil];
> causes incorrect rendering behavior when using iOS multitasking split window. 
> When pulling the cordova app onto the screen from the right, the window 
> resizing is not handled correctly (much larger widths thsn actual are 
> reported and reflected in the rendering).
> Commenting out this statement eliminates the problem, but it is not clear 
> what the potentially unwanted effects of this would be.



--
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-10206) *sdkVersion preferences are not documented

2016-01-13 Thread Raghav (JIRA)

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

Raghav updated CB-10206:

Labels: Docs-6.x android config.xml cordova-lib docs  (was: android 
config.xml cordova-lib docs)

> *sdkVersion preferences are not documented
> --
>
> Key: CB-10206
> URL: https://issues.apache.org/jira/browse/CB-10206
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Docs
>Affects Versions: 5.4.1
>Reporter: Frederico Costa Galvão
>Priority: Minor
>  Labels: Docs-6.x, android, config.xml, cordova-lib, docs
>
> Neither of the following preferences handled by 
> *cordova-lib/src/cordova/metadata/android_parser.js* are currently documented 
> at *cordova-docs/www/docs/en/5.4.0/guide/platforms/android/config.md*:
> {code}['minSdkVersion', 'maxSdkVersion', 'targetSdkVersion']{code}



--
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-10347) Remove 'Add icons and splash screen' article and move it's contents under 'Create your first app'

2016-01-13 Thread Raghav (JIRA)
Raghav created CB-10347:
---

 Summary: Remove 'Add icons and splash screen' article and move 
it's contents under 'Create your first app'
 Key: CB-10347
 URL: https://issues.apache.org/jira/browse/CB-10347
 Project: Apache Cordova
  Issue Type: Task
  Components: Docs
Reporter: Raghav


The original article needs to be removed from the IA and the contents need to 
be a part of 'Create your first app' article.
The content needs to be modified as per the guidelines.


General guidelines:

- While giving examples, keep them short. Do not repeat for all 
plugins/platforms.
- Remove all references to cordova plugin registry.
- Remove Tizen references. The platform is deprecated 
(http://markmail.org/message/hryg6sjswecpgndu)
- Keep information up to date for the platforms, CLI and plugins



--
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-8307) cordova-windows cert expires in 2015

2016-01-13 Thread Nikhil Khandelwal (JIRA)

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

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

> cordova-windows cert expires in 2015
> 
>
> Key: CB-8307
> URL: https://issues.apache.org/jira/browse/CB-8307
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: 3.5.0, 4.1.3
>Reporter: Kirk Shoop
>   Original Estimate: 120h
>  Remaining Estimate: 120h
>
> There is a pfx file checked into the project template that is used to deploy 
> the appx to a device when debugging.
> The pfx file contains a certificate that will expire one year after it was 
> created.



--
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-10344) "cordova prepare" on Windows ignores tag in config.xml

2016-01-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10344:
-

Github user sgrebnov commented on the pull request:

https://github.com/apache/cordova-windows/pull/136#issuecomment-171542813
  
looks great, thank you a lot - will merge after fixing core windows install 
issue.

PS. Can you also take a look if we can auto test this case please.


> "cordova prepare" on Windows ignores  tag in config.xml
> --
>
> Key: CB-10344
> URL: https://issues.apache.org/jira/browse/CB-10344
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: Master
>Reporter: Alexander Sorokin
>Priority: Critical
>  Labels: regresion, triaged
>
> download the assets and unpack them to the root of cordova app:
> https://yadi.sk/d/pN05iYGhmshzr
> add this tag to config.xml, then run the app:
> {code}
> 
> 
>  height="30" />
> 
>  height="106" />
>  height="170" />
>  height="360" />
>  />
>  height="360" />
>  height="300" />
>  height="1920" />
> 
> {code}
> Expected:
> New icons are copied to platforms/windows/images and are visible in the app.
> Actual:
> New icons are not copied to platforms/windows/images and are not visible in 
> the app.



--
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-10351) Make Events page a reference

2016-01-13 Thread Raghav (JIRA)
Raghav created CB-10351:
---

 Summary: Make Events page a reference
 Key: CB-10351
 URL: https://issues.apache.org/jira/browse/CB-10351
 Project: Apache Cordova
  Issue Type: Task
  Components: Docs
Reporter: Raghav


Events page (https://cordova.apache.org/docs/en/latest/plugin_ref/plugman.html) 
needs to be converted as per the new reference structure. 
Also add small descriptions to the events added by plugin-battery-status and 
plugin-network-information.



General guidelines:

- While giving examples, keep them short. Do not repeat for all 
plugins/platforms.
- Remove all references to cordova plugin registry.
- Remove Tizen references. The platform is deprecated 
(http://markmail.org/message/hryg6sjswecpgndu)
- Keep information up to date for the platforms, CLI and plugins



--
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-10353) Make Hooks guide a reference

2016-01-13 Thread Raghav (JIRA)
Raghav created CB-10353:
---

 Summary: Make Hooks guide a reference
 Key: CB-10353
 URL: https://issues.apache.org/jira/browse/CB-10353
 Project: Apache Cordova
  Issue Type: Task
  Components: Docs
Reporter: Raghav


Hooks guide 
(https://cordova.apache.org/docs/en/latest/guide/appdev/hooks/index.html) needs 
to be modified as per the reference structure. 



General guidelines:

- While giving examples, keep them short. Do not repeat for all 
plugins/platforms.
- Remove all references to cordova plugin registry.
- Remove Tizen references. The platform is deprecated 
(http://markmail.org/message/hryg6sjswecpgndu)
- Keep information up to date for the platforms, CLI and plugins



--
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-10356) "npm install" fails for cordova-windows

2016-01-13 Thread Dmitry Blotsky (JIRA)
Dmitry Blotsky created CB-10356:
---

 Summary: "npm install" fails for cordova-windows
 Key: CB-10356
 URL: https://issues.apache.org/jira/browse/CB-10356
 Project: Apache Cordova
  Issue Type: Bug
  Components: Windows
Affects Versions: Master
Reporter: Dmitry Blotsky
Priority: Critical


Running {{npm install}} crashes, unable to find some libraries.



--
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-10357) Android build failing with "Could not resolve all dependencies"

2016-01-13 Thread Dmitry Blotsky (JIRA)
Dmitry Blotsky created CB-10357:
---

 Summary: Android build failing with "Could not resolve all 
dependencies"
 Key: CB-10357
 URL: https://issues.apache.org/jira/browse/CB-10357
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
 Environment: Windows or OS X
Reporter: Dmitry Blotsky
Priority: Critical


Failing build: 
https://ci.apache.org/builders/cordova-android-osx/builds/1491/steps/running-tests/logs/stdio

Output:
{noformat}
[MEDIC LOG Wed, 13 Jan 2016 01:54:40 GMT] running:
[MEDIC LOG Wed, 13 Jan 2016 01:54:40 GMT] ./cordova build android -- 
--gradle
ANDROID_HOME=/Users/buildbot/Developer/android-sdk-macosx
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all dependencies for configuration ':_debugCompile'.
   > Could not find any version that matches com.android.support:support-v4:23+.
 Searched in the following locations:
 
https://repo1.maven.org/maven2/com/android/support/support-v4/maven-metadata.xml

BUILD FAILED

Total time: 4.344 secs
 https://repo1.maven.org/maven2/com/android/support/support-v4/
 Required by:
 :android:unspecified

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug 
option to get more log output.
ERROR building one of the platforms: Error code 1 for command: 
/Users/buildbot/slaves/apache/cordova-android-osx/mobilespec/platforms/android/gradlew
 with args: 
cdvBuildDebug,-b,/Users/buildbot/slaves/apache/cordova-android-osx/mobilespec/platforms/android/build.gradle,-Dorg.gradle.daemon=true
You may not have the required environment or OS to build this project
Error: Error code 1 for command: 
/Users/buildbot/slaves/apache/cordova-android-osx/mobilespec/platforms/android/gradlew
 with args: 
cdvBuildDebug,-b,/Users/buildbot/slaves/apache/cordova-android-osx/mobilespec/platforms/android/build.gradle,-Dorg.gradle.daemon=true
{noformat}



--
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-10338) getCurrentPosition() hangs on Android 4.2.2

2016-01-13 Thread Tom Nightingale (JIRA)

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

Tom Nightingale commented on CB-10338:
--

FWIW This platform/plugin combo runs fine on a Nexus 9 running Android 6.0.1:
- android@5.0.0
- cordova-plugin-crosswalk-webview@1.4.0
- cordova-plugin-geolocation@2.0.0

But *not* on Android 4.2.2 (at least with the specific device that I am using).

> getCurrentPosition() hangs on Android 4.2.2 
> 
>
> Key: CB-10338
> URL: https://issues.apache.org/jira/browse/CB-10338
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Geolocation
>Affects Versions: 2.0.0
> Environment: Android 4.2.2 (running cordova-android@5.0.0)
>Reporter: Tom Nightingale
>  Labels: android, reproduced, triaged
>
> Neither success or error callbacks are called after calling 
> navigator.geolocation.getCurrentPosition().
> Stepping through the plugin with Chrome's Javascript debugger and Android 
> Studio's Java debugger shows that the plugin's shim code successfully 
> executes the Geolocation 'getPermission' check and returns back to fire the 
> shim's success handler (line 31 
> [here|https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-geolocation.git;a=blob;f=www/android/geolocation.js;h=82e3582e0c225340db44add8fe3ea81256dff03f;hb=57eb4dc550a3d88d3ebbb60a0d6a83d61f898dd7#l31]).
> However the next line which appears to call the platform's native 
> getCurrentPosition() just hangs; neither the provided success or error 
> callbacks are called. If I try step into that function call with the Chrome 
> remote debugger it just jumps to the end of the executing function (line 36 @ 
> above link). It's as if getCurrentPosition() is a no-op. Chrome's "show 
> function definition" functionality isn't able to resolve the definition 
> either.
> I wonder if the bug is somewhere in the cordova/modulemapper code? This is an 
> area of Cordova I am not familiar with...



--
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-10338) getCurrentPosition() hangs on Android 4.2.2

2016-01-13 Thread Tom Nightingale (JIRA)

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

Tom Nightingale edited comment on CB-10338 at 1/13/16 11:47 PM:


FWIW This platform/plugin combo runs fine on a Nexus 9 running Android 6.0.1:
- android@5.0.0
- cordova-plugin-crosswalk-webview@1.4.0
- cordova-plugin-geolocation@2.0.0

But *not* on Android 4.2.2 (at least with the specific device that I am using).

I'll give it a shot without Crosswalk when I'm back at my desk.


was (Author: t...@tnightingale.com):
FWIW This platform/plugin combo runs fine on a Nexus 9 running Android 6.0.1:
- android@5.0.0
- cordova-plugin-crosswalk-webview@1.4.0
- cordova-plugin-geolocation@2.0.0

But *not* on Android 4.2.2 (at least with the specific device that I am using).

> getCurrentPosition() hangs on Android 4.2.2 
> 
>
> Key: CB-10338
> URL: https://issues.apache.org/jira/browse/CB-10338
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Geolocation
>Affects Versions: 2.0.0
> Environment: Android 4.2.2 (running cordova-android@5.0.0)
>Reporter: Tom Nightingale
>  Labels: android, reproduced, triaged
>
> Neither success or error callbacks are called after calling 
> navigator.geolocation.getCurrentPosition().
> Stepping through the plugin with Chrome's Javascript debugger and Android 
> Studio's Java debugger shows that the plugin's shim code successfully 
> executes the Geolocation 'getPermission' check and returns back to fire the 
> shim's success handler (line 31 
> [here|https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-geolocation.git;a=blob;f=www/android/geolocation.js;h=82e3582e0c225340db44add8fe3ea81256dff03f;hb=57eb4dc550a3d88d3ebbb60a0d6a83d61f898dd7#l31]).
> However the next line which appears to call the platform's native 
> getCurrentPosition() just hangs; neither the provided success or error 
> callbacks are called. If I try step into that function call with the Chrome 
> remote debugger it just jumps to the end of the executing function (line 36 @ 
> above link). It's as if getCurrentPosition() is a no-op. Chrome's "show 
> function definition" functionality isn't able to resolve the definition 
> either.
> I wonder if the bug is somewhere in the cordova/modulemapper code? This is an 
> area of Cordova I am not familiar with...



--
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-10355) Add Python installation instructions to Readme.md file of cordova-docs package

2016-01-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10355:
-

Github user sarangan12 commented on the pull request:

https://github.com/apache/cordova-docs/pull/454#issuecomment-171455108
  
@dblotsky @riknoll Can you please review these changes and accept the pull 
request?


> Add Python installation instructions to Readme.md file of cordova-docs package
> --
>
> Key: CB-10355
> URL: https://issues.apache.org/jira/browse/CB-10355
> Project: Apache Cordova
>  Issue Type: Task
>  Components: Docs
>Reporter: Sarangan Rajamanickam
>Assignee: Sarangan Rajamanickam
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> The current version of Readme.md of cordova-docs project does not include 
> python as one of the prerequisites. The project build will fail without the 
> python installed on the build machine. So, we need to add the details of 
> python installation to the 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-10159) Contacts Plugin crashes when Cordova Activity killed in the background

2016-01-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10159:
-

Github user riknoll commented on the pull request:


https://github.com/apache/cordova-plugin-contacts/pull/97#issuecomment-171463127
  
@jasongin please review


> Contacts Plugin crashes when Cordova Activity killed in the background
> --
>
> Key: CB-10159
> URL: https://issues.apache.org/jira/browse/CB-10159
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Reporter: Richard B Knoll
>Assignee: Richard B Knoll
>  Labels: android, triaged
>
> When the OS kills the Cordova Activity in the background on low memory, the 
> plugin crashes when the Activity result is delivered. Should implement the 
> new plugin save/restore API.



--
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-7869) improve the doc regarding building release APKs for Android

2016-01-13 Thread Dmitry Blotsky (JIRA)

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

Dmitry Blotsky closed CB-7869.
--

> improve the doc regarding building release APKs for Android
> ---
>
> Key: CB-7869
> URL: https://issues.apache.org/jira/browse/CB-7869
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Docs
>Reporter: Marcel Kinard
>Assignee: Marcel Kinard
>Priority: Minor
> Fix For: 3.7.0
>
>
> There isn't much information in the docs regarding building release APKs for 
> Android. Improve that.



--
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-10159) Contacts Plugin crashes when Cordova Activity killed in the background

2016-01-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10159:
-

Github user riknoll commented on the pull request:


https://github.com/apache/cordova-plugin-contacts/pull/97#issuecomment-171471606
  
Rebased to master. Tested on Marshmallow device and Lollipop emulator. Also 
ran manual and auto mobilespec tests for both API levels with cordova-android's 
master and cordova-android 4.0.0 (for sanity's sake)


> Contacts Plugin crashes when Cordova Activity killed in the background
> --
>
> Key: CB-10159
> URL: https://issues.apache.org/jira/browse/CB-10159
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Reporter: Richard B Knoll
>Assignee: Richard B Knoll
>  Labels: android, triaged
>
> When the OS kills the Cordova Activity in the background on low memory, the 
> plugin crashes when the Activity result is delivered. Should implement the 
> new plugin save/restore API.



--
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-10350) Improve plugman page

2016-01-13 Thread Raghav (JIRA)
Raghav created CB-10350:
---

 Summary: Improve plugman page
 Key: CB-10350
 URL: https://issues.apache.org/jira/browse/CB-10350
 Project: Apache Cordova
  Issue Type: Task
  Components: Docs
Reporter: Raghav


URL: https://cordova.apache.org/docs/en/latest/plugin_ref/plugman.html

Update registry to npm.

General guidelines:

- While giving examples, keep them short. Do not repeat for all 
plugins/platforms.
- Remove all references to cordova plugin registry.
- Remove Tizen references. The platform is deprecated 
(http://markmail.org/message/hryg6sjswecpgndu)
- Keep information up to date for the platforms, CLI and plugins



--
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-10319) Add reflection for cordova-android 5.0.0 permission requests

2016-01-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10319:
-

Github user riknoll commented on the pull request:


https://github.com/apache/cordova-plugin-geolocation/pull/66#issuecomment-171461428
  
Looks like I'm seeing [this JIRA 
issue](https://issues.apache.org/jira/browse/CB-10338), which is preventing me 
from testing this.


> Add reflection for cordova-android 5.0.0 permission requests
> 
>
> Key: CB-10319
> URL: https://issues.apache.org/jira/browse/CB-10319
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera, Plugin Contacts, Plugin File, Plugin 
> Geolocation
>Reporter: Richard B Knoll
>Assignee: Richard B Knoll
>  Labels: cordova-6.0.0, triaged
>
> As was discussed on the mailing list, the purpose of this JIRA is to add 
> reflective helper methods to the plugins that allow the versions of the core 
> plugins written for cordova-android 5.0.0 to still build and work with 
> earlier versions of android (before Marshmallow)



--
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-10355) Add Python installation instructions to Readme.md file of cordova-docs package

2016-01-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10355:
-

Github user dblotsky commented on the pull request:

https://github.com/apache/cordova-docs/pull/454#issuecomment-171468547
  
Aside from the above comment,  LGTM.


> Add Python installation instructions to Readme.md file of cordova-docs package
> --
>
> Key: CB-10355
> URL: https://issues.apache.org/jira/browse/CB-10355
> Project: Apache Cordova
>  Issue Type: Task
>  Components: Docs
>Reporter: Sarangan Rajamanickam
>Assignee: Sarangan Rajamanickam
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> The current version of Readme.md of cordova-docs project does not include 
> python as one of the prerequisites. The project build will fail without the 
> python installed on the build machine. So, we need to add the details of 
> python installation to the 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-10338) getCurrentPosition() hangs on Android 4.2.2

2016-01-13 Thread Richard B Knoll (JIRA)

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

Richard B Knoll commented on CB-10338:
--

Works fine on a Kit Kat device (Nexus 7)

> getCurrentPosition() hangs on Android 4.2.2 
> 
>
> Key: CB-10338
> URL: https://issues.apache.org/jira/browse/CB-10338
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Geolocation
>Affects Versions: 2.0.0
> Environment: Android 4.2.2 (running cordova-android@5.0.0)
>Reporter: Tom Nightingale
>  Labels: android
>
> Neither success or error callbacks are called after calling 
> navigator.geolocation.getCurrentPosition().
> Stepping through the plugin with Chrome's Javascript debugger and Android 
> Studio's Java debugger shows that the plugin's shim code successfully 
> executes the Geolocation 'getPermission' check and returns back to fire the 
> shim's success handler (line 31 
> [here|https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-geolocation.git;a=blob;f=www/android/geolocation.js;h=82e3582e0c225340db44add8fe3ea81256dff03f;hb=57eb4dc550a3d88d3ebbb60a0d6a83d61f898dd7#l31]).
> However the next line which appears to call the platform's native 
> getCurrentPosition() just hangs; neither the provided success or error 
> callbacks are called. If I try step into that function call with the Chrome 
> remote debugger it just jumps to the end of the executing function (line 36 @ 
> above link). It's as if getCurrentPosition() is a no-op. Chrome's "show 
> function definition" functionality isn't able to resolve the definition 
> either.
> I wonder if the bug is somewhere in the cordova/modulemapper code? This is an 
> area of Cordova I am not familiar with...



--
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-10338) getCurrentPosition() hangs on Android 4.2.2

2016-01-13 Thread Tom Nightingale (JIRA)

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

Tom Nightingale commented on CB-10338:
--

I also have filed an issue with Crosswalk: 
https://crosswalk-project.org/jira/browse/XWALK-6140. It contains a dump of 
GPS-related logcat output that I see when calling 
navigator.getCurrentPosition().

> getCurrentPosition() hangs on Android 4.2.2 
> 
>
> Key: CB-10338
> URL: https://issues.apache.org/jira/browse/CB-10338
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Geolocation
>Affects Versions: 2.0.0
> Environment: Android 4.2.2 (running cordova-android@5.0.0)
>Reporter: Tom Nightingale
>  Labels: android, reproduced, triaged
>
> Neither success or error callbacks are called after calling 
> navigator.geolocation.getCurrentPosition().
> Stepping through the plugin with Chrome's Javascript debugger and Android 
> Studio's Java debugger shows that the plugin's shim code successfully 
> executes the Geolocation 'getPermission' check and returns back to fire the 
> shim's success handler (line 31 
> [here|https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-geolocation.git;a=blob;f=www/android/geolocation.js;h=82e3582e0c225340db44add8fe3ea81256dff03f;hb=57eb4dc550a3d88d3ebbb60a0d6a83d61f898dd7#l31]).
> However the next line which appears to call the platform's native 
> getCurrentPosition() just hangs; neither the provided success or error 
> callbacks are called. If I try step into that function call with the Chrome 
> remote debugger it just jumps to the end of the executing function (line 36 @ 
> above link). It's as if getCurrentPosition() is a no-op. Chrome's "show 
> function definition" functionality isn't able to resolve the definition 
> either.
> I wonder if the bug is somewhere in the cordova/modulemapper code? This is an 
> area of Cordova I am not familiar with...



--
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-10355) Add Python installation instructions to Redme.md file of cordova-docs package

2016-01-13 Thread Sarangan Rajamanickam (JIRA)
Sarangan Rajamanickam created CB-10355:
--

 Summary: Add Python installation instructions to Redme.md file of 
cordova-docs package
 Key: CB-10355
 URL: https://issues.apache.org/jira/browse/CB-10355
 Project: Apache Cordova
  Issue Type: Task
  Components: Docs
Reporter: Sarangan Rajamanickam
Assignee: Sarangan Rajamanickam


The current version of Readme.md of cordova-docs project does not include 
python as one of the prerequisites. The project build will fail without the 
python installed on the build machine. So, we need to add the details of python 
installation to the 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] [Updated] (CB-10355) Add Python installation instructions to Readme.md file of cordova-docs package

2016-01-13 Thread Sarangan Rajamanickam (JIRA)

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

Sarangan Rajamanickam updated CB-10355:
---
Summary: Add Python installation instructions to Readme.md file of 
cordova-docs package  (was: Add Python installation instructions to Redme.md 
file of cordova-docs package)

> Add Python installation instructions to Readme.md file of cordova-docs package
> --
>
> Key: CB-10355
> URL: https://issues.apache.org/jira/browse/CB-10355
> Project: Apache Cordova
>  Issue Type: Task
>  Components: Docs
>Reporter: Sarangan Rajamanickam
>Assignee: Sarangan Rajamanickam
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> The current version of Readme.md of cordova-docs project does not include 
> python as one of the prerequisites. The project build will fail without the 
> python installed on the build machine. So, we need to add the details of 
> python installation to the 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-10355) Add Python installation instructions to Readme.md file of cordova-docs package

2016-01-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10355:
-

GitHub user sarangan12 opened a pull request:

https://github.com/apache/cordova-docs/pull/454

CB-10355: Add Python installation instructions to Readme.md file

Modified the Readme.md file to include instructions for Python
installation. This is done because Python is required for a successful
build of the cordova-docs project

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

$ git pull https://github.com/sarangan12/cordova-docs master

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

https://github.com/apache/cordova-docs/pull/454.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 #454


commit b4462aaa10ad9a86bb7d8e8b83cdd953f6a4fb64
Author: Sarangan Rajamanickam 
Date:   2016-01-13T22:13:49Z

CB-10355: Add Python installation instructions to Readme.md file of 
cordova-docs package

Modified Redme.md file to include python installation instructions, as
python is a prerequisite for the successful build of the cordova project




> Add Python installation instructions to Readme.md file of cordova-docs package
> --
>
> Key: CB-10355
> URL: https://issues.apache.org/jira/browse/CB-10355
> Project: Apache Cordova
>  Issue Type: Task
>  Components: Docs
>Reporter: Sarangan Rajamanickam
>Assignee: Sarangan Rajamanickam
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> The current version of Readme.md of cordova-docs project does not include 
> python as one of the prerequisites. The project build will fail without the 
> python installed on the build machine. So, we need to add the details of 
> python installation to the 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] [Updated] (CB-5946) Automatic mime type in Filetransfer plugin

2016-01-13 Thread Joe Bowser (JIRA)

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

Joe Bowser updated CB-5946:
---
 Labels: Android  (was: )
Component/s: (was: Android)

> Automatic mime type in Filetransfer plugin
> --
>
> Key: CB-5946
> URL: https://issues.apache.org/jira/browse/CB-5946
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Plugin File Transfer
>Affects Versions: 3.3.0
>Reporter: Joachim Piketz
>  Labels: Android
>
> Feature request: automatically detect mime type in filetransfer plugin.
> The following works for me in Android:
> {code}
> String mime = null;
> try 
> {
>   mime = 
> this.cordova.getActivity().getContentResolver().getType(sourceUri);
>   if (mime == null)
>   {
>   MimeTypeMap mimemap = MimeTypeMap.getSingleton();
>   String uri = sourceUri.toString();
>   int index = uri.lastIndexOf('.');
>   if (index != -1)
>   mime = 
> mimemap.getMimeTypeFromExtension(uri.substring(index+1).toLowerCase());
>   }
> }
> catch (Exception e)
> {
>   Log.e(LOG_TAG, e.getMessage(), e);  
> }
> 
> if (mime == null)
>   mime = "application/octet-stream";
> 
> final String mimeType = mime; 
>   
> Log.d(LOG_TAG, "mimeType: " + mimeType);
> {code}



--
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-10338) getCurrentPosition() hangs on Android 4.2.2

2016-01-13 Thread Richard B Knoll (JIRA)

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

Richard B Knoll commented on CB-10338:
--

I'm seeing this issue in the default Android webview (no crosswalk) with 
cordova-android (master) and the latest geolocation plugin (master) on a 
Marshmallow device (Nexus 6). I've been trying to run the mobilespec manual 
tests but I'm not getting the success or failure callbacks in the JS. 
Permissions do get requested and the native code finishes its exec call; the 
problem seems to be in the native getCurrentPosition() function as noted above.

> getCurrentPosition() hangs on Android 4.2.2 
> 
>
> Key: CB-10338
> URL: https://issues.apache.org/jira/browse/CB-10338
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Geolocation
>Affects Versions: 2.0.0
> Environment: Android 4.2.2 (running cordova-android@5.0.0)
>Reporter: Tom Nightingale
>  Labels: android
>
> Neither success or error callbacks are called after calling 
> navigator.geolocation.getCurrentPosition().
> Stepping through the plugin with Chrome's Javascript debugger and Android 
> Studio's Java debugger shows that the plugin's shim code successfully 
> executes the Geolocation 'getPermission' check and returns back to fire the 
> shim's success handler (line 31 
> [here|https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-geolocation.git;a=blob;f=www/android/geolocation.js;h=82e3582e0c225340db44add8fe3ea81256dff03f;hb=57eb4dc550a3d88d3ebbb60a0d6a83d61f898dd7#l31]).
> However the next line which appears to call the platform's native 
> getCurrentPosition() just hangs; neither the provided success or error 
> callbacks are called. If I try step into that function call with the Chrome 
> remote debugger it just jumps to the end of the executing function (line 36 @ 
> above link). It's as if getCurrentPosition() is a no-op. Chrome's "show 
> function definition" functionality isn't able to resolve the definition 
> either.
> I wonder if the bug is somewhere in the cordova/modulemapper code? This is an 
> area of Cordova I am not familiar with...



--
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-10338) getCurrentPosition() hangs on Android 4.2.2

2016-01-13 Thread Richard B Knoll (JIRA)

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

Richard B Knoll updated CB-10338:
-
Labels: android reproduced triaged  (was: android)

> getCurrentPosition() hangs on Android 4.2.2 
> 
>
> Key: CB-10338
> URL: https://issues.apache.org/jira/browse/CB-10338
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Geolocation
>Affects Versions: 2.0.0
> Environment: Android 4.2.2 (running cordova-android@5.0.0)
>Reporter: Tom Nightingale
>  Labels: android, reproduced, triaged
>
> Neither success or error callbacks are called after calling 
> navigator.geolocation.getCurrentPosition().
> Stepping through the plugin with Chrome's Javascript debugger and Android 
> Studio's Java debugger shows that the plugin's shim code successfully 
> executes the Geolocation 'getPermission' check and returns back to fire the 
> shim's success handler (line 31 
> [here|https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-geolocation.git;a=blob;f=www/android/geolocation.js;h=82e3582e0c225340db44add8fe3ea81256dff03f;hb=57eb4dc550a3d88d3ebbb60a0d6a83d61f898dd7#l31]).
> However the next line which appears to call the platform's native 
> getCurrentPosition() just hangs; neither the provided success or error 
> callbacks are called. If I try step into that function call with the Chrome 
> remote debugger it just jumps to the end of the executing function (line 36 @ 
> above link). It's as if getCurrentPosition() is a no-op. Chrome's "show 
> function definition" functionality isn't able to resolve the definition 
> either.
> I wonder if the bug is somewhere in the cordova/modulemapper code? This is an 
> area of Cordova I am not familiar with...



--
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-9856) publisherId is ignored

2016-01-13 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal commented on CB-9856:
---

[~sarangan12] Can you please take a look at this?

> publisherId is ignored
> --
>
> Key: CB-9856
> URL: https://issues.apache.org/jira/browse/CB-9856
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Reporter: Philipp Kursawe
>
> The is really no way to set the manifests `Publisher` to the value specified 
> in `publisherId` because the certificate associated with the project will 
> always take precedence during build and override any value of `publisherId` 
> with the CommonName from the certificate.
> I had to find that out the hard way today. Nothing I specified in 
> `publisherId` could get rid of "The Cordova Team" in the `Publisher` 
> attribute of the `AppxManifest.xml`. I searched the whole day through the 
> source code for that string, but it was nowhere to be found. That's because 
> its in the default apps signing certificate.
> What was the original intent of that config value? Did it ever work like 
> described in the docs?



--
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-10352) Make Plugin APIs a reference

2016-01-13 Thread Raghav (JIRA)
Raghav created CB-10352:
---

 Summary: Make Plugin APIs a reference
 Key: CB-10352
 URL: https://issues.apache.org/jira/browse/CB-10352
 Project: Apache Cordova
  Issue Type: Task
  Components: Docs
Reporter: Raghav


Plugin APIs 
(https://cordova.apache.org/docs/en/latest/cordova/plugins/pluginapis.html) 
needs to be modified as per the reference structure. 



--
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-10355) Add Python installation instructions to Readme.md file of cordova-docs package

2016-01-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10355:
-

Github user riknoll commented on the pull request:

https://github.com/apache/cordova-docs/pull/454#issuecomment-171458215
  
LGTM but I'll default to @dblotsky on this since he knows more about the 
docs dev environment than I do.


> Add Python installation instructions to Readme.md file of cordova-docs package
> --
>
> Key: CB-10355
> URL: https://issues.apache.org/jira/browse/CB-10355
> Project: Apache Cordova
>  Issue Type: Task
>  Components: Docs
>Reporter: Sarangan Rajamanickam
>Assignee: Sarangan Rajamanickam
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> The current version of Readme.md of cordova-docs project does not include 
> python as one of the prerequisites. The project build will fail without the 
> python installed on the build machine. So, we need to add the details of 
> python installation to the 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] [Comment Edited] (CB-10357) Android build failing with "Could not resolve all dependencies"

2016-01-13 Thread Joe Bowser (JIRA)

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

Joe Bowser edited comment on CB-10357 at 1/14/16 12:24 AM:
---

I can't reproduce this error, and neither could the build server when it built 
1492, both of which are building the same code:
https://ci.apache.org/builders/cordova-android-osx/builds/1492/steps/running-tests/logs/stdio


was (Author: bowserj):
I can't reproduce this error, and neither could the build server when it built 
1492:
https://ci.apache.org/builders/cordova-android-osx/builds/1492/steps/running-tests/logs/stdio

> Android build failing with "Could not resolve all dependencies"
> ---
>
> Key: CB-10357
> URL: https://issues.apache.org/jira/browse/CB-10357
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
> Environment: Windows or OS X
>Reporter: Dmitry Blotsky
>Priority: Critical
>  Labels: build-failure, found-by-ci
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Failing build: 
> https://ci.apache.org/builders/cordova-android-osx/builds/1491/steps/running-tests/logs/stdio
> Output:
> {noformat}
> [MEDIC LOG Wed, 13 Jan 2016 01:54:40 GMT] running:
> [MEDIC LOG Wed, 13 Jan 2016 01:54:40 GMT] ./cordova build android -- 
> --gradle
> ANDROID_HOME=/Users/buildbot/Developer/android-sdk-macosx
> JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home
> FAILURE: Build failed with an exception.
> * What went wrong:
> A problem occurred configuring root project 'android'.
> > Could not resolve all dependencies for configuration ':_debugCompile'.
>> Could not find any version that matches 
> com.android.support:support-v4:23+.
>  Searched in the following locations:
>  
> https://repo1.maven.org/maven2/com/android/support/support-v4/maven-metadata.xml
> BUILD FAILED
> Total time: 4.344 secs
>  https://repo1.maven.org/maven2/com/android/support/support-v4/
>  Required by:
>  :android:unspecified
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or 
> --debug option to get more log output.
> ERROR building one of the platforms: Error code 1 for command: 
> /Users/buildbot/slaves/apache/cordova-android-osx/mobilespec/platforms/android/gradlew
>  with args: 
> cdvBuildDebug,-b,/Users/buildbot/slaves/apache/cordova-android-osx/mobilespec/platforms/android/build.gradle,-Dorg.gradle.daemon=true
> You may not have the required environment or OS to build this project
> Error: Error code 1 for command: 
> /Users/buildbot/slaves/apache/cordova-android-osx/mobilespec/platforms/android/gradlew
>  with args: 
> cdvBuildDebug,-b,/Users/buildbot/slaves/apache/cordova-android-osx/mobilespec/platforms/android/build.gradle,-Dorg.gradle.daemon=true
> {noformat}



--
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-10349) Improve Config.xml page and make it a reference

2016-01-13 Thread Raghav (JIRA)
Raghav created CB-10349:
---

 Summary: Improve Config.xml page and make it a reference
 Key: CB-10349
 URL: https://issues.apache.org/jira/browse/CB-10349
 Project: Apache Cordova
  Issue Type: Task
  Components: Docs
Reporter: Raghav


The page can use better formatting. Also we need to link this to splash screen 
details which will now live in 'Create your first app' section.

General guidelines:

- While giving examples, keep them short. Do not repeat for all 
plugins/platforms.
- Remove all references to cordova plugin registry.
- Remove Tizen references. The platform is deprecated 
(http://markmail.org/message/hryg6sjswecpgndu)
- Keep information up to date for the platforms, CLI and plugins



--
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-10354) Move the plugin articles under respective platform guides to 'Create plugins' section

2016-01-13 Thread Raghav (JIRA)
Raghav created CB-10354:
---

 Summary: Move the plugin articles under respective platform guides 
to 'Create plugins' section
 Key: CB-10354
 URL: https://issues.apache.org/jira/browse/CB-10354
 Project: Apache Cordova
  Issue Type: Task
  Components: Docs
Reporter: Raghav


The plugin guides needs be separated from the app guide and put under the 
respective section.

General guidelines:

- While giving examples, keep them short. Do not repeat for all 
plugins/platforms.
- Remove all references to cordova plugin registry.
- Remove Tizen references. The platform is deprecated 
(http://markmail.org/message/hryg6sjswecpgndu)
- Keep information up to date for the platforms, CLI and plugins



--
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-7888) Undocumented option 'body' in FileTransferError.

2016-01-13 Thread Dmitry Blotsky (JIRA)

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

Dmitry Blotsky closed CB-7888.
--

> Undocumented option 'body' in FileTransferError.
> 
>
> Key: CB-7888
> URL: https://issues.apache.org/jira/browse/CB-7888
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs, Plugin File Transfer
>Affects Versions: 4.0.0
> Environment: Android, iOS,Windows
>Reporter: Venkata Kiran
>Priority: Trivial
>  Labels: documentation
>
> The FileTransferError javascript layer has a option 'body' which I couldn't 
> find any reference to in the documentation.
> https://github.com/apache/cordova-plugin-file-transfer/blob/master/www/FileTransferError.js
> http://plugins.cordova.io/#/package/org.apache.cordova.file-transfer
> Looking at the Android source, it looks like the body will contain the stream 
> response in UTF-8. Looks like the docs are out of sync. 
> If some one can confirm this, I can send a PR to fix the documentation.



--
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-10355) Add Python installation instructions to Readme.md file of cordova-docs package

2016-01-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10355:
-

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

https://github.com/apache/cordova-docs/pull/454#discussion_r49666289
  
--- Diff: README.md ---
@@ -44,6 +44,37 @@ Run the commands from [this site][ruby_linux] that apply 
to your Linux distribut
 Verify the installation by running:
 
 ruby --version
+## Python
--- End diff --

Nitpick: Please add a space above this line.


> Add Python installation instructions to Readme.md file of cordova-docs package
> --
>
> Key: CB-10355
> URL: https://issues.apache.org/jira/browse/CB-10355
> Project: Apache Cordova
>  Issue Type: Task
>  Components: Docs
>Reporter: Sarangan Rajamanickam
>Assignee: Sarangan Rajamanickam
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> The current version of Readme.md of cordova-docs project does not include 
> python as one of the prerequisites. The project build will fail without the 
> python installed on the build machine. So, we need to add the details of 
> python installation to the 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-10338) getCurrentPosition() hangs on Android 4.2.2

2016-01-13 Thread Richard B Knoll (JIRA)

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

Richard B Knoll commented on CB-10338:
--

Weird. I wish I had a wider range of devices to test on, this does sound device 
specific.

> getCurrentPosition() hangs on Android 4.2.2 
> 
>
> Key: CB-10338
> URL: https://issues.apache.org/jira/browse/CB-10338
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Geolocation
>Affects Versions: 2.0.0
> Environment: Android 4.2.2 (running cordova-android@5.0.0)
>Reporter: Tom Nightingale
>  Labels: android, reproduced, triaged
>
> Neither success or error callbacks are called after calling 
> navigator.geolocation.getCurrentPosition().
> Stepping through the plugin with Chrome's Javascript debugger and Android 
> Studio's Java debugger shows that the plugin's shim code successfully 
> executes the Geolocation 'getPermission' check and returns back to fire the 
> shim's success handler (line 31 
> [here|https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-geolocation.git;a=blob;f=www/android/geolocation.js;h=82e3582e0c225340db44add8fe3ea81256dff03f;hb=57eb4dc550a3d88d3ebbb60a0d6a83d61f898dd7#l31]).
> However the next line which appears to call the platform's native 
> getCurrentPosition() just hangs; neither the provided success or error 
> callbacks are called. If I try step into that function call with the Chrome 
> remote debugger it just jumps to the end of the executing function (line 36 @ 
> above link). It's as if getCurrentPosition() is a no-op. Chrome's "show 
> function definition" functionality isn't able to resolve the definition 
> either.
> I wonder if the bug is somewhere in the cordova/modulemapper code? This is an 
> area of Cordova I am not familiar with...



--
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-10357) Android build failing with "Could not resolve all dependencies"

2016-01-13 Thread Joe Bowser (JIRA)

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

Joe Bowser commented on CB-10357:
-

I can't reproduce this error, and neither could the build server when it built 
1492:
https://ci.apache.org/builders/cordova-android-osx/builds/1492/steps/running-tests/logs/stdio

> Android build failing with "Could not resolve all dependencies"
> ---
>
> Key: CB-10357
> URL: https://issues.apache.org/jira/browse/CB-10357
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
> Environment: Windows or OS X
>Reporter: Dmitry Blotsky
>Priority: Critical
>  Labels: build-failure, found-by-ci
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Failing build: 
> https://ci.apache.org/builders/cordova-android-osx/builds/1491/steps/running-tests/logs/stdio
> Output:
> {noformat}
> [MEDIC LOG Wed, 13 Jan 2016 01:54:40 GMT] running:
> [MEDIC LOG Wed, 13 Jan 2016 01:54:40 GMT] ./cordova build android -- 
> --gradle
> ANDROID_HOME=/Users/buildbot/Developer/android-sdk-macosx
> JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home
> FAILURE: Build failed with an exception.
> * What went wrong:
> A problem occurred configuring root project 'android'.
> > Could not resolve all dependencies for configuration ':_debugCompile'.
>> Could not find any version that matches 
> com.android.support:support-v4:23+.
>  Searched in the following locations:
>  
> https://repo1.maven.org/maven2/com/android/support/support-v4/maven-metadata.xml
> BUILD FAILED
> Total time: 4.344 secs
>  https://repo1.maven.org/maven2/com/android/support/support-v4/
>  Required by:
>  :android:unspecified
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or 
> --debug option to get more log output.
> ERROR building one of the platforms: Error code 1 for command: 
> /Users/buildbot/slaves/apache/cordova-android-osx/mobilespec/platforms/android/gradlew
>  with args: 
> cdvBuildDebug,-b,/Users/buildbot/slaves/apache/cordova-android-osx/mobilespec/platforms/android/build.gradle,-Dorg.gradle.daemon=true
> You may not have the required environment or OS to build this project
> Error: Error code 1 for command: 
> /Users/buildbot/slaves/apache/cordova-android-osx/mobilespec/platforms/android/gradlew
>  with args: 
> cdvBuildDebug,-b,/Users/buildbot/slaves/apache/cordova-android-osx/mobilespec/platforms/android/build.gradle,-Dorg.gradle.daemon=true
> {noformat}



--
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-10319) Add reflection for cordova-android 5.0.0 permission requests

2016-01-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10319:
-

Github user riknoll commented on the pull request:


https://github.com/apache/cordova-plugin-geolocation/pull/66#issuecomment-171495075
  
GPS randomly started working. I was able to test this properly after all on 
the device.


> Add reflection for cordova-android 5.0.0 permission requests
> 
>
> Key: CB-10319
> URL: https://issues.apache.org/jira/browse/CB-10319
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera, Plugin Contacts, Plugin File, Plugin 
> Geolocation
>Reporter: Richard B Knoll
>Assignee: Richard B Knoll
>  Labels: cordova-6.0.0, triaged
>
> As was discussed on the mailing list, the purpose of this JIRA is to add 
> reflective helper methods to the plugins that allow the versions of the core 
> plugins written for cordova-android 5.0.0 to still build and work with 
> earlier versions of android (before Marshmallow)



--
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-10319) Add reflection for cordova-android 5.0.0 permission requests

2016-01-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10319:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cordova-plugin-geolocation/pull/66


> Add reflection for cordova-android 5.0.0 permission requests
> 
>
> Key: CB-10319
> URL: https://issues.apache.org/jira/browse/CB-10319
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera, Plugin Contacts, Plugin File, Plugin 
> Geolocation
>Reporter: Richard B Knoll
>Assignee: Richard B Knoll
>  Labels: cordova-6.0.0, triaged
>
> As was discussed on the mailing list, the purpose of this JIRA is to add 
> reflective helper methods to the plugins that allow the versions of the core 
> plugins written for cordova-android 5.0.0 to still build and work with 
> earlier versions of android (before Marshmallow)



--
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-10319) Add reflection for cordova-android 5.0.0 permission requests

2016-01-13 Thread ASF subversion and git services (JIRA)

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

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

Commit 9420f405f64fded667eb8335fc9cddc2401d6ff3 in cordova-plugin-geolocation's 
branch refs/heads/master from riknoll
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-geolocation.git;h=9420f40
 ]

CB-10319 android: Adding reflective helper methods for permission requests


> Add reflection for cordova-android 5.0.0 permission requests
> 
>
> Key: CB-10319
> URL: https://issues.apache.org/jira/browse/CB-10319
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera, Plugin Contacts, Plugin File, Plugin 
> Geolocation
>Reporter: Richard B Knoll
>Assignee: Richard B Knoll
>  Labels: cordova-6.0.0, triaged
>
> As was discussed on the mailing list, the purpose of this JIRA is to add 
> reflective helper methods to the plugins that allow the versions of the core 
> plugins written for cordova-android 5.0.0 to still build and work with 
> earlier versions of android (before Marshmallow)



--
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-10159) Contacts Plugin crashes when Cordova Activity killed in the background

2016-01-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10159:
-

Github user jasongin commented on the pull request:


https://github.com/apache/cordova-plugin-contacts/pull/97#issuecomment-171484812
  
LGTM


> Contacts Plugin crashes when Cordova Activity killed in the background
> --
>
> Key: CB-10159
> URL: https://issues.apache.org/jira/browse/CB-10159
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Reporter: Richard B Knoll
>Assignee: Richard B Knoll
>  Labels: android, triaged
>
> When the OS kills the Cordova Activity in the background on low memory, the 
> plugin crashes when the Activity result is delivered. Should implement the 
> new plugin save/restore API.



--
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-10358) throwing in the towel

2016-01-13 Thread Patrick Mueller (JIRA)
Patrick Mueller created CB-10358:


 Summary: throwing in the towel
 Key: CB-10358
 URL: https://issues.apache.org/jira/browse/CB-10358
 Project: Apache Cordova
  Issue Type: New Feature
  Components: weinre
Reporter: Patrick Mueller
Assignee: Patrick Mueller
Priority: Trivial


!http://unmaintained.tech/badge.svg!

It's been over a year since the last weinre release - 
http://people.apache.org/~pmuellr/weinre/builds/?C=M;O=D;V=0

Even before then, the bug reports have slowed down, and I don't really have 
time to deal with the handful that are left anyway.

So, consider this my throwing the towel.  My next update may just be a badge 
and link to http://http://unmaintained.tech/



--
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-10159) Contacts Plugin crashes when Cordova Activity killed in the background

2016-01-13 Thread ASF subversion and git services (JIRA)

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

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

Commit 00f71a8aafeb26d8172cb77833e7cc6fec7d905c in cordova-plugin-contacts's 
branch refs/heads/master from riknoll
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-contacts.git;h=00f71a8 
]

CB-10159 android: Adding restore callback to handle Activity destruction


> Contacts Plugin crashes when Cordova Activity killed in the background
> --
>
> Key: CB-10159
> URL: https://issues.apache.org/jira/browse/CB-10159
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Reporter: Richard B Knoll
>Assignee: Richard B Knoll
>  Labels: android, triaged
>
> When the OS kills the Cordova Activity in the background on low memory, the 
> plugin crashes when the Activity result is delivered. Should implement the 
> new plugin save/restore API.



--
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-10159) Contacts Plugin crashes when Cordova Activity killed in the background

2016-01-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10159:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cordova-plugin-contacts/pull/97


> Contacts Plugin crashes when Cordova Activity killed in the background
> --
>
> Key: CB-10159
> URL: https://issues.apache.org/jira/browse/CB-10159
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Reporter: Richard B Knoll
>Assignee: Richard B Knoll
>  Labels: android, triaged
>
> When the OS kills the Cordova Activity in the background on low memory, the 
> plugin crashes when the Activity result is delivered. Should implement the 
> new plugin save/restore API.



--
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-10159) Contacts Plugin crashes when Cordova Activity killed in the background

2016-01-13 Thread Richard B Knoll (JIRA)

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

Richard B Knoll closed CB-10159.

Resolution: Fixed

> Contacts Plugin crashes when Cordova Activity killed in the background
> --
>
> Key: CB-10159
> URL: https://issues.apache.org/jira/browse/CB-10159
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Reporter: Richard B Knoll
>Assignee: Richard B Knoll
>  Labels: android, triaged
>
> When the OS kills the Cordova Activity in the background on low memory, the 
> plugin crashes when the Activity result is delivered. Should implement the 
> new plugin save/restore API.



--
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-10319) Add reflection for cordova-android 5.0.0 permission requests

2016-01-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10319:
-

Github user riknoll commented on the pull request:


https://github.com/apache/cordova-plugin-geolocation/pull/66#issuecomment-171492706
  
Okay, I feel confident that I've tested the code path. The above JIRA 
doesn't block the native code from executing, and I was able to step through 
the javascript to make sure it was returning correctly and see the permission 
request popup. I've tested this on cordova-android's master and cordova-android 
4.0.0 by running mobilespec auto and manual tests. Did so on a Marshmallow 
device (with the above JIRA note) and on a Lollipop emulator (that did not 
experience the JIRA issue). I'm going to merge this in.


> Add reflection for cordova-android 5.0.0 permission requests
> 
>
> Key: CB-10319
> URL: https://issues.apache.org/jira/browse/CB-10319
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera, Plugin Contacts, Plugin File, Plugin 
> Geolocation
>Reporter: Richard B Knoll
>Assignee: Richard B Knoll
>  Labels: cordova-6.0.0, triaged
>
> As was discussed on the mailing list, the purpose of this JIRA is to add 
> reflective helper methods to the plugins that allow the versions of the core 
> plugins written for cordova-android 5.0.0 to still build and work with 
> earlier versions of android (before Marshmallow)



--
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-10338) getCurrentPosition() hangs on Android 4.2.2

2016-01-13 Thread Richard B Knoll (JIRA)

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

Richard B Knoll commented on CB-10338:
--

It's actually working for me now on the marshmallow device. I didn't change 
anything, maybe the GPS on my device was having issues. Could be that I'm not 
giving a timeout.

> getCurrentPosition() hangs on Android 4.2.2 
> 
>
> Key: CB-10338
> URL: https://issues.apache.org/jira/browse/CB-10338
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Geolocation
>Affects Versions: 2.0.0
> Environment: Android 4.2.2 (running cordova-android@5.0.0)
>Reporter: Tom Nightingale
>  Labels: android, reproduced, triaged
>
> Neither success or error callbacks are called after calling 
> navigator.geolocation.getCurrentPosition().
> Stepping through the plugin with Chrome's Javascript debugger and Android 
> Studio's Java debugger shows that the plugin's shim code successfully 
> executes the Geolocation 'getPermission' check and returns back to fire the 
> shim's success handler (line 31 
> [here|https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-geolocation.git;a=blob;f=www/android/geolocation.js;h=82e3582e0c225340db44add8fe3ea81256dff03f;hb=57eb4dc550a3d88d3ebbb60a0d6a83d61f898dd7#l31]).
> However the next line which appears to call the platform's native 
> getCurrentPosition() just hangs; neither the provided success or error 
> callbacks are called. If I try step into that function call with the Chrome 
> remote debugger it just jumps to the end of the executing function (line 36 @ 
> above link). It's as if getCurrentPosition() is a no-op. Chrome's "show 
> function definition" functionality isn't able to resolve the definition 
> either.
> I wonder if the bug is somewhere in the cordova/modulemapper code? This is an 
> area of Cordova I am not familiar with...



--
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-10319) Add reflection for cordova-android 5.0.0 permission requests

2016-01-13 Thread Richard B Knoll (JIRA)

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

Richard B Knoll closed CB-10319.

Resolution: Fixed

> Add reflection for cordova-android 5.0.0 permission requests
> 
>
> Key: CB-10319
> URL: https://issues.apache.org/jira/browse/CB-10319
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera, Plugin Contacts, Plugin File, Plugin 
> Geolocation
>Reporter: Richard B Knoll
>Assignee: Richard B Knoll
>  Labels: cordova-6.0.0, triaged
>
> As was discussed on the mailing list, the purpose of this JIRA is to add 
> reflective helper methods to the plugins that allow the versions of the core 
> plugins written for cordova-android 5.0.0 to still build and work with 
> earlier versions of android (before Marshmallow)



--
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-10345) Date picker buttons don't use locale

2016-01-13 Thread Nathan Hazout (JIRA)

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

Nathan Hazout updated CB-10345:
---
Attachment: Cordova.png

> Date picker buttons don't use locale
> 
>
> Key: CB-10345
> URL: https://issues.apache.org/jira/browse/CB-10345
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: Master
> Environment: iOS 9
>Reporter: Nathan Hazout
> Attachments: Cordova.png, Safari.png
>
>
> Make a simple Cordova app with just this:
> 
> Switch your iphone language to anything other than English (I tested with 
> French).
> Launch the app, and tap on the date field.
> You will see that the native date picker shows the dates in French (as 
> expected), however the buttons "Clear" and "Done" stay in English!
> On the other hand, if you open safari to https://jsfiddle.net/oe03gLmb/
> Tap on the small date picker, and you will see the buttons are in the correct 
> language.
> I've tested this on various versions of Cordova between 3.4 and 6.0.0-dev



--
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-10345) Date picker buttons don't use locale

2016-01-13 Thread Nathan Hazout (JIRA)

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

Nathan Hazout updated CB-10345:
---
Attachment: Safari.png

> Date picker buttons don't use locale
> 
>
> Key: CB-10345
> URL: https://issues.apache.org/jira/browse/CB-10345
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: Master
> Environment: iOS 9
>Reporter: Nathan Hazout
> Attachments: Cordova.png, Safari.png
>
>
> Make a simple Cordova app with just this:
> 
> Switch your iphone language to anything other than English (I tested with 
> French).
> Launch the app, and tap on the date field.
> You will see that the native date picker shows the dates in French (as 
> expected), however the buttons "Clear" and "Done" stay in English!
> On the other hand, if you open safari to https://jsfiddle.net/oe03gLmb/
> Tap on the small date picker, and you will see the buttons are in the correct 
> language.
> I've tested this on various versions of Cordova between 3.4 and 6.0.0-dev



--
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-10345) Date picker buttons don't use locale

2016-01-13 Thread Nathan Hazout (JIRA)
Nathan Hazout created CB-10345:
--

 Summary: Date picker buttons don't use locale
 Key: CB-10345
 URL: https://issues.apache.org/jira/browse/CB-10345
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: Master
 Environment: iOS 9
Reporter: Nathan Hazout


Make a simple Cordova app with just this:



Switch your iphone language to anything other than English (I tested with 
French).

Launch the app, and tap on the date field.
You will see that the native date picker shows the dates in French (as 
expected), however the buttons "Clear" and "Done" stay in English!

On the other hand, if you open safari to https://jsfiddle.net/oe03gLmb/
Tap on the small date picker, and you will see the buttons are in the correct 
language.

I've tested this on various versions of Cordova between 3.4 and 6.0.0-dev



--
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-10344) "cordova prepare" on Windows ignores tag in config.xml

2016-01-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10344:
-

GitHub user alsorokin opened a pull request:

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

CB-10344 Fixed icons and splashscreens parsing

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

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

$ git pull https://github.com/MSOpenTech/cordova-windows CB-10344

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

https://github.com/apache/cordova-windows/pull/136.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 #136


commit a4f7a605a455157c2d7154d7b4ad2aee9a08fbae
Author: Alexander Sorokin 
Date:   2016-01-13T15:48:37Z

CB-10344 Fixed icons and splashscreens parsing




> "cordova prepare" on Windows ignores  tag in config.xml
> --
>
> Key: CB-10344
> URL: https://issues.apache.org/jira/browse/CB-10344
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: Master
>Reporter: Alexander Sorokin
>
> download the assets and unpack them to the root of cordova app:
> https://yadi.sk/d/pN05iYGhmshzr
> add this tag to config.xml, then run the app:
> {code}
> 
> 
>  height="30" />
> 
>  height="106" />
>  height="170" />
>  height="360" />
>  />
>  height="360" />
>  height="300" />
>  height="1920" />
> 
> {code}
> Expected:
> New icons are copied to platforms/windows/images and are visible in the app.
> Actual:
> New icons are not copied to platforms/windows/images and are not visible in 
> the app.



--
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-7781) Plugin Un-install fails for iOS with plist strings

2016-01-13 Thread Rony Cohen (JIRA)

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

Rony Cohen edited comment on CB-7781 at 1/13/16 4:02 PM:
-

I encounter the same issue with any plugins on CORDOVA 5.4.0

when removing a plugin I have this error : 

`cannot read property 'buffer' of undefined`

It's OK now with 5.4.1


was (Author: ronyrun):
I encounter the same issue with any plugins on CORDOVA 5.4.0

when removing a plugin I have this error : 

`cannot read property 'buffer' of undefined`

> Plugin Un-install fails for iOS with plist strings
> --
>
> Key: CB-7781
> URL: https://issues.apache.org/jira/browse/CB-7781
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugman
>Affects Versions: 3.5.0
> Environment: OS X 10.9.5, Cordova 3.6.3-0.2.13. iOS
>Reporter: Matthew McClintock
>  Labels: javascript, newbie, plugins, uninstall
>
> plugin.xml contains
> {code}
> 
> 
> audio
> fetch
>  
> 
> {code}
> will cause `cordova plugin rm org.wbez.cordova.flimflam` command to fail:
> {code}
> Uninstalling org.wbez.cordova.flimflam from android
> Uninstalling org.wbez.cordova.flimflam from ios
> TypeError: Cannot read property 'buffer' of undefined
> at walk_obj 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/plist/lib/build.js:131:18)
> at walk_obj 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/plist/lib/build.js:98:7)
> at walk_obj 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/plist/lib/build.js:109:9)
> at Object.build 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/plist/lib/build.js:76:3)
> at ConfigFile_save [as save] 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/config-changes.js:574:47)
> at 
> /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/config-changes.js:446:49
> at Array.forEach (native)
> at ConfigKeeper_save_all [as save_all] 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/config-changes.js:444:31)
> at PlatformMunger_save_all [as save_all] 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/config-changes.js:128:24)
> at Object.exports.process 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/config-changes.js:81:12)
> {code}



--
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-10342) Different Android PhoneGap Apps with a 'com.google.android.gms:play-services-gcm' dependency can not install together

2016-01-13 Thread Ronny Schleicher (JIRA)

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

Ronny Schleicher updated CB-10342:
--
Description: 
h3. Step to Reproduce:

* Create a new blank Phonegap Application (in this example on the PC):

* Identifier and Name *de.myapp.myapp MYAPP*

{code:none}
cd c:\

call cordova create PhoneGap_android de.myapp.myapp MYAPP

cd PhoneGap_android

call cordova platform add android

call cordova plugin ls
{code}

* Open the project in the Android Studio

* Now add the dependency in the build.gradle file *compile 
"com.google.android.gms:play-services-gcm:+"* (why it is needed in this case no 
matter, but it is for Push Notification required)

{code:none}
dependencies {
compile fileTree(dir: 'libs', include: '*.jar')
// SUB-PROJECT DEPENDENCIES START
debugCompile project(path: "CordovaLib", configuration: "debug")
releaseCompile project(path: "CordovaLib", configuration: "release")
compile "com.google.android.gms:play-services-gcm:+"
// SUB-PROJECT DEPENDENCIES END
}
{code}

* Try to install and run the MYAPP on a real Android device

* *Also is fine!* The App can be installed and lanched too.

* Close the App and close the Android Studio too

* Create a second new Phonegap App

* Identifier and Name are completely different to the first APP 
*de.myapp2.myapp2 MYAPP2*

{code:none}
cd c:\

call cordova create PhoneGap_android2 de.myapp2.myapp2 MYAPP2

cd PhoneGap_android2

call cordova platform add android

call cordova plugin ls
{code}

* Open the second project in the Android Studio

* Now add also the dependency in build.gradle file *compile 
"com.google.android.gms:play-services-gcm:+"*

{code:none}
dependencies {
compile fileTree(dir: 'libs', include: '*.jar')
// SUB-PROJECT DEPENDENCIES START
debugCompile project(path: "CordovaLib", configuration: "debug")
releaseCompile project(path: "CordovaLib", configuration: "release")
compile "com.google.android.gms:play-services-gcm:+"
// SUB-PROJECT DEPENDENCIES END
}
{code}

* Try to install and run the *MYAPP2* on the same real  Android device (MYAPP 
is still installed)

* Follow error message appear

!https://cloud.githubusercontent.com/assets/1914203/12246839/15b99d7e-b8b1-11e5-919b-99feea099367.png!

Then trying uninstalling proposes course fail. Because App does not exist.

h3. Consequence

* *You can never install more then one PhoneGap App required dependency 
(compile "com.google.android.gms:play-services-gcm:+") on the same device!*

* *This also happens with released Apps (sent via email as an APK MYAPP and 
MyApp2)*

* *And it happens even if the apps are installed from the +Play Store+!  Mostly 
then comes the error +-505+*

* Without dependencies it would work. (But then I can not use any Push 
Notification implementation in my App)

  was:
h3. Step to Reproduce:

* Create a new blank Phonegap Application (in this example on the PC):

* Identifier and Name *de.myapp.myapp MYAPP*

{code:none}
cd c:\

call cordova create PhoneGap_android de.myapp.myapp MYAPP

cd PhoneGap_android

call cordova platform add android

call cordova plugin ls
{code}

* Now add the dependency in the build.gradle file *compile 
"com.google.android.gms:play-services-gcm:+"* (why it is needed in this case no 
matter, but it is for Push Notification required)

{code:none}
dependencies {
compile fileTree(dir: 'libs', include: '*.jar')
// SUB-PROJECT DEPENDENCIES START
debugCompile project(path: "CordovaLib", configuration: "debug")
releaseCompile project(path: "CordovaLib", configuration: "release")
compile "com.google.android.gms:play-services-gcm:+"
// SUB-PROJECT DEPENDENCIES END
}
{code}

* Open the project in the Android Studio

* Try to install and run the MYAPP on a real Android device

* *Also is fine!* The App can be installed and lanched too.

* Close the App and close the Android Studio too

* Create a second new Phonegap App

* Identifier and Name are completely different to the first APP 
*de.myapp2.myapp2 MYAPP2*

{code:none}
cd c:\

call cordova create PhoneGap_android2 de.myapp2.myapp2 MYAPP2

cd PhoneGap_android2

call cordova platform add android

call cordova plugin ls
{code}

* Now add also the dependency in build.gradle file *compile 
"com.google.android.gms:play-services-gcm:+"*

{code:none}
dependencies {
compile fileTree(dir: 'libs', include: '*.jar')
// SUB-PROJECT DEPENDENCIES START
debugCompile project(path: "CordovaLib", configuration: "debug")
releaseCompile project(path: "CordovaLib", configuration: "release")
compile "com.google.android.gms:play-services-gcm:+"
// SUB-PROJECT DEPENDENCIES END
}
{code}

* Open the second project in the Android Studio

* Try to install and run the *MYAPP2* on the same real  Android device (MYAPP 
is still installed)

* Follow error message appear


[jira] [Comment Edited] (CB-10228) AppendUserAgent not working with WKWebView

2016-01-13 Thread vB Results, LLC. (JIRA)

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

vB Results, LLC. edited comment on CB-10228 at 1/13/16 3:31 PM:


What temporary solution can I use until this is fixed?  I just need to append 
to the user agent string -- I'd love to use WKWebView and I wouldn't have to 
worry about the NSURLDOMAIN -999 error since it's not triggered here.


was (Author: vbresults):
What temporary solution I can use until this is fixed?  I just need to append 
to the user agent string -- I'd love to use WKWebView and I wouldn't have to 
worry about the NSURLDOMAIN -999 error since it's not triggered here.

> AppendUserAgent not working with WKWebView
> --
>
> Key: CB-10228
> URL: https://issues.apache.org/jira/browse/CB-10228
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin WKWebViewEngine
>Reporter: vB Results, LLC.
>  Labels: triaged, wkwebview-1.0.2
>
> Using the npm version of cordova-plugin-wkwebview-engine and cordova-ios@4 
> and AppendUserAgent is the most lightweight way to detect whether or not we 
> are in the app on a remote site.  Please fix, the lack of this means we 
> cannot benefit from using WKWebView :(



--
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-7781) Plugin Un-install fails for iOS with plist strings

2016-01-13 Thread Rony Cohen (JIRA)

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

Rony Cohen commented on CB-7781:


I encounter the same issue with any plugins on CORDOVA 5.4.0

when removing a plugin I have this error : 

`cannot read property 'buffer' of undefined`

> Plugin Un-install fails for iOS with plist strings
> --
>
> Key: CB-7781
> URL: https://issues.apache.org/jira/browse/CB-7781
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugman
>Affects Versions: 3.5.0
> Environment: OS X 10.9.5, Cordova 3.6.3-0.2.13. iOS
>Reporter: Matthew McClintock
>  Labels: javascript, newbie, plugins, uninstall
>
> plugin.xml contains
> {code}
> 
> 
> audio
> fetch
>  
> 
> {code}
> will cause `cordova plugin rm org.wbez.cordova.flimflam` command to fail:
> {code}
> Uninstalling org.wbez.cordova.flimflam from android
> Uninstalling org.wbez.cordova.flimflam from ios
> TypeError: Cannot read property 'buffer' of undefined
> at walk_obj 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/plist/lib/build.js:131:18)
> at walk_obj 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/plist/lib/build.js:98:7)
> at walk_obj 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/plist/lib/build.js:109:9)
> at Object.build 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/plist/lib/build.js:76:3)
> at ConfigFile_save [as save] 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/config-changes.js:574:47)
> at 
> /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/config-changes.js:446:49
> at Array.forEach (native)
> at ConfigKeeper_save_all [as save_all] 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/config-changes.js:444:31)
> at PlatformMunger_save_all [as save_all] 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/config-changes.js:128:24)
> at Object.exports.process 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/config-changes.js:81:12)
> {code}



--
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-10343) Permissions request plugin / api

2016-01-13 Thread Bnaya (JIRA)
Bnaya created CB-10343:
--

 Summary: Permissions request plugin / api
 Key: CB-10343
 URL: https://issues.apache.org/jira/browse/CB-10343
 Project: Apache Cordova
  Issue Type: Improvement
Reporter: Bnaya


With android 6 now requesting permissions on demand is on the 2 main platforms.

In order to create good UX and to align with the platforms guidelines the 
permissions request and checking shouldn't be bound to the plugin,
or not to the api call itself, but should have separate api call. 

If you can't abstract it properly, its better to provide platform specific js 
api and guidelines about what is the proper way to ask for permissions.

That will also make the development of new plugins much more easier,
and will simplify existing plugins as they will have standart way to ask for 
permission or they can just tell the developer to use the permissions plugin 
before calling their plugin api.





--
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-10344) "cordova prepare" on Windows ignores tag in config.xml

2016-01-13 Thread Alexander Sorokin (JIRA)
Alexander Sorokin created CB-10344:
--

 Summary: "cordova prepare" on Windows ignores  tag in 
config.xml
 Key: CB-10344
 URL: https://issues.apache.org/jira/browse/CB-10344
 Project: Apache Cordova
  Issue Type: Bug
  Components: Windows
Affects Versions: Master
Reporter: Alexander Sorokin


download the assets and unpack them to the root of cordova app:
https://yadi.sk/d/pN05iYGhmshzr

add this tag to config.xml, then run the app:

{code}













{code}

New icons are not copied to platforms/windows/images and are not visible in the 
app.



--
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-10228) AppendUserAgent not working with WKWebView

2016-01-13 Thread vB Results, LLC. (JIRA)

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

vB Results, LLC. commented on CB-10228:
---

What temporary solution I can use until this is fixed?  I just need to append 
to the user agent string -- I'd love to use WKWebView and I wouldn't have to 
worry about the NSURLDOMAIN -999 error since it's not triggered here.

> AppendUserAgent not working with WKWebView
> --
>
> Key: CB-10228
> URL: https://issues.apache.org/jira/browse/CB-10228
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin WKWebViewEngine
>Reporter: vB Results, LLC.
>  Labels: triaged, wkwebview-1.0.2
>
> Using the npm version of cordova-plugin-wkwebview-engine and cordova-ios@4 
> and AppendUserAgent is the most lightweight way to detect whether or not we 
> are in the app on a remote site.  Please fix, the lack of this means we 
> cannot benefit from using WKWebView :(



--
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-10342) Different Android PhoneGap Apps with a 'com.google.android.gms:play-services-gcm' dependency can not install together

2016-01-13 Thread Ronny Schleicher (JIRA)
Ronny Schleicher created CB-10342:
-

 Summary: Different Android PhoneGap Apps with a 
'com.google.android.gms:play-services-gcm' dependency can not install together
 Key: CB-10342
 URL: https://issues.apache.org/jira/browse/CB-10342
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaLib
Affects Versions: 5.3.2
 Environment: * Samsung Note 3 (SM-9005) with Android 5.0
* Android Studio 1.5.1
* PhoneGap 5.3.3
* "cordova-plugin-whitelist": "1.2.0"
Reporter: Ronny Schleicher


h3. Step to Reproduce:

* Create a new blank Phonegap Application (in this example on the PC):

* Identifier and Name *de.myapp.myapp MYAPP*

{code:none}
cd c:\

call cordova create PhoneGap_android de.myapp.myapp MYAPP

cd PhoneGap_android

call cordova platform add android

call cordova plugin ls
{code}

* Now add the dependency in the build.gradle file *compile 
"com.google.android.gms:play-services-gcm:+"* (why it is needed in this case no 
matter, but it is for Push Notification required)

{code:none}
dependencies {
compile fileTree(dir: 'libs', include: '*.jar')
// SUB-PROJECT DEPENDENCIES START
debugCompile project(path: "CordovaLib", configuration: "debug")
releaseCompile project(path: "CordovaLib", configuration: "release")
compile "com.google.android.gms:play-services-gcm:+"
// SUB-PROJECT DEPENDENCIES END
}
{code}

* Open the project in the Android Studio

* Try to install and run the MYAPP on a real Android device

* *Also is fine!* The App can be installed and lanched too.

* Close the App and close the Android Studio too

* Create a second new Phonegap App

* Identifier and Name are completely different to the first APP 
*de.myapp2.myapp2 MYAPP2*

{code:none}
cd c:\

call cordova create PhoneGap_android2 de.myapp2.myapp2 MYAPP2

cd PhoneGap_android2

call cordova platform add android

call cordova plugin ls
{code}

* Now add also the dependency in build.gradle file *compile 
"com.google.android.gms:play-services-gcm:+"*

{code:none}
dependencies {
compile fileTree(dir: 'libs', include: '*.jar')
// SUB-PROJECT DEPENDENCIES START
debugCompile project(path: "CordovaLib", configuration: "debug")
releaseCompile project(path: "CordovaLib", configuration: "release")
compile "com.google.android.gms:play-services-gcm:+"
// SUB-PROJECT DEPENDENCIES END
}
{code}

* Open the second project in the Android Studio

* Try to install and run the *MYAPP2* on the same real  Android device (MYAPP 
is still installed)

* Follow error message appear

!https://cloud.githubusercontent.com/assets/1914203/12246839/15b99d7e-b8b1-11e5-919b-99feea099367.png!

Then trying uninstalling proposes course fail. Because App does not exist.

h3. Consequence

* *You can never install more then one PhoneGap App required dependency 
(compile "com.google.android.gms:play-services-gcm:+") on the same device!*

* *This also happens with released Apps (sent via email as an APK MYAPP and 
MyApp2)*

* *And it happens even if the apps are installed from the +Play Store+!  Mostly 
then comes the error +-505+*

* Without dependencies it would work. (But then I can not use any Push 
Notification implementation in my App)



--
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-10344) "cordova prepare" on Windows ignores tag in config.xml

2016-01-13 Thread Alexander Sorokin (JIRA)

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

Alexander Sorokin updated CB-10344:
---
Description: 
download the assets and unpack them to the root of cordova app:
https://yadi.sk/d/pN05iYGhmshzr

add this tag to config.xml, then run the app:

{code}













{code}

Expected:
New icons are copied to platforms/windows/images and are visible in the app.

Actual:
New icons are not copied to platforms/windows/images and are not visible in the 
app.

  was:
download the assets and unpack them to the root of cordova app:
https://yadi.sk/d/pN05iYGhmshzr

add this tag to config.xml, then run the app:

{code}













{code}

New icons are not copied to platforms/windows/images and are not visible in the 
app.


> "cordova prepare" on Windows ignores  tag in config.xml
> --
>
> Key: CB-10344
> URL: https://issues.apache.org/jira/browse/CB-10344
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: Master
>Reporter: Alexander Sorokin
>
> download the assets and unpack them to the root of cordova app:
> https://yadi.sk/d/pN05iYGhmshzr
> add this tag to config.xml, then run the app:
> {code}
> 
> 
>  height="30" />
> 
>  height="106" />
>  height="170" />
>  height="360" />
>  />
>  height="360" />
>  height="300" />
>  height="1920" />
> 
> {code}
> Expected:
> New icons are copied to platforms/windows/images and are visible in the app.
> Actual:
> New icons are not copied to platforms/windows/images and are not visible in 
> the app.



--
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-10041) Cordova 5.4.0:Plugin folder inside assets/www missing in apk cause crash

2016-01-13 Thread Joe Bowser (JIRA)

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

Joe Bowser resolved CB-10041.
-
Resolution: Incomplete

We don't have enough details to do anything with this issue.  If you could 
provide us with more information, we may be able to help further.

> Cordova 5.4.0:Plugin folder inside assets/www missing in apk cause crash
> 
>
> Key: CB-10041
> URL: https://issues.apache.org/jira/browse/CB-10041
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 5.4.0
>Reporter: Hariharan
> Fix For: 5.4.0
>
>
> Using cordova 5.4.0, When we tried to create APK through cordova build 
> android both debug & release mode; App not working as expected and it is 
> crashed.
> When investigating this issue, we come to know "plugin" folder not created in 
> assets/www in the apk generated. Also the plugin folder available in the APK 
> when we using the cordova 5.3.3 build and application working fine.
> Kindly let us know 



--
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-9339) Sensor status is unavailable in Nexus 7 devices

2016-01-13 Thread Joe Bowser (JIRA)

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

Joe Bowser updated CB-9339:
---
Component/s: (was: Android)

> Sensor status is unavailable in Nexus 7 devices
> ---
>
> Key: CB-9339
> URL: https://issues.apache.org/jira/browse/CB-9339
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Device Motion
>Reporter: Murat Sutunc
>Assignee: Murat Sutunc
>




--
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] [Assigned] (CB-10046) INSTALL_FAILED_CONFLICTING_PROVIDER error for apps using Google Play Services

2016-01-13 Thread Joe Bowser (JIRA)

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

Joe Bowser reassigned CB-10046:
---

Assignee: Simon MacDonald

> INSTALL_FAILED_CONFLICTING_PROVIDER error for apps using Google Play Services
> -
>
> Key: CB-10046
> URL: https://issues.apache.org/jira/browse/CB-10046
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android
>Reporter: Simon MacDonald
>Assignee: Simon MacDonald
>Priority: Minor
>
> If two applications are using Google Play Services you can get into a 
> situation where the second app fails to install with a 
> [INSTALL_FAILED_CONFLICTING_PROVIDER] error. The root cause of it is a bug in 
> build tools. 
> https://code.google.com/p/android/issues/detail?id=193567
> The work around is pretty simple as you just need to add an “applicationId” 
> to your build.gradle. Perhaps this should be added to our build.gradle 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] [Resolved] (CB-10103) ordova.file object is undefined

2016-01-13 Thread Joe Bowser (JIRA)

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

Joe Bowser resolved CB-10103.
-
Resolution: Incomplete

It sounds like plugman isn't installing the file plugin correctly.  This is the 
Cordova Issue tracker, and we haven't been able to reproduce your issue on our 
end.  Perhaps checking on Stack Overflow would help you resolve your issue.

> ordova.file object is undefined
> ---
>
> Key: CB-10103
> URL: https://issues.apache.org/jira/browse/CB-10103
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 5.1.0
> Environment: android - cordova.file
>Reporter: Deepak Kumar Sharma
>  Labels: newbie
>
> As per 'Platform-centered workflow' from 
> https://cordova.apache.org/docs/en/latest/guide/overview/index.html created a 
> project with help of https://github.com/apache/cordova-android repository on 
> local (cordova version: 5.1.0-dev) Used plugman to add file plug-in into 
> project but getting error  cordova.file object is undefined while accessing 
> it in console or alert. cordova object is coming successfully in any dialog 
> box. Tried with following to solve it but no of use: 
> https://github.com/apache/cordova-plugin-file cordova plugin add 
> cordova-plugin-file cordova plugin add cordova-plugin-file@4.0.0  All the 
> entries into config.xml file and AndroidManifest.xml are correct after adding 
> any way to add plug-in. Please suggest anyone to help this.



--
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-9998) CLONE - Data URIs do not work on Android

2016-01-13 Thread Joe Bowser (JIRA)

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

Joe Bowser resolved CB-9998.

Resolution: Incomplete

I do need to know what version of Android was tried.  It does seem that trying 
to use an intent to load data URIs isn't working, and navigation should be 
allowed.

> CLONE - Data URIs do not work on Android
> 
>
> Key: CB-9998
> URL: https://issues.apache.org/jira/browse/CB-9998
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 5.3.3
>Reporter: Sean Whitaker
>Assignee: Joe Bowser
>
> The following code should create an iframe that says "asdf":
> var frame = document.createElement('iframe');
> frame.style.background = 'red';
> frame.src = 
> 'data:text/html;charset=utf-8,%3C%21DOCTYPE%20HTML%3E%3Chtml%3E%3Cbody%3Easdf%3C%2Fbody%3E%3C%2Fhtml%3E'
> document.body.appendChild(frame);
> I/ActivityManager(  437): START u0 {act=android.intent.action.VIEW 
> cat=[android.intent.category.BROWSABLE] 
> dat=data:text/html;charset=utf-8, HTML>asdf} from uid 10052 on display 0
> E/CordovaWebViewImpl( 2678): Error loading url 
> data:text/html;charset=utf-8,%3C%21DOCTYPE%20HTML%3E%3Chtml%3E%3Cbody%3Easdf%3C%2Fbody%3E%3C%2Fhtml%3E
> E/CordovaWebViewImpl( 2678): android.content.ActivityNotFoundException: No 
> Activity found to handle Intent { act=android.intent.action.VIEW 
> cat=[android.intent.category.BROWSABLE] 
> dat=data:text/html;charset=utf-8, HTML>asdf }
> E/CordovaWebViewImpl( 2678):at 
> android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1765)
> E/CordovaWebViewImpl( 2678):at 
> android.app.Instrumentation.execStartActivity(Instrumentation.java:1485)
> E/CordovaWebViewImpl( 2678):at 
> android.app.Activity.startActivityForResult(Activity.java:3736)
> E/CordovaWebViewImpl( 2678):at 
> org.apache.cordova.CordovaActivity.startActivityForResult(CordovaActivity.java:337)
> E/CordovaWebViewImpl( 2678):at 
> android.app.Activity.startActivityForResult(Activity.java:3697)
> E/CordovaWebViewImpl( 2678):at 
> android.app.Activity.startActivity(Activity.java:4007)
> E/CordovaWebViewImpl( 2678):at 
> android.app.Activity.startActivity(Activity.java:3975)
> E/CordovaWebViewImpl( 2678):at 
> org.apache.cordova.CordovaWebViewImpl.showWebPage(CordovaWebViewImpl.java:237)
> E/CordovaWebViewImpl( 2678):at 
> org.apache.cordova.CordovaWebViewImpl$EngineClient.onNavigationAttempt(CordovaWebViewImpl.java:602)
> E/CordovaWebViewImpl( 2678):at 
> org.apache.cordova.engine.SystemWebViewClient.shouldOverrideUrlLoading(SystemWebViewClient.java:79)
> E/CordovaWebViewImpl( 2678):at 
> com.android.webview.chromium.WebViewContentsClientAdapter.shouldOverrideUrlLoading(WebViewContentsClientAdapter.java:339)
> E/CordovaWebViewImpl( 2678):at 
> com.android.org.chromium.android_webview.AwContentsClientBridge.shouldOverrideUrlLoading(AwContentsClientBridge.java:261)
> E/CordovaWebViewImpl( 2678):at 
> com.android.org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native 
> Method)
> E/CordovaWebViewImpl( 2678):at 
> com.android.org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:28)
> E/CordovaWebViewImpl( 2678):at 
> android.os.Handler.dispatchMessage(Handler.java:102)
> E/CordovaWebViewImpl( 2678):at android.os.Looper.loop(Looper.java:135)
> E/CordovaWebViewImpl( 2678):at 
> android.app.ActivityThread.main(ActivityThread.java:5221)
> E/CordovaWebViewImpl( 2678):at java.lang.reflect.Method.invoke(Native 
> Method)
> E/CordovaWebViewImpl( 2678):at 
> java.lang.reflect.Method.invoke(Method.java:372)
> E/CordovaWebViewImpl( 2678):at 
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
> E/CordovaWebViewImpl( 2678):at 
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)a:597)
> 08-31 20:12:37.873: E/Cordova(13151): at 
> dalvik.system.NativeStart.main(Native Method)



--
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-9742) Add support for setting multi-task app header color through ActivityManager

2016-01-13 Thread Joe Bowser (JIRA)

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

Joe Bowser updated CB-9742:
---
 Labels: Android  (was: )
Component/s: (was: Android)

> Add support for setting multi-task app header color through ActivityManager
> ---
>
> Key: CB-9742
> URL: https://issues.apache.org/jira/browse/CB-9742
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Plugin Statusbar
> Environment: Android 5.1.1, Cordova cli-5.2.0
>Reporter: Benjamin Humphrey
>  Labels: Android
>
> It would be great if cordova-plugin-statusbar would support setting the 
> label, icon, and color of the application header in Lollipop's multi-task 
> view dynamically through the following:
> {code}
> Activity.setTaskDescription(new ActivityManager.TaskDescription(label, icon, 
> color));
> {code}
> For more information, see 
> http://stackoverflow.com/questions/27838528/changing-color-of-header-in-multitask-view



--
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



  1   2   >