[jira] [Commented] (CB-9789) The Phonegap camera plugin doesn't use the native iOS language. Instead, it always uses english for the buttons ('Retake', 'Use' etc.)

2016-07-21 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-9789:


Github user codecov-io commented on the issue:

https://github.com/apache/cordova-ios/pull/237
  
## [Current coverage][cc-pull] is 34.72% (diff: 100%)
> Merging [#237][cc-pull] into [master][cc-base-branch] will decrease 
coverage by **17.08%**

```diff
@@ master   #237   diff @@
==
  Files11 11  
  Lines   882884 +2   
  Methods 132132  
  Messages  0  0  
  Branches143144 +1   
==
- Hits457307   -150   
- Misses  425577   +152   
  Partials  0  0  
```

> Powered by [Codecov](https://codecov.io?src=pr). Last update 
[5c3885b...e3cfdb2][cc-compare]
[cc-base-branch]: 
https://codecov.io/gh/apache/cordova-ios/branch/master?src=pr
[cc-compare]: 
https://codecov.io/gh/apache/cordova-ios/compare/5c3885b807f4c9556bf350c72400827a333f78d3...e3cfdb2b09099b5a1fa33cf041cb4d48b9db5697?src=pr
[cc-pull]: https://codecov.io/gh/apache/cordova-ios/pull/237?src=pr


> The Phonegap camera plugin doesn't use the native iOS language. Instead, it 
> always uses english for the buttons ('Retake', 'Use' etc.)
> --
>
> Key: CB-9789
> URL: https://issues.apache.org/jira/browse/CB-9789
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 3.9.0
> Environment: iOS 9.0.2
> X-Code 7.0.1
> CordovaLib 3.9.1 
> cordova-plugin-camera: 1.2.0
>Reporter: Ronny Schleicher
>Assignee: jcesarmobile
>
> I found in StackOverflow this link:
> [StackOverflow|http://stackoverflow.com/questions/15155713/phonegap-change-language-of-labels]



--
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-11611) iPhone doesn't vibrate in my code

2016-07-21 Thread zhuisui (JIRA)

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

zhuisui updated CB-11611:
-
Description: 
I write some code to implement a feature.
I inspect every element of array and if some satisfy condition I call 
{{vibrate}}.
code like this

{code:javascript}

document.addEventListener('data', v, false);
function v(arr){
var i=0;
while(i iPhone doesn't vibrate in my code
> -
>
> Key: CB-11611
> URL: https://issues.apache.org/jira/browse/CB-11611
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Vibration
>Reporter: zhuisui
>
> I write some code to implement a feature.
> I inspect every element of array and if some satisfy condition I call 
> {{vibrate}}.
> code like this
> {code:javascript}
> document.addEventListener('data', v, false);
> function v(arr){
> var i=0;
> while(i if(condition){
> vibrate(10);
> }
> i += arr.length / 10;
> }
> }
> {code}
> But it doesn't vibrate, until event {{data}} doesn't be dispatched.



--
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-11611) iPhone doesn't vibrate in my code

2016-07-21 Thread zhuisui (JIRA)
zhuisui created CB-11611:


 Summary: iPhone doesn't vibrate in my code
 Key: CB-11611
 URL: https://issues.apache.org/jira/browse/CB-11611
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Vibration
Reporter: zhuisui


I write some code to implement a feature.
I inspect every element of array and if some satisfy condition I call 
{{vibrate}}.
code like this

{code:javascript}

document.addEventListener('data', v, false);
function v(arr){
var i=0;
while(i

[jira] [Commented] (CB-9789) The Phonegap camera plugin doesn't use the native iOS language. Instead, it always uses english for the buttons ('Retake', 'Use' etc.)

2016-07-21 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-9789:


GitHub user dpogue opened a pull request:

https://github.com/apache/cordova-ios/pull/237

CB-9789: Support setting the default app locale

This allows adding a `defaultlocale="XX"` attribute to the `widget` tag in 
config.xml to set the CFBundleDevelopmentRegion to a different language. This 
allows native UI (like the camera plugin) to use a non-English locale.

Requires https://github.com/apache/cordova-lib/pull/466
References https://github.com/cordova/cordova-discuss/issues/25

/cc @jasongin for the bugfix in `cleanIcons` and `cleanSplashScreens`

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

$ git pull https://github.com/dpogue/cordova-ios defaultlocale

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

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


commit 088fdaa62f8b67f0e46a2458553194d796875641
Author: Darryl Pogue 
Date:   2016-07-22T03:10:30Z

Fix wrong platform name in asset cleanup

commit e4f3cf9a5889d9230f2e4032d0a1037cdb783844
Author: Darryl Pogue 
Date:   2016-07-22T03:10:55Z

CB-9789: Allow setting the default locale




> The Phonegap camera plugin doesn't use the native iOS language. Instead, it 
> always uses english for the buttons ('Retake', 'Use' etc.)
> --
>
> Key: CB-9789
> URL: https://issues.apache.org/jira/browse/CB-9789
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 3.9.0
> Environment: iOS 9.0.2
> X-Code 7.0.1
> CordovaLib 3.9.1 
> cordova-plugin-camera: 1.2.0
>Reporter: Ronny Schleicher
>Assignee: jcesarmobile
>
> I found in StackOverflow this link:
> [StackOverflow|http://stackoverflow.com/questions/15155713/phonegap-change-language-of-labels]



--
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-11382) Camera will not open

2016-07-21 Thread Ivan (JIRA)

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

Ivan commented on CB-11382:
---

I use plugin version 2.2.0. but I add permission request in plugin and it works 
fine.

> Camera will not open
> 
>
> Key: CB-11382
> URL: https://issues.apache.org/jira/browse/CB-11382
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Reporter: Ivan
>
> I'm using Cordova Camera Plugin 
> (https://www.npmjs.com/package/cordova-plugin-camera) and starting with this 
> line
> navigator.camera.getPicture(onSuccessPhoto, onFailPhoto, { quality: 50, 
> destinationType: Camera.DestinationType.FILE_URI });
> On android 6.0.1. camera will not open and I got error 
> "permission denial: ... requires android.permission.read_external_storage or 
> granturipermission()"
> On lower android version it works fine.



--
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-11389) Prevent Cordova from creating launch images

2016-07-21 Thread jcesarmobile (JIRA)

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

jcesarmobile updated CB-11389:
--
Priority: Minor  (was: Major)

> Prevent Cordova from creating launch images
> ---
>
> Key: CB-11389
> URL: https://issues.apache.org/jira/browse/CB-11389
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 6.0.0, 6.1.1
> Environment: Normal Cordova project.
>Reporter: Andrea Tino
>Assignee: Shazron Abdullah
>Priority: Minor
> Fix For: 6.0.0, 6.1.1
>
>
> When creating a project, I do not want default launch images to be created as 
> a storyboard will be used instead.
> However, if no launch images are specified in the config file, then Cordova 
> will create default launch screens. How to prevent them from being created, 
> and how to remove the ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME setting as well?



--
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-10282) Don't show message Installing "cordova-plugin-XXX" for platform if the plugin doesn´t support that platform

2016-07-21 Thread jcesarmobile (JIRA)

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

jcesarmobile commented on CB-10282:
---

Edited the original title and message


> Don't show message Installing "cordova-plugin-XXX" for platform if the plugin 
> doesn´t support that platform
> ---
>
> Key: CB-10282
> URL: https://issues.apache.org/jira/browse/CB-10282
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CordovaLib
>Affects Versions: 3.5.0
> Environment: All
>Reporter: Michael Stanford
>Priority: Minor
>
> Edited message:
> I'm editing the issue as the real problem is that when you add a platform it 
> shows Installing "cordova-plugin-xxx" for platform even if the plugin doesn't 
> support that platform.
> An example is the cordova-plugin-whitelist, it doesn't support ios but still 
> shows the message Installing "cordova-plugin-whitelist" for ios
> Original message
> The documentation (at https://www.npmjs.com/package/cordova-plugin-whitelist) 
> appears to claim only Android is supported: 
> "Supported Cordova Platforms
>Android 4.0.0 or above"
> The warning when you add this plugin to your project also appears to indicate 
> that this plugin is not needed on iOS:
> "This plugin is only applicable for versions of cordova-android greater than 
> 4.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-10282) Don't show message Installing "cordova-plugin-XXX" for platform if the plugin doesn´t support that platform

2016-07-21 Thread jcesarmobile (JIRA)

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

jcesarmobile updated CB-10282:
--
Description: 
Edited message:
I'm editing the issue as the real problem is that when you add a platform it 
shows Installing "cordova-plugin-xxx" for platform even if the plugin doesn't 
support that platform.

An example is the cordova-plugin-whitelist, it doesn't support ios but still 
shows the message Installing "cordova-plugin-whitelist" for ios


Original message
The documentation (at https://www.npmjs.com/package/cordova-plugin-whitelist) 
appears to claim only Android is supported: 

"Supported Cordova Platforms
   Android 4.0.0 or above"

The warning when you add this plugin to your project also appears to indicate 
that this plugin is not needed on iOS:

"This plugin is only applicable for versions of cordova-android greater than 
4.0."



  was:
The documentation (at https://www.npmjs.com/package/cordova-plugin-whitelist) 
appears to claim only Android is supported: 

"Supported Cordova Platforms
   Android 4.0.0 or above"

The warning when you add this plugin to your project also appears to indicate 
that this plugin is not needed on iOS:

"This plugin is only applicable for versions of cordova-android greater than 
4.0."




> Don't show message Installing "cordova-plugin-XXX" for platform if the plugin 
> doesn´t support that platform
> ---
>
> Key: CB-10282
> URL: https://issues.apache.org/jira/browse/CB-10282
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CordovaLib
>Affects Versions: 3.5.0
> Environment: All
>Reporter: Michael Stanford
>Priority: Minor
>
> Edited message:
> I'm editing the issue as the real problem is that when you add a platform it 
> shows Installing "cordova-plugin-xxx" for platform even if the plugin doesn't 
> support that platform.
> An example is the cordova-plugin-whitelist, it doesn't support ios but still 
> shows the message Installing "cordova-plugin-whitelist" for ios
> Original message
> The documentation (at https://www.npmjs.com/package/cordova-plugin-whitelist) 
> appears to claim only Android is supported: 
> "Supported Cordova Platforms
>Android 4.0.0 or above"
> The warning when you add this plugin to your project also appears to indicate 
> that this plugin is not needed on iOS:
> "This plugin is only applicable for versions of cordova-android greater than 
> 4.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-10282) Don't show message Installing "cordova-plugin-XXX" for platform if the plugin doesn´t support that platform

2016-07-21 Thread jcesarmobile (JIRA)

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

jcesarmobile updated CB-10282:
--
Component/s: (was: Plugin Whitelist)
 CordovaLib

> Don't show message Installing "cordova-plugin-XXX" for platform if the plugin 
> doesn´t support that platform
> ---
>
> Key: CB-10282
> URL: https://issues.apache.org/jira/browse/CB-10282
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CordovaLib
>Affects Versions: 3.5.0
> Environment: All
>Reporter: Michael Stanford
>Priority: Minor
>
> The documentation (at https://www.npmjs.com/package/cordova-plugin-whitelist) 
> appears to claim only Android is supported: 
> "Supported Cordova Platforms
>Android 4.0.0 or above"
> The warning when you add this plugin to your project also appears to indicate 
> that this plugin is not needed on iOS:
> "This plugin is only applicable for versions of cordova-android greater than 
> 4.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-10282) Don't show message Installing "cordova-plugin-XXX" for platform if the plugin doesn´t support that platform

2016-07-21 Thread jcesarmobile (JIRA)

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

jcesarmobile updated CB-10282:
--
Summary: Don't show message Installing "cordova-plugin-XXX" for platform if 
the plugin doesn´t support that platform  (was: Documentation issue - 
"Supported Platforms" doesn't mention iOS)

> Don't show message Installing "cordova-plugin-XXX" for platform if the plugin 
> doesn´t support that platform
> ---
>
> Key: CB-10282
> URL: https://issues.apache.org/jira/browse/CB-10282
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CordovaLib
>Affects Versions: 3.5.0
> Environment: All
>Reporter: Michael Stanford
>Priority: Minor
>
> The documentation (at https://www.npmjs.com/package/cordova-plugin-whitelist) 
> appears to claim only Android is supported: 
> "Supported Cordova Platforms
>Android 4.0.0 or above"
> The warning when you add this plugin to your project also appears to indicate 
> that this plugin is not needed on iOS:
> "This plugin is only applicable for versions of cordova-android greater than 
> 4.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] [Commented] (CB-9993) Don't rebuild whole project when only /www/ content was changed

2016-07-21 Thread jcesarmobile (JIRA)

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

jcesarmobile commented on CB-9993:
--

You were told on slack about the --nobuild option 

Example
{code}cordova run ios --device --nobuild{code}

Was that what you were looking for?

> Don't rebuild whole project when only /www/ content was changed
> ---
>
> Key: CB-9993
> URL: https://issues.apache.org/jira/browse/CB-9993
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CLI
> Environment: all platforms
>Reporter: Philipp Kursawe
>  Labels: build, features
>
> The {{code > build > run}} cyle can be very long and frustrating to work with.
> The CLI should not re-build the platform files when only the content of the 
> /www/ folder has changed. It should also not even copy the contents of the 
> /www/ folder to each platform folder but but just reference it in place in 
> the targets project file. This would make the use of browserify or webpack 
> much easier.
> Coming from the Windows world and its Windows Store Apps the above mentioned 
> cycle is practically instant run. There is no build/compilation step involved 
> in normal HTML/JS Store apps. I'd like to see that behaviour in Cordova apps 
> too.
> When the config is changed the target projects files might be adjusted too. 
> CLI could save a simple file hash for the config.xml and not re-generate the 
> platform projects when the hash is the same.



--
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-11387) Relative plugin resolution does not work when cordova is executed as sub process

2016-07-21 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra updated CB-11387:
--
Affects Version/s: 6.3.0

> Relative plugin resolution does not work when cordova is executed as sub 
> process
> 
>
> Key: CB-11387
> URL: https://issues.apache.org/jira/browse/CB-11387
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: 6.2.0, 6.3.0
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
> Attachments: CB-11387-Example.zip
>
>
> (this used to work in 6.1.1)
> if {{cordova platform add}} is invoked as subprocess (for example in an 
> ant-script), the plugin spec resolution for relative plugins doesn't work.
> for example:
> {noformat}
>   
> {noformat}
> See the attached script. when running with ant it shows:
> {noformat}
> $ ant test
> Buildfile: /Users/tripod/tmp/testfail/foo/build.xml
> test:
>  [exec] /Users/tripod/tmp/testfail/foo/testdir
>[delete] Deleting directory 
> /Users/tripod/tmp/testfail/foo/testdir/platforms
>[delete] Deleting directory /Users/tripod/tmp/testfail/foo/testdir/plugins
>  [exec] Adding ios project...
>  [exec] iOS project created with cordova-ios@4.1.1
>  [exec] Discovered plugin "cordova-plugin-whitelist" in config.xml. 
> Adding it to the project
>  [exec] Fetching plugin "cordova-plugin-whitelist@1" via npm
>  [exec] Installing "cordova-plugin-whitelist" for ios
>  [exec] Discovered plugin "cordova-testplugin" in config.xml. Adding it 
> to the project
>  [exec] Failed to restore plugin "cordova-testplugin" from config.xml. 
> You might need to try adding it again. Error: Error: Invalid package.json
> {noformat}
> please note, that ant sets the pwd correctly.
> when running from command line:
> {noformat}
> $ cd testdir; cordova platform add ios
> Adding ios project...
> iOS project created with cordova-ios@4.1.1
> Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the 
> project
> Fetching plugin "cordova-plugin-whitelist@1" via npm
> Installing "cordova-plugin-whitelist" for ios
> Discovered plugin "cordova-testplugin" in config.xml. Adding it to the project
> Installing "cordova-testplugin" for ios
> {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-11548) Cordova-windows should allow to use specific version of msbuild

2016-07-21 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11548:
-

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

https://github.com/apache/cordova-windows/pull/188#discussion_r71791061
  
--- Diff: template/cordova/lib/MSBuildTools.js ---
@@ -93,6 +93,20 @@ module.exports.findAllAvailableVersions = function () {
 return !!item;
 });
 });
+}
+
+module.exports.findAllAvailableVersions = function () {
+// CB-11548 use VSINSTALLDIR environment if defined to find MSBuild. 
If VSINSTALLDIR
+// is not specified or incorrect - fall back to default discovery 
mechanism.
--- End diff --

It is quite likely that `VSINSTALLDIR` is specified and *correct*, but just 
doesn't contain the msbuild path we're looking for (this will be the case for 
previous versions of VS, for example). So I think it would be clearer to say 
here something like "not specified or doesn't contain the MSBuild path we are 
looking for".


> Cordova-windows should allow to use specific version of msbuild
> ---
>
> Key: CB-11548
> URL: https://issues.apache.org/jira/browse/CB-11548
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: Windows
>Affects Versions: 4.4.0
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>  Labels: build, windows
> Fix For: 4.4.1
>
>
> Currently cordova-windows uses own logic to determine and find required 
> version of msbuild to build the project. However there might be some 
> situations when user might want to specify, which msbuild version should be 
> used
> The idea is to check {{VSINSTALLDIR}} environment variable before building 
> the project and if it is defined - use it to find required msbuild executable



--
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-11569) Tools release July 13, 2016

2016-07-21 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-11569.
-
Resolution: Done

> Tools release July 13, 2016
> ---
>
> Key: CB-11569
> URL: https://issues.apache.org/jira/browse/CB-11569
> Project: Apache Cordova
>  Issue Type: Task
>  Components: CLI, cordova-fetch, CordovaCommon, CordovaLib
>Affects Versions: 1.4.0, 1.0.1, 6.3.0
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>  Labels: release, tools
>
> Following steps at 
> https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md



--
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-11326) use navigator.app.loadUrl got uncaught exception with allow-navigation

2016-07-21 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-11326.
-
Resolution: Fixed

> use navigator.app.loadUrl got uncaught exception with allow-navigation 
> ---
>
> Key: CB-11326
> URL: https://issues.apache.org/jira/browse/CB-11326
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
> Environment: Cordova 6.2.0
>Reporter: zhuisui
>Assignee: Vladimir Kotikov
>  Labels: triaged
>
> I get this stack when {{navigator.app.loadUrl(myurl)}} with 
> {{}}, which occurs after 
> {{pluginManager.shouldAllowNavigation(myurl)}} returns true
> {code}
> Uncaught exception from plugin
>  
> android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original 
> thread that created a view hierarchy can touch its views.
>  at 
> android.view.ViewRootImpl.checkThread(ViewRootImpl.java:6556)
>  at 
> android.view.ViewRootImpl.clearChildFocus(ViewRootImpl.java:3023)
>  at 
> android.view.ViewGroup.clearChildFocus(ViewGroup.java:964)
>  at 
> android.view.ViewGroup.clearChildFocus(ViewGroup.java:964)
>  at 
> android.view.ViewGroup.clearChildFocus(ViewGroup.java:964)
>  at 
> android.view.View.clearFocusInternal(View.java:5602)
>  at 
> android.view.View.clearFocus(View.java:5585)
>  at 
> android.view.ViewGroup.clearFocus(ViewGroup.java:977)
>  at 
> android.view.View.setFlags(View.java:10622)
>  at 
> android.view.View.setVisibility(View.java:7431)
>  at 
> org.apache.cordova.splashscreen.SplashScreen.pluginInitialize(SplashScreen.java:85)
>  at 
> org.apache.cordova.CordovaPlugin.privateInitialize(CordovaPlugin.java:58)
>  at 
> org.apache.cordova.PluginManager.getPlugin(PluginManager.java:172)
>  at 
> org.apache.cordova.PluginManager.startupPlugins(PluginManager.java:98)
>  at 
> org.apache.cordova.PluginManager.init(PluginManager.java:87)
>  at 
> org.apache.cordova.CordovaWebViewImpl.loadUrlIntoView(CordovaWebViewImpl.java:138)
>  at 
> org.apache.cordova.CordovaWebViewImpl.showWebPage(CordovaWebViewImpl.java:216)
>  at 
> org.apache.cordova.CoreAndroid.loadUrl(CoreAndroid.java:203)
>  at 
> org.apache.cordova.CoreAndroid.execute(CoreAndroid.java:92)
>  at 
> org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:98)
>  at 
> org.apache.cordova.PluginManager.exec(PluginManager.java:133)
>  at 
> org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59)
>  at 
> org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41)
>  at 
> org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
>  at 
> org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:53)
>  at 
> android.os.Handler.dispatchMessage(Handler.java:102)
>  at 
> android.os.Looper.loop(Looper.java:148)
>  at 
> android.os.HandlerThread.run(HandlerThread.java:61)
> {code}
> Then, app cannot accept any command and doesn't response.



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


[jira] [Closed] (CB-11530) Multiple Cordova apps that work in iOS 9 are nonfunctional in iOS 10

2016-07-21 Thread jcesarmobile (JIRA)

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

jcesarmobile closed CB-11530.
-
Resolution: Invalid
  Assignee: jcesarmobile

Closing as invalid.
The problem might be what [~chad.lindstrom] said.

If you find specific issues with iOS 10, please open new issues.

> Multiple Cordova apps that work in iOS 9 are nonfunctional in iOS 10
> 
>
> Key: CB-11530
> URL: https://issues.apache.org/jira/browse/CB-11530
> Project: Apache Cordova
>  Issue Type: Bug
>Reporter: user
>Assignee: jcesarmobile
>
> My own client's Cordova-based app (Raptor ID), as well as several apps in the 
> Cordova "App Showcase" (bottom of https://cordova.apache.org) are 
> nonfunctional in iOS 10 -- including Pacifica, JustWatch, and Clever Baby. 
> The apps exhibit one or both of the following issues:
> - On launch, the app gets stuck on the splash screen
> - If you leave the app by hitting the Home button and then come back, you get 
> past the splash screen but none of the UI elements (buttons, links, etc.) are 
> interactive, so you cannot do anything.



--
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-11382) Camera will not open

2016-07-21 Thread jcesarmobile (JIRA)

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

jcesarmobile commented on CB-11382:
---

[~dexterp23] can you tell us the cordova CLI, cordova-android and plugin 
versions?

As [~iago...@gmail.com] said, this should be fixed on latest versions.

> Camera will not open
> 
>
> Key: CB-11382
> URL: https://issues.apache.org/jira/browse/CB-11382
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Reporter: Ivan
>
> I'm using Cordova Camera Plugin 
> (https://www.npmjs.com/package/cordova-plugin-camera) and starting with this 
> line
> navigator.camera.getPicture(onSuccessPhoto, onFailPhoto, { quality: 50, 
> destinationType: Camera.DestinationType.FILE_URI });
> On android 6.0.1. camera will not open and I got error 
> "permission denial: ... requires android.permission.read_external_storage or 
> granturipermission()"
> On lower android version it works fine.



--
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-11569) Tools release July 13, 2016

2016-07-21 Thread ASF subversion and git services (JIRA)

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

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

Commit 1753731 from an-s...@apache.org
[ https://svn.apache.org/r1753731 ]

CB-11569 Announce tools release

> Tools release July 13, 2016
> ---
>
> Key: CB-11569
> URL: https://issues.apache.org/jira/browse/CB-11569
> Project: Apache Cordova
>  Issue Type: Task
>  Components: CLI, cordova-fetch, CordovaCommon, CordovaLib
>Affects Versions: 1.4.0, 1.0.1, 6.3.0
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>  Labels: release, tools
>
> Following steps at 
> https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md



--
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-11326) use navigator.app.loadUrl got uncaught exception with allow-navigation

2016-07-21 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11326:
-

Github user vladimir-kotikov commented on the issue:

https://github.com/apache/cordova-plugin-splashscreen/pull/104
  
Thanks, @jcesarmobile 


> use navigator.app.loadUrl got uncaught exception with allow-navigation 
> ---
>
> Key: CB-11326
> URL: https://issues.apache.org/jira/browse/CB-11326
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
> Environment: Cordova 6.2.0
>Reporter: zhuisui
>Assignee: Vladimir Kotikov
>  Labels: triaged
>
> I get this stack when {{navigator.app.loadUrl(myurl)}} with 
> {{}}, which occurs after 
> {{pluginManager.shouldAllowNavigation(myurl)}} returns true
> {code}
> Uncaught exception from plugin
>  
> android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original 
> thread that created a view hierarchy can touch its views.
>  at 
> android.view.ViewRootImpl.checkThread(ViewRootImpl.java:6556)
>  at 
> android.view.ViewRootImpl.clearChildFocus(ViewRootImpl.java:3023)
>  at 
> android.view.ViewGroup.clearChildFocus(ViewGroup.java:964)
>  at 
> android.view.ViewGroup.clearChildFocus(ViewGroup.java:964)
>  at 
> android.view.ViewGroup.clearChildFocus(ViewGroup.java:964)
>  at 
> android.view.View.clearFocusInternal(View.java:5602)
>  at 
> android.view.View.clearFocus(View.java:5585)
>  at 
> android.view.ViewGroup.clearFocus(ViewGroup.java:977)
>  at 
> android.view.View.setFlags(View.java:10622)
>  at 
> android.view.View.setVisibility(View.java:7431)
>  at 
> org.apache.cordova.splashscreen.SplashScreen.pluginInitialize(SplashScreen.java:85)
>  at 
> org.apache.cordova.CordovaPlugin.privateInitialize(CordovaPlugin.java:58)
>  at 
> org.apache.cordova.PluginManager.getPlugin(PluginManager.java:172)
>  at 
> org.apache.cordova.PluginManager.startupPlugins(PluginManager.java:98)
>  at 
> org.apache.cordova.PluginManager.init(PluginManager.java:87)
>  at 
> org.apache.cordova.CordovaWebViewImpl.loadUrlIntoView(CordovaWebViewImpl.java:138)
>  at 
> org.apache.cordova.CordovaWebViewImpl.showWebPage(CordovaWebViewImpl.java:216)
>  at 
> org.apache.cordova.CoreAndroid.loadUrl(CoreAndroid.java:203)
>  at 
> org.apache.cordova.CoreAndroid.execute(CoreAndroid.java:92)
>  at 
> org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:98)
>  at 
> org.apache.cordova.PluginManager.exec(PluginManager.java:133)
>  at 
> org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59)
>  at 
> org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41)
>  at 
> org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
>  at 
> org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:53)
>  at 
> android.os.Handler.dispatchMessage(Handler.java:102)
>  at 
> android.os.Looper.loop(Looper.java:148)
>  at 
> android.os.HandlerThread.run(HandlerThread.java:61)
> {code}
> Then, app cannot 

[jira] [Commented] (CB-11326) use navigator.app.loadUrl got uncaught exception with allow-navigation

2016-07-21 Thread ASF subversion and git services (JIRA)

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

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

Commit 41ca5809b111c552d7f5b9adc0c5745fe6459085 in 
cordova-plugin-splashscreen's branch refs/heads/master from [~vladimir.kotikov]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-splashscreen.git;h=41ca580
 ]

CB-11326 Prevent crash when initializing plugin after navigating to another URL


> use navigator.app.loadUrl got uncaught exception with allow-navigation 
> ---
>
> Key: CB-11326
> URL: https://issues.apache.org/jira/browse/CB-11326
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
> Environment: Cordova 6.2.0
>Reporter: zhuisui
>Assignee: Vladimir Kotikov
>  Labels: triaged
>
> I get this stack when {{navigator.app.loadUrl(myurl)}} with 
> {{}}, which occurs after 
> {{pluginManager.shouldAllowNavigation(myurl)}} returns true
> {code}
> Uncaught exception from plugin
>  
> android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original 
> thread that created a view hierarchy can touch its views.
>  at 
> android.view.ViewRootImpl.checkThread(ViewRootImpl.java:6556)
>  at 
> android.view.ViewRootImpl.clearChildFocus(ViewRootImpl.java:3023)
>  at 
> android.view.ViewGroup.clearChildFocus(ViewGroup.java:964)
>  at 
> android.view.ViewGroup.clearChildFocus(ViewGroup.java:964)
>  at 
> android.view.ViewGroup.clearChildFocus(ViewGroup.java:964)
>  at 
> android.view.View.clearFocusInternal(View.java:5602)
>  at 
> android.view.View.clearFocus(View.java:5585)
>  at 
> android.view.ViewGroup.clearFocus(ViewGroup.java:977)
>  at 
> android.view.View.setFlags(View.java:10622)
>  at 
> android.view.View.setVisibility(View.java:7431)
>  at 
> org.apache.cordova.splashscreen.SplashScreen.pluginInitialize(SplashScreen.java:85)
>  at 
> org.apache.cordova.CordovaPlugin.privateInitialize(CordovaPlugin.java:58)
>  at 
> org.apache.cordova.PluginManager.getPlugin(PluginManager.java:172)
>  at 
> org.apache.cordova.PluginManager.startupPlugins(PluginManager.java:98)
>  at 
> org.apache.cordova.PluginManager.init(PluginManager.java:87)
>  at 
> org.apache.cordova.CordovaWebViewImpl.loadUrlIntoView(CordovaWebViewImpl.java:138)
>  at 
> org.apache.cordova.CordovaWebViewImpl.showWebPage(CordovaWebViewImpl.java:216)
>  at 
> org.apache.cordova.CoreAndroid.loadUrl(CoreAndroid.java:203)
>  at 
> org.apache.cordova.CoreAndroid.execute(CoreAndroid.java:92)
>  at 
> org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:98)
>  at 
> org.apache.cordova.PluginManager.exec(PluginManager.java:133)
>  at 
> org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59)
>  at 
> org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41)
>  at 
> org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
>  at 
> org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:53)
>  at 
> android.os.Handler.dispatchMessage(Handler.java:102)
>  at 
> 

[jira] [Commented] (CB-11326) use navigator.app.loadUrl got uncaught exception with allow-navigation

2016-07-21 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11326:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cordova-plugin-splashscreen/pull/104


> use navigator.app.loadUrl got uncaught exception with allow-navigation 
> ---
>
> Key: CB-11326
> URL: https://issues.apache.org/jira/browse/CB-11326
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
> Environment: Cordova 6.2.0
>Reporter: zhuisui
>Assignee: Vladimir Kotikov
>  Labels: triaged
>
> I get this stack when {{navigator.app.loadUrl(myurl)}} with 
> {{}}, which occurs after 
> {{pluginManager.shouldAllowNavigation(myurl)}} returns true
> {code}
> Uncaught exception from plugin
>  
> android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original 
> thread that created a view hierarchy can touch its views.
>  at 
> android.view.ViewRootImpl.checkThread(ViewRootImpl.java:6556)
>  at 
> android.view.ViewRootImpl.clearChildFocus(ViewRootImpl.java:3023)
>  at 
> android.view.ViewGroup.clearChildFocus(ViewGroup.java:964)
>  at 
> android.view.ViewGroup.clearChildFocus(ViewGroup.java:964)
>  at 
> android.view.ViewGroup.clearChildFocus(ViewGroup.java:964)
>  at 
> android.view.View.clearFocusInternal(View.java:5602)
>  at 
> android.view.View.clearFocus(View.java:5585)
>  at 
> android.view.ViewGroup.clearFocus(ViewGroup.java:977)
>  at 
> android.view.View.setFlags(View.java:10622)
>  at 
> android.view.View.setVisibility(View.java:7431)
>  at 
> org.apache.cordova.splashscreen.SplashScreen.pluginInitialize(SplashScreen.java:85)
>  at 
> org.apache.cordova.CordovaPlugin.privateInitialize(CordovaPlugin.java:58)
>  at 
> org.apache.cordova.PluginManager.getPlugin(PluginManager.java:172)
>  at 
> org.apache.cordova.PluginManager.startupPlugins(PluginManager.java:98)
>  at 
> org.apache.cordova.PluginManager.init(PluginManager.java:87)
>  at 
> org.apache.cordova.CordovaWebViewImpl.loadUrlIntoView(CordovaWebViewImpl.java:138)
>  at 
> org.apache.cordova.CordovaWebViewImpl.showWebPage(CordovaWebViewImpl.java:216)
>  at 
> org.apache.cordova.CoreAndroid.loadUrl(CoreAndroid.java:203)
>  at 
> org.apache.cordova.CoreAndroid.execute(CoreAndroid.java:92)
>  at 
> org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:98)
>  at 
> org.apache.cordova.PluginManager.exec(PluginManager.java:133)
>  at 
> org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59)
>  at 
> org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41)
>  at 
> org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
>  at 
> org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:53)
>  at 
> android.os.Handler.dispatchMessage(Handler.java:102)
>  at 
> android.os.Looper.loop(Looper.java:148)
>  at 
> android.os.HandlerThread.run(HandlerThread.java:61)
> {code}
> Then, app cannot accept any command and doesn't 

[jira] [Commented] (CB-11578) InAppBrowser doesn't open on Android 4.0.4 (regression)

2016-07-21 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11578:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cordova-plugin-inappbrowser/pull/170


> InAppBrowser doesn't open on Android 4.0.4 (regression)
> ---
>
> Key: CB-11578
> URL: https://issues.apache.org/jira/browse/CB-11578
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin InAppBrowser
>Affects Versions: 1.4.0
> Environment: Likely affects all pre-Jelly Bean Android devices.  
> Tested on Android 4.0.4 with a Samsung Galaxy phone (Samsung-SGH-I437).
>Reporter: Andrew
>
> Some changes made as part of the 1.4.0 release prevent the InAppBrowser from 
> opening on my Android 4.0.4 test device.  I traced the problem to some code 
> that appears to have been refactored/removed when it shouldn't have been 
> (setBackground/setBackgroundDrawable calls) and a call to getAdjustViewBounds 
> which doesn't appear to serve any purpose but it is a method that was only 
> made available at API level 16 (Jelly Bean).  
> I made the following changes to the latest code in the repository to fix this 
> problem:
> {noformat}
> diff --git a/src/android/InAppBrowser.java b/src/android/InAppBrowser.java
> index 30915dc..f1e8222 100644
> --- a/src/android/InAppBrowser.java
> +++ b/src/android/InAppBrowser.java
> @@ -579,11 +579,18 @@ public class InAppBrowser extends CordovaPlugin {
>  Resources activityRes = cordova.getActivity().getResources();
>  int backResId = 
> activityRes.getIdentifier("ic_action_previous_item", "drawable", 
> cordova.getActivity().getPackageName());
>  Drawable backIcon = activityRes.getDrawable(backResId);
> -back.setBackground(null);
> +
> +if(android.os.Build.VERSION.SDK_INT < 
> android.os.Build.VERSION_CODES.JELLY_BEAN)
> +{
> +back.setBackgroundDrawable(null);
> +}
> +else
> +{
> +back.setBackground(null);
> +}
>  back.setImageDrawable(backIcon);
>  back.setScaleType(ImageView.ScaleType.FIT_CENTER);
>  back.setPadding(0, this.dpToPixels(10), 0, 
> this.dpToPixels(10));
> -back.getAdjustViewBounds();
>  
>  back.setOnClickListener(new View.OnClickListener() {
>  public void onClick(View v) {
> @@ -600,11 +607,18 @@ public class InAppBrowser extends CordovaPlugin {
>  forward.setId(Integer.valueOf(3));
>  int fwdResId = 
> activityRes.getIdentifier("ic_action_next_item", "drawable", 
> cordova.getActivity().getPackageName());
>  Drawable fwdIcon = activityRes.getDrawable(fwdResId);
> -forward.setBackground(null);
> +
> +if(android.os.Build.VERSION.SDK_INT < 
> android.os.Build.VERSION_CODES.JELLY_BEAN)
> +{
> +forward.setBackgroundDrawable(null);
> +}
> +else
> +{
> +forward.setBackground(null);
> +}
>  forward.setImageDrawable(fwdIcon);
>  forward.setScaleType(ImageView.ScaleType.FIT_CENTER);
>  forward.setPadding(0, this.dpToPixels(10), 0, 
> this.dpToPixels(10));
> -forward.getAdjustViewBounds();
>  
>  forward.setOnClickListener(new View.OnClickListener() {
>  public void onClick(View v) {
> @@ -644,11 +658,18 @@ public class InAppBrowser extends CordovaPlugin {
>  close.setId(Integer.valueOf(5));
>  int closeResId = 
> activityRes.getIdentifier("ic_action_remove", "drawable", 
> cordova.getActivity().getPackageName());
>  Drawable closeIcon = activityRes.getDrawable(closeResId);
> -close.setBackground(null);
> +
> +if(android.os.Build.VERSION.SDK_INT < 
> android.os.Build.VERSION_CODES.JELLY_BEAN)
> +{
> +close.setBackgroundDrawable(null);
> +}
> +else
> +{
> +close.setBackground(null);
> +}
>  close.setImageDrawable(closeIcon);
>  close.setScaleType(ImageView.ScaleType.FIT_CENTER);
>  back.setPadding(0, this.dpToPixels(10), 0, 
> this.dpToPixels(10));
> -close.getAdjustViewBounds();
>  
>  close.setOnClickListener(new View.OnClickListener() {
>  public void onClick(View v) {
> {noformat}



--
This 

[jira] [Closed] (CB-11578) InAppBrowser doesn't open on Android 4.0.4 (regression)

2016-07-21 Thread jcesarmobile (JIRA)

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

jcesarmobile closed CB-11578.
-
Resolution: Fixed
  Assignee: jcesarmobile

Fixed in 1.4.1-dev

> InAppBrowser doesn't open on Android 4.0.4 (regression)
> ---
>
> Key: CB-11578
> URL: https://issues.apache.org/jira/browse/CB-11578
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin InAppBrowser
>Affects Versions: 1.4.0
> Environment: Likely affects all pre-Jelly Bean Android devices.  
> Tested on Android 4.0.4 with a Samsung Galaxy phone (Samsung-SGH-I437).
>Reporter: Andrew
>Assignee: jcesarmobile
>
> Some changes made as part of the 1.4.0 release prevent the InAppBrowser from 
> opening on my Android 4.0.4 test device.  I traced the problem to some code 
> that appears to have been refactored/removed when it shouldn't have been 
> (setBackground/setBackgroundDrawable calls) and a call to getAdjustViewBounds 
> which doesn't appear to serve any purpose but it is a method that was only 
> made available at API level 16 (Jelly Bean).  
> I made the following changes to the latest code in the repository to fix this 
> problem:
> {noformat}
> diff --git a/src/android/InAppBrowser.java b/src/android/InAppBrowser.java
> index 30915dc..f1e8222 100644
> --- a/src/android/InAppBrowser.java
> +++ b/src/android/InAppBrowser.java
> @@ -579,11 +579,18 @@ public class InAppBrowser extends CordovaPlugin {
>  Resources activityRes = cordova.getActivity().getResources();
>  int backResId = 
> activityRes.getIdentifier("ic_action_previous_item", "drawable", 
> cordova.getActivity().getPackageName());
>  Drawable backIcon = activityRes.getDrawable(backResId);
> -back.setBackground(null);
> +
> +if(android.os.Build.VERSION.SDK_INT < 
> android.os.Build.VERSION_CODES.JELLY_BEAN)
> +{
> +back.setBackgroundDrawable(null);
> +}
> +else
> +{
> +back.setBackground(null);
> +}
>  back.setImageDrawable(backIcon);
>  back.setScaleType(ImageView.ScaleType.FIT_CENTER);
>  back.setPadding(0, this.dpToPixels(10), 0, 
> this.dpToPixels(10));
> -back.getAdjustViewBounds();
>  
>  back.setOnClickListener(new View.OnClickListener() {
>  public void onClick(View v) {
> @@ -600,11 +607,18 @@ public class InAppBrowser extends CordovaPlugin {
>  forward.setId(Integer.valueOf(3));
>  int fwdResId = 
> activityRes.getIdentifier("ic_action_next_item", "drawable", 
> cordova.getActivity().getPackageName());
>  Drawable fwdIcon = activityRes.getDrawable(fwdResId);
> -forward.setBackground(null);
> +
> +if(android.os.Build.VERSION.SDK_INT < 
> android.os.Build.VERSION_CODES.JELLY_BEAN)
> +{
> +forward.setBackgroundDrawable(null);
> +}
> +else
> +{
> +forward.setBackground(null);
> +}
>  forward.setImageDrawable(fwdIcon);
>  forward.setScaleType(ImageView.ScaleType.FIT_CENTER);
>  forward.setPadding(0, this.dpToPixels(10), 0, 
> this.dpToPixels(10));
> -forward.getAdjustViewBounds();
>  
>  forward.setOnClickListener(new View.OnClickListener() {
>  public void onClick(View v) {
> @@ -644,11 +658,18 @@ public class InAppBrowser extends CordovaPlugin {
>  close.setId(Integer.valueOf(5));
>  int closeResId = 
> activityRes.getIdentifier("ic_action_remove", "drawable", 
> cordova.getActivity().getPackageName());
>  Drawable closeIcon = activityRes.getDrawable(closeResId);
> -close.setBackground(null);
> +
> +if(android.os.Build.VERSION.SDK_INT < 
> android.os.Build.VERSION_CODES.JELLY_BEAN)
> +{
> +close.setBackgroundDrawable(null);
> +}
> +else
> +{
> +close.setBackground(null);
> +}
>  close.setImageDrawable(closeIcon);
>  close.setScaleType(ImageView.ScaleType.FIT_CENTER);
>  back.setPadding(0, this.dpToPixels(10), 0, 
> this.dpToPixels(10));
> -close.getAdjustViewBounds();
>  
>  close.setOnClickListener(new View.OnClickListener() {
>  public void onClick(View v) {
> {noformat}



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


[jira] [Closed] (CB-7497) Crash on open app from fresh

2016-07-21 Thread jcesarmobile (JIRA)

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

jcesarmobile closed CB-7497.

Resolution: Fixed

Merged this commit that fixes the issue
https://github.com/apache/cordova-plugin-splashscreen/pull/110/

Will be released with the version 4.0.0

> Crash on open app from fresh
> 
>
> Key: CB-7497
> URL: https://issues.apache.org/jira/browse/CB-7497
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
> Environment: ios7 iphone 4s
>Reporter: Miquel
>Assignee: jcesarmobile
>Priority: Critical
>   Original Estimate: 2m
>  Remaining Estimate: 2m
>
> Everytime the app is fresh opened (not in the debugger)
> : *** Terminating app due to uncaught exception 'NSRangeException', 
> reason: 'Cannot remove an observer  for the key 
> path "frame" from  because it is not registered as an 
> observer.'



--
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-11578) InAppBrowser doesn't open on Android 4.0.4 (regression)

2016-07-21 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11578:
-

Github user jcesarmobile commented on the issue:

https://github.com/apache/cordova-plugin-inappbrowser/pull/170
  
As it's a small fix I'm going to merge it without the ICLA, but you should 
consider filling the Apache's Contributor License Agreement 
http://www.apache.org/licenses/#clas for future contributions


> InAppBrowser doesn't open on Android 4.0.4 (regression)
> ---
>
> Key: CB-11578
> URL: https://issues.apache.org/jira/browse/CB-11578
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin InAppBrowser
>Affects Versions: 1.4.0
> Environment: Likely affects all pre-Jelly Bean Android devices.  
> Tested on Android 4.0.4 with a Samsung Galaxy phone (Samsung-SGH-I437).
>Reporter: Andrew
>
> Some changes made as part of the 1.4.0 release prevent the InAppBrowser from 
> opening on my Android 4.0.4 test device.  I traced the problem to some code 
> that appears to have been refactored/removed when it shouldn't have been 
> (setBackground/setBackgroundDrawable calls) and a call to getAdjustViewBounds 
> which doesn't appear to serve any purpose but it is a method that was only 
> made available at API level 16 (Jelly Bean).  
> I made the following changes to the latest code in the repository to fix this 
> problem:
> {noformat}
> diff --git a/src/android/InAppBrowser.java b/src/android/InAppBrowser.java
> index 30915dc..f1e8222 100644
> --- a/src/android/InAppBrowser.java
> +++ b/src/android/InAppBrowser.java
> @@ -579,11 +579,18 @@ public class InAppBrowser extends CordovaPlugin {
>  Resources activityRes = cordova.getActivity().getResources();
>  int backResId = 
> activityRes.getIdentifier("ic_action_previous_item", "drawable", 
> cordova.getActivity().getPackageName());
>  Drawable backIcon = activityRes.getDrawable(backResId);
> -back.setBackground(null);
> +
> +if(android.os.Build.VERSION.SDK_INT < 
> android.os.Build.VERSION_CODES.JELLY_BEAN)
> +{
> +back.setBackgroundDrawable(null);
> +}
> +else
> +{
> +back.setBackground(null);
> +}
>  back.setImageDrawable(backIcon);
>  back.setScaleType(ImageView.ScaleType.FIT_CENTER);
>  back.setPadding(0, this.dpToPixels(10), 0, 
> this.dpToPixels(10));
> -back.getAdjustViewBounds();
>  
>  back.setOnClickListener(new View.OnClickListener() {
>  public void onClick(View v) {
> @@ -600,11 +607,18 @@ public class InAppBrowser extends CordovaPlugin {
>  forward.setId(Integer.valueOf(3));
>  int fwdResId = 
> activityRes.getIdentifier("ic_action_next_item", "drawable", 
> cordova.getActivity().getPackageName());
>  Drawable fwdIcon = activityRes.getDrawable(fwdResId);
> -forward.setBackground(null);
> +
> +if(android.os.Build.VERSION.SDK_INT < 
> android.os.Build.VERSION_CODES.JELLY_BEAN)
> +{
> +forward.setBackgroundDrawable(null);
> +}
> +else
> +{
> +forward.setBackground(null);
> +}
>  forward.setImageDrawable(fwdIcon);
>  forward.setScaleType(ImageView.ScaleType.FIT_CENTER);
>  forward.setPadding(0, this.dpToPixels(10), 0, 
> this.dpToPixels(10));
> -forward.getAdjustViewBounds();
>  
>  forward.setOnClickListener(new View.OnClickListener() {
>  public void onClick(View v) {
> @@ -644,11 +658,18 @@ public class InAppBrowser extends CordovaPlugin {
>  close.setId(Integer.valueOf(5));
>  int closeResId = 
> activityRes.getIdentifier("ic_action_remove", "drawable", 
> cordova.getActivity().getPackageName());
>  Drawable closeIcon = activityRes.getDrawable(closeResId);
> -close.setBackground(null);
> +
> +if(android.os.Build.VERSION.SDK_INT < 
> android.os.Build.VERSION_CODES.JELLY_BEAN)
> +{
> +close.setBackgroundDrawable(null);
> +}
> +else
> +{
> +close.setBackground(null);
> +}
>  close.setImageDrawable(closeIcon);
>  close.setScaleType(ImageView.ScaleType.FIT_CENTER);
>  back.setPadding(0, this.dpToPixels(10), 0, 
> 

[jira] [Commented] (CB-11326) use navigator.app.loadUrl got uncaught exception with allow-navigation

2016-07-21 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11326:
-

Github user jcesarmobile commented on the issue:

https://github.com/apache/cordova-plugin-splashscreen/pull/104
  
LGTM


> use navigator.app.loadUrl got uncaught exception with allow-navigation 
> ---
>
> Key: CB-11326
> URL: https://issues.apache.org/jira/browse/CB-11326
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
> Environment: Cordova 6.2.0
>Reporter: zhuisui
>Assignee: Vladimir Kotikov
>  Labels: triaged
>
> I get this stack when {{navigator.app.loadUrl(myurl)}} with 
> {{}}, which occurs after 
> {{pluginManager.shouldAllowNavigation(myurl)}} returns true
> {code}
> Uncaught exception from plugin
>  
> android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original 
> thread that created a view hierarchy can touch its views.
>  at 
> android.view.ViewRootImpl.checkThread(ViewRootImpl.java:6556)
>  at 
> android.view.ViewRootImpl.clearChildFocus(ViewRootImpl.java:3023)
>  at 
> android.view.ViewGroup.clearChildFocus(ViewGroup.java:964)
>  at 
> android.view.ViewGroup.clearChildFocus(ViewGroup.java:964)
>  at 
> android.view.ViewGroup.clearChildFocus(ViewGroup.java:964)
>  at 
> android.view.View.clearFocusInternal(View.java:5602)
>  at 
> android.view.View.clearFocus(View.java:5585)
>  at 
> android.view.ViewGroup.clearFocus(ViewGroup.java:977)
>  at 
> android.view.View.setFlags(View.java:10622)
>  at 
> android.view.View.setVisibility(View.java:7431)
>  at 
> org.apache.cordova.splashscreen.SplashScreen.pluginInitialize(SplashScreen.java:85)
>  at 
> org.apache.cordova.CordovaPlugin.privateInitialize(CordovaPlugin.java:58)
>  at 
> org.apache.cordova.PluginManager.getPlugin(PluginManager.java:172)
>  at 
> org.apache.cordova.PluginManager.startupPlugins(PluginManager.java:98)
>  at 
> org.apache.cordova.PluginManager.init(PluginManager.java:87)
>  at 
> org.apache.cordova.CordovaWebViewImpl.loadUrlIntoView(CordovaWebViewImpl.java:138)
>  at 
> org.apache.cordova.CordovaWebViewImpl.showWebPage(CordovaWebViewImpl.java:216)
>  at 
> org.apache.cordova.CoreAndroid.loadUrl(CoreAndroid.java:203)
>  at 
> org.apache.cordova.CoreAndroid.execute(CoreAndroid.java:92)
>  at 
> org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:98)
>  at 
> org.apache.cordova.PluginManager.exec(PluginManager.java:133)
>  at 
> org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59)
>  at 
> org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41)
>  at 
> org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
>  at 
> org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:53)
>  at 
> android.os.Handler.dispatchMessage(Handler.java:102)
>  at 
> android.os.Looper.loop(Looper.java:148)
>  at 
> android.os.HandlerThread.run(HandlerThread.java:61)
> {code}
> Then, app cannot accept any command 

[jira] [Assigned] (CB-7497) Crash on open app from fresh

2016-07-21 Thread jcesarmobile (JIRA)

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

jcesarmobile reassigned CB-7497:


Assignee: jcesarmobile

> Crash on open app from fresh
> 
>
> Key: CB-7497
> URL: https://issues.apache.org/jira/browse/CB-7497
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
> Environment: ios7 iphone 4s
>Reporter: Miquel
>Assignee: jcesarmobile
>Priority: Critical
>   Original Estimate: 2m
>  Remaining Estimate: 2m
>
> Everytime the app is fresh opened (not in the debugger)
> : *** Terminating app due to uncaught exception 'NSRangeException', 
> reason: 'Cannot remove an observer  for the key 
> path "frame" from  because it is not registered as an 
> observer.'



--
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-7497) Crash on open app from fresh

2016-07-21 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-7497:


Github user jcesarmobile commented on the issue:

https://github.com/apache/cordova-plugin-splashscreen/pull/106
  
Hi.
Thanks for your Pull Request.

I've just merged 
https://github.com/apache/cordova-plugin-splashscreen/pull/110/ that solves 
this problem in a similar way. 
Can you close this issue?




> Crash on open app from fresh
> 
>
> Key: CB-7497
> URL: https://issues.apache.org/jira/browse/CB-7497
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
> Environment: ios7 iphone 4s
>Reporter: Miquel
>Priority: Critical
>   Original Estimate: 2m
>  Remaining Estimate: 2m
>
> Everytime the app is fresh opened (not in the debugger)
> : *** Terminating app due to uncaught exception 'NSRangeException', 
> reason: 'Cannot remove an observer  for the key 
> path "frame" from  because it is not registered as an 
> observer.'



--
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-3232) "cordova platform add blackberry" fails on 2.7.1-rc.1

2016-07-21 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-3232:


Github user asfgit closed the pull request at:

https://github.com/apache/cordova-plugin-splashscreen/pull/110


> "cordova platform add blackberry" fails on 2.7.1-rc.1
> -
>
> Key: CB-3232
> URL: https://issues.apache.org/jira/browse/CB-3232
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: BlackBerry, CLI
>Affects Versions: 2.7.0
>Reporter: Michael Brooks
>Assignee: Michael Brooks
> Fix For: 2.7.0
>
>
> The following error is thrown when running {{$ cordova platform add 
> blackberry}}:
> {code}
> [Error: An error occured during creation of blackberry sub-project. Creating 
> BlackBerry project...
> Updating config.xml ...
> sed: 
> /Users/mwbrooks/Dropbox/Development/sandbox/myapp/platforms/blackberry/www/config.xml:
>  No such file or directory
> Cleaning up ...
> Remember to update the project.properties file inside your application 
> directory!
> ]
> {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-11610) Clean and Build does not work on NetBeans 8.x

2016-07-21 Thread Radoslav Chovan (JIRA)
Radoslav Chovan created CB-11610:


 Summary: Clean and Build does not work on NetBeans 8.x
 Key: CB-11610
 URL: https://issues.apache.org/jira/browse/CB-11610
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 6.2.0
 Environment: Product Version: NetBeans IDE 8.1 (Build 20151001)
Updates: NetBeans IDE is updated to version NetBeans 8.1 Patch 1
Java: 1.8.0_77; Java HotSpot(TM) 64-Bit Server VM 25.77-b03
Runtime: Java(TM) SE Runtime Environment 1.8.0_77-b03
System: Windows 10 version 10.0 running on amd64; Cp1250; en_US (nb)
Reporter: Radoslav Chovan


When I launch clean and build, it crash with error:
{noformat}
Execute failed: java.io.IOException: Cannot run program ".\gradlew"
{noformat}

I think, that on windows it should lanch gradlew.bat, not .\gradlew


Full log:
{noformat}
ant -f D:\\NetBeansProjects\\project\\nbproject "-Dupdate.task.jar=C:\\Program 
Files\\NetBeans 
8.1\\webcommon\\ant\\extra\\org-netbeans-modules-cordova-projectupdate.jar" 
-Dandroid.project.activity=fain -Dsite.root=www -Dstart.file=index.html 
-Dandroid.sdk.home=D:\\android-sdk -Dandroid.target.device.arg=run 
-Dcordova.version=6.2.0-0.0.0 -Denv.DISPLAY=:0.0 "-Dios.certificate.name=iPhone 
Developer" -Dandroid.build.target=android-16 -Dconfig=android_1 rebuild-android
check-android-template:
clean-android:
D:\NetBeansProjects\project\nbproject\build.xml:285: Execute failed: 
java.io.IOException: Cannot run program ".\gradlew" (in directory 
"D:\NetBeansProjects\project\platforms\android"): CreateProcess error=2, The 
system cannot find the file specified
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at java.lang.Runtime.exec(Runtime.java:620)
at 
org.apache.tools.ant.taskdefs.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:58)
at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:428)
at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:442)
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:628)
at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:669)
at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:495)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
at 
org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:286)
at 
org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:555)
at 
org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find 
the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.(ProcessImpl.java:386)
at java.lang.ProcessImpl.start(ProcessImpl.java:137)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 23 more
BUILD FAILED (total time: 0 seconds)
{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-11609) Missing plugins in NetBeans

2016-07-21 Thread Radoslav Chovan (JIRA)
Radoslav Chovan created CB-11609:


 Summary: Missing plugins in NetBeans
 Key: CB-11609
 URL: https://issues.apache.org/jira/browse/CB-11609
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 6.2.0
 Environment: Product Version: NetBeans IDE 8.1 (Build 20151001)
Updates: NetBeans IDE is updated to version NetBeans 8.1 Patch 1
Java: 1.8.0_77; Java HotSpot(TM) 64-Bit Server VM 25.77-b03
Runtime: Java(TM) SE Runtime Environment 1.8.0_77-b03
System: Windows 10 version 10.0 running on amd64; Cp1250; en_US (nb)
Reporter: Radoslav Chovan


Hi, 
1. add new plugin to NB project in file /nbproject/project.properties
2. during build cordova uninstall some plugins, but does not install them again

In this example is missing plugin Cordova-sqlite-legacy. See log:
Log is on pastebin.com [http://pastebin.com/2W5LtTAY]



--
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-11569) Tools release July 13, 2016

2016-07-21 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11569:
-

Github user asfgit closed the pull request at:

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


> Tools release July 13, 2016
> ---
>
> Key: CB-11569
> URL: https://issues.apache.org/jira/browse/CB-11569
> Project: Apache Cordova
>  Issue Type: Task
>  Components: CLI, cordova-fetch, CordovaCommon, CordovaLib
>Affects Versions: 1.4.0, 1.0.1, 6.3.0
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>  Labels: release, tools
>
> Following steps at 
> https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md



--
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-11569) Tools release July 13, 2016

2016-07-21 Thread ASF subversion and git services (JIRA)

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

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

Commit f1b87103897871db9992b039d0c637f08abff20d in cordova-docs's branch 
refs/heads/master from [~vladimir.kotikov]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-docs.git;h=f1b8710 ]

CB-11569 Add tools release blog post


> Tools release July 13, 2016
> ---
>
> Key: CB-11569
> URL: https://issues.apache.org/jira/browse/CB-11569
> Project: Apache Cordova
>  Issue Type: Task
>  Components: CLI, cordova-fetch, CordovaCommon, CordovaLib
>Affects Versions: 1.4.0, 1.0.1, 6.3.0
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>  Labels: release, tools
>
> Following steps at 
> https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md



--
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-3232) "cordova platform add blackberry" fails on 2.7.1-rc.1

2016-07-21 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-3232:


GitHub user liruqi opened a pull request:

https://github.com/apache/cordova-plugin-media/pull/105

Fix app halt when an audio ends w/ another playing

### Platforms affected
iOS 9

### What does this PR do?
Fix app halt when an audio ends with another playing

### What testing has been done on this change?
My T-Rex runner for iOS based on 
https://github.com/riccardo-forina/chromium-dyno-crossbrowser

### Checklist
- [ ] [ICLA](http://www.apache.org/licenses/icla.txt) has been signed and 
submitted to secret...@apache.org.
- [ ] [Reported an issue](http://cordova.apache.org/contribute/issues.html) 
in the JIRA database
- [ ] Commit message follows the format: "CB-3232: (android) Fix bug with 
resolving file paths", where CB- is the JIRA ID & "android" is the platform 
affected.
- [ ] Added automated test coverage as appropriate for this change.



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

$ git pull https://github.com/liruqi/cordova-plugin-media master

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

https://github.com/apache/cordova-plugin-media/pull/105.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 #105






> "cordova platform add blackberry" fails on 2.7.1-rc.1
> -
>
> Key: CB-3232
> URL: https://issues.apache.org/jira/browse/CB-3232
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: BlackBerry, CLI
>Affects Versions: 2.7.0
>Reporter: Michael Brooks
>Assignee: Michael Brooks
> Fix For: 2.7.0
>
>
> The following error is thrown when running {{$ cordova platform add 
> blackberry}}:
> {code}
> [Error: An error occured during creation of blackberry sub-project. Creating 
> BlackBerry project...
> Updating config.xml ...
> sed: 
> /Users/mwbrooks/Dropbox/Development/sandbox/myapp/platforms/blackberry/www/config.xml:
>  No such file or directory
> Cleaning up ...
> Remember to update the project.properties file inside your application 
> directory!
> ]
> {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-3232) "cordova platform add blackberry" fails on 2.7.1-rc.1

2016-07-21 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-3232:


GitHub user bugnano opened a pull request:

https://github.com/apache/cordova-plugin-splashscreen/pull/110

Fix crash on iOS when reloading page from remote Safari



### Platforms affected
iOS

### What does this PR do?
Fix a crash when calling navigator.splashscreen.hide() after reloading the 
page from a remote Safari

### What testing has been done on this change?
- Create an application with AutoHideSplashScreen set to false
- Call navigator.splashscreen.hide() from the application
- Connect Safari from a Mac to debug the application
- Hit the reload button from Safari
- Without this patch, the application crashes
- With this patch, the page is reloaded without any problem

### Checklist
- [ ] [ICLA](http://www.apache.org/licenses/icla.txt) has been signed and 
submitted to secret...@apache.org.
- [ ] [Reported an issue](http://cordova.apache.org/contribute/issues.html) 
in the JIRA database
- [ ] Commit message follows the format: "CB-3232: (android) Fix bug with 
resolving file paths", where CB- is the JIRA ID & "android" is the platform 
affected.
- [ ] Added automated test coverage as appropriate for this change.



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

$ git pull https://github.com/bugnano/cordova-plugin-splashscreen master

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

https://github.com/apache/cordova-plugin-splashscreen/pull/110.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 #110


commit 16eceaa170aae27c992728337bee3090ebed0e0d
Author: Franco Bugnano 
Date:   2016-07-21T15:14:42Z

Fix crash on iOS when reloading page from remote Safari




> "cordova platform add blackberry" fails on 2.7.1-rc.1
> -
>
> Key: CB-3232
> URL: https://issues.apache.org/jira/browse/CB-3232
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: BlackBerry, CLI
>Affects Versions: 2.7.0
>Reporter: Michael Brooks
>Assignee: Michael Brooks
> Fix For: 2.7.0
>
>
> The following error is thrown when running {{$ cordova platform add 
> blackberry}}:
> {code}
> [Error: An error occured during creation of blackberry sub-project. Creating 
> BlackBerry project...
> Updating config.xml ...
> sed: 
> /Users/mwbrooks/Dropbox/Development/sandbox/myapp/platforms/blackberry/www/config.xml:
>  No such file or directory
> Cleaning up ...
> Remember to update the project.properties file inside your application 
> directory!
> ]
> {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-11608) Resume event not being fired on webview restart when there is no plugin result

2016-07-21 Thread Bnaya (JIRA)
Bnaya created CB-11608:
--

 Summary: Resume event not being fired on webview restart when 
there is no plugin result 
 Key: CB-11608
 URL: https://issues.apache.org/jira/browse/CB-11608
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Reporter: Bnaya


The resume event on android is not being fired if:
The app went to background (the user hit the home button, notification)
The app webview activity got killed by the OS
The user reopens the app (icon click or recent apps apps menu)

The resume event will be fired if the webview activity didn't get killed,
or it was killed but there's incoming plugin result.



--
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-11606) Cordova.js not including the WinJS Base.js file correctly

2016-07-21 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-11606:
--
Description: 
If I remote debug to x64 the app side loads through the debugger. I can click 
around, do everything, no problem.
BUT once I disconnect the debug process, and then start the app on the surface, 
it flashes open, then closes... the error from that closing seems to be related 
to Windows not being defined( i assume from the base) and then creating DB 
connections off of that.

I thought maybe it was a change in the debugging setup, so I went through the 
whole process of side loading it, and the same thing happens. 
I traced it down to Cordova not including the Base.js file correctly, there 
seem to be pathing issues, but only when i run it on the surface, without the 
debugger... so I'm confused.
Of course, since i side loaded it onto the x64 surface, I thought, I could 
sideload the app onto the Surface RT, which i did, and guess what, it works 
fine there. 
So why would the same app, side loaded on RT work, but not on x64.
Is there something different in the Base file its trying to use, maybe it 
exists for one but not the other?

If I run the index.html in chrome, i can see more errors, so debugging with 
that I see a few more things.

Here is the code in the cordova.js file thats messing up the include (line 1449 
in the cordova js i have)
{noformat}
if (!window.WinJS) {
    var scriptElem = document.createElement("script");

    if (navigator.appVersion.indexOf('MSAppHost/3.0') !== -1) {
    // Windows 10 UWP
    scriptElem.src = '/www/WinJS/js/base.js';
    } else if (navigator.appVersion.indexOf("Windows Phone 8.1;") !== 
-1) {
    // windows phone 8.1 + Mobile IE 11
    scriptElem.src = "//Microsoft.Phone.WinJS.2.1/js/base.js";
    } else if (navigator.appVersion.indexOf("MSAppHost/2.0;") !== -1) {
    // windows 8.1 + IE 11
    scriptElem.src = "//Microsoft.WinJS.2.0/js/base.js";
    } else {
    // windows 8.0 + IE 10
    scriptElem.src = "//Microsoft.WinJS.1.0/js/base.js";
    }
    scriptElem.addEventListener("load", onWinJSReady);
    document.head.appendChild(scriptElem);
    }
{noformat}
The x64 is firing this include - the else
  scriptElem.src = "//Microsoft.WinJS.1.0/js/base.js";

When I inspect it loading locally on my machine, its using


If i hard code a script tag to the WinJS/js/base.js that error goes away from 
the console, but then i am still seeing the error for Windows. is not defined.

Now, with the base.js fixed, its not showing errors in the windows events log, 
but its still crashing on start up.


  was:
If I remote debug to x64 the app side loads through the debugger. I can click 
around, do everything, no problem.
BUT once I disconnect the debug process, and then start the app on the surface, 
it flashes open, then closes... the error from that closing seems to be related 
to Windows not being defined( i assume from the base) and then creating DB 
connections off of that.

I thought maybe it was a change in the debugging setup, so I went through the 
whole process of side loading it, and the same thing happens. 
I traced it down to Cordova not including the Base.js file correctly, there 
seem to be pathing issues, but only when i run it on the surface, without the 
debugger... so I'm confused.
Of course, since i side loaded it onto the x64 surface, I thought, I could 
sideload the app onto the Surface RT, which i did, and guess what, it works 
fine there. 
So why would the same app, side loaded on RT work, but not on x64.
Is there something different in the Base file its trying to use, maybe it 
exists for one but not the other?

If I run the index.html in chrome, i can see more errors, so debugging with 
that I see a few more things.

Here is the code in the cordova.js file thats messing up the include (line 1449 
in the cordova js i have)

if (!window.WinJS) {
    var scriptElem = document.createElement("script");

    if (navigator.appVersion.indexOf('MSAppHost/3.0') !== -1) {
    // Windows 10 UWP
    scriptElem.src = '/www/WinJS/js/base.js';
    } else if (navigator.appVersion.indexOf("Windows Phone 8.1;") !== 
-1) {
    // windows phone 8.1 + Mobile IE 11
    scriptElem.src = "//Microsoft.Phone.WinJS.2.1/js/base.js";
    } else if (navigator.appVersion.indexOf("MSAppHost/2.0;") !== -1) {
    // windows 8.1 + IE 11
    scriptElem.src = "//Microsoft.WinJS.2.0/js/base.js";
    } else {
    // windows 8.0 + IE 10
    scriptElem.src = "//Microsoft.WinJS.1.0/js/base.js";
    }
    scriptElem.addEventListener("load", onWinJSReady);
    

[jira] [Closed] (CB-11241) File encoding test fails with UTF-8 file encoding error on windows store submission

2016-07-21 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-11241.
-
Resolution: Fixed

> File encoding test fails with UTF-8 file encoding error on windows store 
> submission
> ---
>
> Key: CB-11241
> URL: https://issues.apache.org/jira/browse/CB-11241
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: 4.4.0, 4.4.1
>Reporter: Michael Schmidt
>  Labels: triaged
>
> File encoding test
> ```
> FAILED
> UTF-8 file encoding
> Error Found: The UTF-8 file encoding test detected the following errors:
> File www\cordova_plugins.js is not properly UTF-8 encoded. Re-save the file 
> as UTF-8 (including Byte Order Mark).
> File www\cordova-js-src\exec.js is not properly UTF-8 encoded. Re-save the 
> file as UTF-8 (including Byte Order Mark).
> File www\cordova-js-src\platform.js is not properly UTF-8 encoded. Re-save 
> the file as UTF-8 (including Byte Order Mark).
> File www\js\app.js is not properly UTF-8 encoded. Re-save the file as UTF-8 
> (including Byte Order Mark).
> File www\js\libs.js is not properly UTF-8 encoded. Re-save the file as UTF-8 
> (including Byte Order Mark).
> File www\plugins\cordova-plugin-console\www\console-via-logger.js is not 
> properly UTF-8 encoded. Re-save the file as UTF-8 (including Byte Order Mark).
> ...
> Impact if not fixed: HTML, CSS, and JavaScript files must be encoded in UTF-8 
> form with a corresponding byte-order mark (BOM) in order to benefit from 
> bytecode caching and to avoid other runtime error conditions.
> How to fix: Open the affected file, and select "Save As..." option from the 
> File menu in Visual Studio. Select the drop-down control next to the Save 
> button and select "Save with Encoding..." option. From the Advanced save 
> options dialog, choose the "Unicode (UTF-8 with signature)" option and click 
> the OK button.
> 



--
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-11241) File encoding test fails with UTF-8 file encoding error on windows store submission

2016-07-21 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11241:
-

Github user asfgit closed the pull request at:

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


> File encoding test fails with UTF-8 file encoding error on windows store 
> submission
> ---
>
> Key: CB-11241
> URL: https://issues.apache.org/jira/browse/CB-11241
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: 4.4.0, 4.4.1
>Reporter: Michael Schmidt
>  Labels: triaged
>
> File encoding test
> ```
> FAILED
> UTF-8 file encoding
> Error Found: The UTF-8 file encoding test detected the following errors:
> File www\cordova_plugins.js is not properly UTF-8 encoded. Re-save the file 
> as UTF-8 (including Byte Order Mark).
> File www\cordova-js-src\exec.js is not properly UTF-8 encoded. Re-save the 
> file as UTF-8 (including Byte Order Mark).
> File www\cordova-js-src\platform.js is not properly UTF-8 encoded. Re-save 
> the file as UTF-8 (including Byte Order Mark).
> File www\js\app.js is not properly UTF-8 encoded. Re-save the file as UTF-8 
> (including Byte Order Mark).
> File www\js\libs.js is not properly UTF-8 encoded. Re-save the file as UTF-8 
> (including Byte Order Mark).
> File www\plugins\cordova-plugin-console\www\console-via-logger.js is not 
> properly UTF-8 encoded. Re-save the file as UTF-8 (including Byte Order Mark).
> ...
> Impact if not fixed: HTML, CSS, and JavaScript files must be encoded in UTF-8 
> form with a corresponding byte-order mark (BOM) in order to benefit from 
> bytecode caching and to avoid other runtime error conditions.
> How to fix: Open the affected file, and select "Save As..." option from the 
> File menu in Visual Studio. Select the drop-down control next to the Save 
> button and select "Save with Encoding..." option. From the Advanced save 
> options dialog, choose the "Unicode (UTF-8 with signature)" option and click 
> the OK button.
> 



--
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-11241) File encoding test fails with UTF-8 file encoding error on windows store submission

2016-07-21 Thread ASF subversion and git services (JIRA)

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

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

Commit 58080c4c48f6496dc21fa7b9ae85c189f8eeb1d9 in cordova-windows's branch 
refs/heads/master from [~vladimir.kotikov]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-windows.git;h=58080c4 ]

CB-11241 Return adding BOM to www back to prepare


> File encoding test fails with UTF-8 file encoding error on windows store 
> submission
> ---
>
> Key: CB-11241
> URL: https://issues.apache.org/jira/browse/CB-11241
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: 4.4.0, 4.4.1
>Reporter: Michael Schmidt
>  Labels: triaged
>
> File encoding test
> ```
> FAILED
> UTF-8 file encoding
> Error Found: The UTF-8 file encoding test detected the following errors:
> File www\cordova_plugins.js is not properly UTF-8 encoded. Re-save the file 
> as UTF-8 (including Byte Order Mark).
> File www\cordova-js-src\exec.js is not properly UTF-8 encoded. Re-save the 
> file as UTF-8 (including Byte Order Mark).
> File www\cordova-js-src\platform.js is not properly UTF-8 encoded. Re-save 
> the file as UTF-8 (including Byte Order Mark).
> File www\js\app.js is not properly UTF-8 encoded. Re-save the file as UTF-8 
> (including Byte Order Mark).
> File www\js\libs.js is not properly UTF-8 encoded. Re-save the file as UTF-8 
> (including Byte Order Mark).
> File www\plugins\cordova-plugin-console\www\console-via-logger.js is not 
> properly UTF-8 encoded. Re-save the file as UTF-8 (including Byte Order Mark).
> ...
> Impact if not fixed: HTML, CSS, and JavaScript files must be encoded in UTF-8 
> form with a corresponding byte-order mark (BOM) in order to benefit from 
> bytecode caching and to avoid other runtime error conditions.
> How to fix: Open the affected file, and select "Save As..." option from the 
> File menu in Visual Studio. Select the drop-down control next to the Save 
> button and select "Save with Encoding..." option. From the Advanced save 
> options dialog, choose the "Unicode (UTF-8 with signature)" option and click 
> the OK button.
> 



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