[jira] [Commented] (CB-11999) platformAPIs contain js code that is deceptively uncallable

2016-10-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11999:
-

Github user shazron commented on the issue:

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

https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;a=commit;h=2cdb6074626cc4efc8ad117058c49d945ead0eb5


> platformAPIs contain js code that is deceptively uncallable
> ---
>
> Key: CB-11999
> URL: https://issues.apache.org/jira/browse/CB-11999
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, iOS, Windows
>Reporter: Jesse MacFadyen
>Assignee: Jesse MacFadyen
>
> platformAPI has createPlatform/updatePlatform methods that are copied via the 
> template to the platforms/android/cordova/Api.js are uncallable.



--
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-11999) platformAPIs contain js code that is deceptively uncallable

2016-10-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11999:
-

Github user shazron commented on the issue:

https://github.com/apache/cordova-ios/pull/268
  
Pulled in, but doesn't seem to have been mirrored on GH yet.


> platformAPIs contain js code that is deceptively uncallable
> ---
>
> Key: CB-11999
> URL: https://issues.apache.org/jira/browse/CB-11999
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, iOS, Windows
>Reporter: Jesse MacFadyen
>Assignee: Jesse MacFadyen
>
> platformAPI has createPlatform/updatePlatform methods that are copied via the 
> template to the platforms/android/cordova/Api.js are uncallable.



--
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-11936) Support four new App Transport Security (ATS) keys

2016-10-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11936:
-

Github user asfgit closed the pull request at:

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


> Support four new App Transport Security (ATS) keys
> --
>
> Key: CB-11936
> URL: https://issues.apache.org/jira/browse/CB-11936
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaCommon, Docs, iOS
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>
> https://forums.developer.apple.com/thread/6767
> NSAllowsArbitraryLoadsInWebContent (defaults to NO)
> NSRequiresCertificateTransparency (defaults to NO)
> NSAllowsLocalNetworking (defaults to NO)
> NSAllowsArbitraryLoadsInMedia (defaults to NO)
> NSRequiresCertificateTransparency is not top level, but is under 
> NSExceptionDomains
> 1. Add this feature to the iOS platform
> 2. Add new attribute parsing to ConfigParser in CordovaCommon
> 3. Add docs for new attributes



--
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-11936) Support four new App Transport Security (ATS) keys

2016-10-11 Thread ASF subversion and git services (JIRA)

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

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

Commit 815a1a52503685f8637cde6d11ce7d297a3377aa in cordova-ios's branch 
refs/heads/master from [~shazron]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=815a1a5 ]

CB-11936 - Support four new App Transport Security (ATS) keys

 This closes #264


> Support four new App Transport Security (ATS) keys
> --
>
> Key: CB-11936
> URL: https://issues.apache.org/jira/browse/CB-11936
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaCommon, Docs, iOS
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>
> https://forums.developer.apple.com/thread/6767
> NSAllowsArbitraryLoadsInWebContent (defaults to NO)
> NSRequiresCertificateTransparency (defaults to NO)
> NSAllowsLocalNetworking (defaults to NO)
> NSAllowsArbitraryLoadsInMedia (defaults to NO)
> NSRequiresCertificateTransparency is not top level, but is under 
> NSExceptionDomains
> 1. Add this feature to the iOS platform
> 2. Add new attribute parsing to ConfigParser in CordovaCommon
> 3. Add docs for new attributes



--
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-11999) platformAPIs contain js code that is deceptively uncallable

2016-10-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11999:
-

Github user shazron commented on the issue:

https://github.com/apache/cordova-android/pull/341
  
LGTM. Whomever pulls this in, make sure to squash, amend the commit with 
the JIRA issue number


> platformAPIs contain js code that is deceptively uncallable
> ---
>
> Key: CB-11999
> URL: https://issues.apache.org/jira/browse/CB-11999
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, iOS, Windows
>Reporter: Jesse MacFadyen
>Assignee: Jesse MacFadyen
>
> platformAPI has createPlatform/updatePlatform methods that are copied via the 
> template to the platforms/android/cordova/Api.js are uncallable.



--
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-11999) platformAPIs contain js code that is deceptively uncallable

2016-10-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11999:
-

Github user shazron commented on the issue:

https://github.com/apache/cordova-ios/pull/268
  
LGTM. Whomever pulls this in, make sure to sqush, amend the commit with the 
JIRA issue number


> platformAPIs contain js code that is deceptively uncallable
> ---
>
> Key: CB-11999
> URL: https://issues.apache.org/jira/browse/CB-11999
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, iOS, Windows
>Reporter: Jesse MacFadyen
>Assignee: Jesse MacFadyen
>
> platformAPI has createPlatform/updatePlatform methods that are copied via the 
> template to the platforms/android/cordova/Api.js are uncallable.



--
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-11999) platformAPIs contain js code that is deceptively uncallable

2016-10-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11999:
-

Github user codecov-io commented on the issue:

https://github.com/apache/cordova-ios/pull/268
  
## [Current 
coverage](https://codecov.io/gh/apache/cordova-ios/pull/268?src=pr) is 59.67% 
(diff: 4.16%)
> Merging [#268](https://codecov.io/gh/apache/cordova-ios/pull/268?src=pr) 
into [master](https://codecov.io/gh/apache/cordova-ios/branch/master?src=pr) 
will decrease coverage by **0.46%**

```diff
@@ master   #268   diff @@
==
  Files12 12  
  Lines  1287   1297+10   
  Methods 200200  
  Messages  0  0  
  Branches216216  
==
  Hits774774  
- Misses  513523+10   
  Partials  0  0  
```

> Powered by [Codecov](https://codecov.io?src=pr). Last update 
[2170099...209943f](https://codecov.io/gh/apache/cordova-ios/compare/2170099d3aaff99a239a9beba5f517d8b79d1196...209943f66b2fc4115ad7d8c044055d89b3bdb76e?src=pr)


> platformAPIs contain js code that is deceptively uncallable
> ---
>
> Key: CB-11999
> URL: https://issues.apache.org/jira/browse/CB-11999
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, iOS, Windows
>Reporter: Jesse MacFadyen
>Assignee: Jesse MacFadyen
>
> platformAPI has createPlatform/updatePlatform methods that are copied via the 
> template to the platforms/android/cordova/Api.js are uncallable.



--
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-11999) platformAPIs contain js code that is deceptively uncallable

2016-10-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11999:
-

Github user codecov-io commented on the issue:

https://github.com/apache/cordova-android/pull/341
  
## [Current 
coverage](https://codecov.io/gh/apache/cordova-android/pull/341?src=pr) is 
35.31% (diff: 0.00%)
> Merging 
[#341](https://codecov.io/gh/apache/cordova-android/pull/341?src=pr) into 
[master](https://codecov.io/gh/apache/cordova-android/branch/master?src=pr) 
will decrease coverage by **0.34%**

```diff
@@ master   #341   diff @@
==
  Files12 12  
  Lines  1015   1025+10   
  Methods 200200  
  Messages  0  0  
  Branches168168  
==
  Hits362362  
- Misses  653663+10   
  Partials  0  0  
```

> Powered by [Codecov](https://codecov.io?src=pr). Last update 
[2532c4a...7862a82](https://codecov.io/gh/apache/cordova-android/compare/2532c4a39e9ec96aaa573c8fa54d48507019fcc7...7862a82e95ad6ceacb0f69c0ba7b6ba84db4cc68?src=pr)


> platformAPIs contain js code that is deceptively uncallable
> ---
>
> Key: CB-11999
> URL: https://issues.apache.org/jira/browse/CB-11999
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, iOS, Windows
>Reporter: Jesse MacFadyen
>Assignee: Jesse MacFadyen
>
> platformAPI has createPlatform/updatePlatform methods that are copied via the 
> template to the platforms/android/cordova/Api.js are uncallable.



--
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-11969) Cordova-common@1.5.0 Release Oct 6, 2016

2016-10-11 Thread Steve Gill (JIRA)

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

Steve Gill resolved CB-11969.
-
Resolution: Fixed

> Cordova-common@1.5.0 Release Oct 6, 2016
> 
>
> Key: CB-11969
> URL: https://issues.apache.org/jira/browse/CB-11969
> Project: Apache Cordova
>  Issue Type: Task
>  Components: CordovaCommon
>Reporter: Steve Gill
>Assignee: Steve Gill
>
> "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-10-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-3232:


GitHub user purplecabbage opened a pull request:

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

add message, catch exception if require fails



### Platforms affected
ios

### What does this PR do?
catches possible error, and outputs error message

### What testing has been done on this change?
jshint, ran tests

### Checklist
- [x] [Reported an issue](http://cordova.apache.org/contribute/issues.html) 
in the JIRA database
- [x] 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.
- [x] 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/purplecabbage/cordova-ios CB-11999

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

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


commit e7dedb9951fe55b9463f2e3610d360873a63c658
Author: Jesse MacFadyen 
Date:   2016-10-12T00:40:56Z

add message, catch exception if require fails




> "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-10-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-3232:


GitHub user purplecabbage opened a pull request:

https://github.com/apache/cordova-android/pull/341

add message, catch exception if require fails



### Platforms affected
android

### What does this PR do?
catches possible error and outputs message

### What testing has been done on this change?
jshint, ran tests

### Checklist
- [x] [Reported an issue](http://cordova.apache.org/contribute/issues.html) 
in the JIRA database
- [x] 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.
- [x] 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/purplecabbage/cordova-android CB-11999

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

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


commit 7862a82e95ad6ceacb0f69c0ba7b6ba84db4cc68
Author: Jesse MacFadyen 
Date:   2016-10-12T00:19:10Z

add message, catch exception if require fails




> "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] [Updated] (CB-12000) Add documentation for --buildFlag cli option

2016-10-11 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12000:
--
Environment: iOS

> Add documentation for --buildFlag cli option
> 
>
> Key: CB-12000
> URL: https://issues.apache.org/jira/browse/CB-12000
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
> Environment: iOS
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>
> See CB-11952



--
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-11998) cordova platform add error with cordova-common@1.5.0

2016-10-11 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-11998.
---
Resolution: Fixed
  Assignee: Shazron Abdullah

> cordova platform add error with cordova-common@1.5.0
> 
>
> Key: CB-11998
> URL: https://issues.apache.org/jira/browse/CB-11998
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaCommon
> Environment: cordova-common@1.5.0
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>
> This occurs when adding the cordova-ios platform, that has 
> cordova-common@1.5.0
> {code}
> Shazron-rMBP:u shaz$ cordova platform add ~/Apache/cordova-ios --verbose
> Warning: using prerelease version 6.4.0-nightly.2016.10.11.4759c467 
> (cordova-lib@6.4.0-nightly.2016.10.11.4ca3b4ca)
> No scripts found for hook "before_platform_add".
> Warning: using prerelease platform ios@4.3.0-dev.
> Use 'cordova platform add ios@latest' to add the latest published version 
> instead.
> Adding ios project...
> PlatformApi successfully found for platform ios
> Creating Cordova project for the iOS platform:
>   Path: platforms/ios
>   Package: com.u.name
>   Name: u
> Copying iOS template project to /Users/shaz/Desktop/u/platforms/ios
> iOS project created with cordova-ios@4.3.0-dev
> Checking for any plugins added to the project that have not been installed in 
> ios platform
> No differences found between plugins added to project and installed in ios 
> platform. Continuing...
> Generating platform-specific config.xml from defaults for iOS at 
> /Users/shaz/Desktop/u/platforms/ios/u/config.xml
> Merging project's config.xml into platform-specific iOS config.xml
> Merging and updating files from [www, platforms/ios/platform_www] to 
> platforms/ios/www
> Error: ENOENT: no such file or directory, stat 
> '/Users/shaz/Desktop/u/Users/shaz/Desktop/u/www'
> at Error (native)
> at Object.fs.statSync (fs.js:987:18)
> at mapDirectory 
> (/Users/shaz/Desktop/u/platforms/ios/cordova/node_modules/cordova-common/src/FileUpdater.js:331:52)
> at 
> /Users/shaz/Desktop/u/platforms/ios/cordova/node_modules/cordova-common/src/FileUpdater.js:295:20
> at Array.map (native)
> at Object.mergeAndUpdateDir 
> (/Users/shaz/Desktop/u/platforms/ios/cordova/node_modules/cordova-common/src/FileUpdater.js:290:12)
> at updateWww 
> (/Users/shaz/Desktop/u/platforms/ios/cordova/lib/prepare.js:153:17)
> at Api.module.exports.prepare 
> (/Users/shaz/Desktop/u/platforms/ios/cordova/lib/prepare.js:48:19)
> at Api.prepare (/Users/shaz/Desktop/u/platforms/ios/cordova/Api.js:188:45)
> at 
> /Users/shaz/.nvm/v6.4.0/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/prepare.js:105:32
> {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-12000) Add documentation for --buildFlag cli option

2016-10-11 Thread Shazron Abdullah (JIRA)
Shazron Abdullah created CB-12000:
-

 Summary: Add documentation for --buildFlag cli option
 Key: CB-12000
 URL: https://issues.apache.org/jira/browse/CB-12000
 Project: Apache Cordova
  Issue Type: Bug
  Components: Docs
Reporter: Shazron Abdullah
Assignee: Shazron Abdullah


See CB-11952



--
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-11952) Should be able to pass flags to xcodebuild

2016-10-11 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-11952.
---
Resolution: Fixed

> Should be able to pass flags to xcodebuild
> --
>
> Key: CB-11952
> URL: https://issues.apache.org/jira/browse/CB-11952
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: iOS
>Reporter: Andrew Zellman
>Assignee: Shazron Abdullah
>  Labels: features
>
> Cordova developers should be able to pass additional flags to xcodebuild when 
> compiling their projects. This can be done by adding a --buildFlag option in 
> cordova-ios that allows multiples declarations. There will need to be 
> additional attention to conflicts that may happen with xcodebuild arguments 
> injected by Cordova.



--
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-11952) Should be able to pass flags to xcodebuild

2016-10-11 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-11952:
--
Fix Version/s: (was: cordova-ios@4.4.0)

> Should be able to pass flags to xcodebuild
> --
>
> Key: CB-11952
> URL: https://issues.apache.org/jira/browse/CB-11952
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: iOS
>Reporter: Andrew Zellman
>Assignee: Shazron Abdullah
>  Labels: features
>
> Cordova developers should be able to pass additional flags to xcodebuild when 
> compiling their projects. This can be done by adding a --buildFlag option in 
> cordova-ios that allows multiples declarations. There will need to be 
> additional attention to conflicts that may happen with xcodebuild arguments 
> injected by Cordova.



--
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-11999) platformAPIs contain js code that is deceptively uncallable

2016-10-11 Thread Jesse MacFadyen (JIRA)
Jesse MacFadyen created CB-11999:


 Summary: platformAPIs contain js code that is deceptively 
uncallable
 Key: CB-11999
 URL: https://issues.apache.org/jira/browse/CB-11999
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, iOS, Windows
Reporter: Jesse MacFadyen
Assignee: Jesse MacFadyen


platformAPI has createPlatform/updatePlatform methods that are copied via the 
template to the platforms/android/cordova/Api.js are uncallable.





--
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-11998) cordova platform add error with cordova-common@1.5.0

2016-10-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11998:
-

Github user shazron commented on the issue:

https://github.com/apache/cordova-lib/pull/500
  
@RyanThomas73 thanks! Unfortunately I've already spent too much time on 
this one line fix, so I'm probably not going to re-visit it for now.



> cordova platform add error with cordova-common@1.5.0
> 
>
> Key: CB-11998
> URL: https://issues.apache.org/jira/browse/CB-11998
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaCommon
> Environment: cordova-common@1.5.0
>Reporter: Shazron Abdullah
>
> This occurs when adding the cordova-ios platform, that has 
> cordova-common@1.5.0
> {code}
> Shazron-rMBP:u shaz$ cordova platform add ~/Apache/cordova-ios --verbose
> Warning: using prerelease version 6.4.0-nightly.2016.10.11.4759c467 
> (cordova-lib@6.4.0-nightly.2016.10.11.4ca3b4ca)
> No scripts found for hook "before_platform_add".
> Warning: using prerelease platform ios@4.3.0-dev.
> Use 'cordova platform add ios@latest' to add the latest published version 
> instead.
> Adding ios project...
> PlatformApi successfully found for platform ios
> Creating Cordova project for the iOS platform:
>   Path: platforms/ios
>   Package: com.u.name
>   Name: u
> Copying iOS template project to /Users/shaz/Desktop/u/platforms/ios
> iOS project created with cordova-ios@4.3.0-dev
> Checking for any plugins added to the project that have not been installed in 
> ios platform
> No differences found between plugins added to project and installed in ios 
> platform. Continuing...
> Generating platform-specific config.xml from defaults for iOS at 
> /Users/shaz/Desktop/u/platforms/ios/u/config.xml
> Merging project's config.xml into platform-specific iOS config.xml
> Merging and updating files from [www, platforms/ios/platform_www] to 
> platforms/ios/www
> Error: ENOENT: no such file or directory, stat 
> '/Users/shaz/Desktop/u/Users/shaz/Desktop/u/www'
> at Error (native)
> at Object.fs.statSync (fs.js:987:18)
> at mapDirectory 
> (/Users/shaz/Desktop/u/platforms/ios/cordova/node_modules/cordova-common/src/FileUpdater.js:331:52)
> at 
> /Users/shaz/Desktop/u/platforms/ios/cordova/node_modules/cordova-common/src/FileUpdater.js:295:20
> at Array.map (native)
> at Object.mergeAndUpdateDir 
> (/Users/shaz/Desktop/u/platforms/ios/cordova/node_modules/cordova-common/src/FileUpdater.js:290:12)
> at updateWww 
> (/Users/shaz/Desktop/u/platforms/ios/cordova/lib/prepare.js:153:17)
> at Api.module.exports.prepare 
> (/Users/shaz/Desktop/u/platforms/ios/cordova/lib/prepare.js:48:19)
> at Api.prepare (/Users/shaz/Desktop/u/platforms/ios/cordova/Api.js:188:45)
> at 
> /Users/shaz/.nvm/v6.4.0/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/prepare.js:105:32
> {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-11998) cordova platform add error with cordova-common@1.5.0

2016-10-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11998:
-

Github user RyanThomas73 commented on the issue:

https://github.com/apache/cordova-lib/pull/500
  
One suggestion - you could simplify the source directory mapping to:
```
// Scan the files in each of the source directories.
var sourceMaps = sourceDirs.map(function (sourceDir) {
var absoluteSourceDir = path.join(rootDir, sourceDir);
if (!fs.existsSync(absoluteSourceDir)) {
throw new Error("Source directory does not exist: " + 
absoluteSourceDir);
}
return mapDirectory(rootDir, sourceDir, include, exclude);
});
```


> cordova platform add error with cordova-common@1.5.0
> 
>
> Key: CB-11998
> URL: https://issues.apache.org/jira/browse/CB-11998
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaCommon
> Environment: cordova-common@1.5.0
>Reporter: Shazron Abdullah
>
> This occurs when adding the cordova-ios platform, that has 
> cordova-common@1.5.0
> {code}
> Shazron-rMBP:u shaz$ cordova platform add ~/Apache/cordova-ios --verbose
> Warning: using prerelease version 6.4.0-nightly.2016.10.11.4759c467 
> (cordova-lib@6.4.0-nightly.2016.10.11.4ca3b4ca)
> No scripts found for hook "before_platform_add".
> Warning: using prerelease platform ios@4.3.0-dev.
> Use 'cordova platform add ios@latest' to add the latest published version 
> instead.
> Adding ios project...
> PlatformApi successfully found for platform ios
> Creating Cordova project for the iOS platform:
>   Path: platforms/ios
>   Package: com.u.name
>   Name: u
> Copying iOS template project to /Users/shaz/Desktop/u/platforms/ios
> iOS project created with cordova-ios@4.3.0-dev
> Checking for any plugins added to the project that have not been installed in 
> ios platform
> No differences found between plugins added to project and installed in ios 
> platform. Continuing...
> Generating platform-specific config.xml from defaults for iOS at 
> /Users/shaz/Desktop/u/platforms/ios/u/config.xml
> Merging project's config.xml into platform-specific iOS config.xml
> Merging and updating files from [www, platforms/ios/platform_www] to 
> platforms/ios/www
> Error: ENOENT: no such file or directory, stat 
> '/Users/shaz/Desktop/u/Users/shaz/Desktop/u/www'
> at Error (native)
> at Object.fs.statSync (fs.js:987:18)
> at mapDirectory 
> (/Users/shaz/Desktop/u/platforms/ios/cordova/node_modules/cordova-common/src/FileUpdater.js:331:52)
> at 
> /Users/shaz/Desktop/u/platforms/ios/cordova/node_modules/cordova-common/src/FileUpdater.js:295:20
> at Array.map (native)
> at Object.mergeAndUpdateDir 
> (/Users/shaz/Desktop/u/platforms/ios/cordova/node_modules/cordova-common/src/FileUpdater.js:290:12)
> at updateWww 
> (/Users/shaz/Desktop/u/platforms/ios/cordova/lib/prepare.js:153:17)
> at Api.module.exports.prepare 
> (/Users/shaz/Desktop/u/platforms/ios/cordova/lib/prepare.js:48:19)
> at Api.prepare (/Users/shaz/Desktop/u/platforms/ios/cordova/Api.js:188:45)
> at 
> /Users/shaz/.nvm/v6.4.0/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/prepare.js:105:32
> {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-11998) cordova platform add error with cordova-common@1.5.0

2016-10-11 Thread ASF subversion and git services (JIRA)

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

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

Commit 2170099d3aaff99a239a9beba5f517d8b79d1196 in cordova-ios's branch 
refs/heads/master from [~shazron]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=2170099 ]

Added CB-11998 fix into bundled cordova-common


> cordova platform add error with cordova-common@1.5.0
> 
>
> Key: CB-11998
> URL: https://issues.apache.org/jira/browse/CB-11998
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaCommon
> Environment: cordova-common@1.5.0
>Reporter: Shazron Abdullah
>
> This occurs when adding the cordova-ios platform, that has 
> cordova-common@1.5.0
> {code}
> Shazron-rMBP:u shaz$ cordova platform add ~/Apache/cordova-ios --verbose
> Warning: using prerelease version 6.4.0-nightly.2016.10.11.4759c467 
> (cordova-lib@6.4.0-nightly.2016.10.11.4ca3b4ca)
> No scripts found for hook "before_platform_add".
> Warning: using prerelease platform ios@4.3.0-dev.
> Use 'cordova platform add ios@latest' to add the latest published version 
> instead.
> Adding ios project...
> PlatformApi successfully found for platform ios
> Creating Cordova project for the iOS platform:
>   Path: platforms/ios
>   Package: com.u.name
>   Name: u
> Copying iOS template project to /Users/shaz/Desktop/u/platforms/ios
> iOS project created with cordova-ios@4.3.0-dev
> Checking for any plugins added to the project that have not been installed in 
> ios platform
> No differences found between plugins added to project and installed in ios 
> platform. Continuing...
> Generating platform-specific config.xml from defaults for iOS at 
> /Users/shaz/Desktop/u/platforms/ios/u/config.xml
> Merging project's config.xml into platform-specific iOS config.xml
> Merging and updating files from [www, platforms/ios/platform_www] to 
> platforms/ios/www
> Error: ENOENT: no such file or directory, stat 
> '/Users/shaz/Desktop/u/Users/shaz/Desktop/u/www'
> at Error (native)
> at Object.fs.statSync (fs.js:987:18)
> at mapDirectory 
> (/Users/shaz/Desktop/u/platforms/ios/cordova/node_modules/cordova-common/src/FileUpdater.js:331:52)
> at 
> /Users/shaz/Desktop/u/platforms/ios/cordova/node_modules/cordova-common/src/FileUpdater.js:295:20
> at Array.map (native)
> at Object.mergeAndUpdateDir 
> (/Users/shaz/Desktop/u/platforms/ios/cordova/node_modules/cordova-common/src/FileUpdater.js:290:12)
> at updateWww 
> (/Users/shaz/Desktop/u/platforms/ios/cordova/lib/prepare.js:153:17)
> at Api.module.exports.prepare 
> (/Users/shaz/Desktop/u/platforms/ios/cordova/lib/prepare.js:48:19)
> at Api.prepare (/Users/shaz/Desktop/u/platforms/ios/cordova/Api.js:188:45)
> at 
> /Users/shaz/.nvm/v6.4.0/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/prepare.js:105:32
> {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-11998) cordova platform add error with cordova-common@1.5.0

2016-10-11 Thread ASF subversion and git services (JIRA)

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

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

Commit c44db3d7a00779d5c7eb5ae6150847156858a4f7 in cordova-lib's branch 
refs/heads/master from [~shazron]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=c44db3d ]

CB-11998 - cordova platform add error with cordova-common@1.5.0

 This closes #500


> cordova platform add error with cordova-common@1.5.0
> 
>
> Key: CB-11998
> URL: https://issues.apache.org/jira/browse/CB-11998
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaCommon
> Environment: cordova-common@1.5.0
>Reporter: Shazron Abdullah
>
> This occurs when adding the cordova-ios platform, that has 
> cordova-common@1.5.0
> {code}
> Shazron-rMBP:u shaz$ cordova platform add ~/Apache/cordova-ios --verbose
> Warning: using prerelease version 6.4.0-nightly.2016.10.11.4759c467 
> (cordova-lib@6.4.0-nightly.2016.10.11.4ca3b4ca)
> No scripts found for hook "before_platform_add".
> Warning: using prerelease platform ios@4.3.0-dev.
> Use 'cordova platform add ios@latest' to add the latest published version 
> instead.
> Adding ios project...
> PlatformApi successfully found for platform ios
> Creating Cordova project for the iOS platform:
>   Path: platforms/ios
>   Package: com.u.name
>   Name: u
> Copying iOS template project to /Users/shaz/Desktop/u/platforms/ios
> iOS project created with cordova-ios@4.3.0-dev
> Checking for any plugins added to the project that have not been installed in 
> ios platform
> No differences found between plugins added to project and installed in ios 
> platform. Continuing...
> Generating platform-specific config.xml from defaults for iOS at 
> /Users/shaz/Desktop/u/platforms/ios/u/config.xml
> Merging project's config.xml into platform-specific iOS config.xml
> Merging and updating files from [www, platforms/ios/platform_www] to 
> platforms/ios/www
> Error: ENOENT: no such file or directory, stat 
> '/Users/shaz/Desktop/u/Users/shaz/Desktop/u/www'
> at Error (native)
> at Object.fs.statSync (fs.js:987:18)
> at mapDirectory 
> (/Users/shaz/Desktop/u/platforms/ios/cordova/node_modules/cordova-common/src/FileUpdater.js:331:52)
> at 
> /Users/shaz/Desktop/u/platforms/ios/cordova/node_modules/cordova-common/src/FileUpdater.js:295:20
> at Array.map (native)
> at Object.mergeAndUpdateDir 
> (/Users/shaz/Desktop/u/platforms/ios/cordova/node_modules/cordova-common/src/FileUpdater.js:290:12)
> at updateWww 
> (/Users/shaz/Desktop/u/platforms/ios/cordova/lib/prepare.js:153:17)
> at Api.module.exports.prepare 
> (/Users/shaz/Desktop/u/platforms/ios/cordova/lib/prepare.js:48:19)
> at Api.prepare (/Users/shaz/Desktop/u/platforms/ios/cordova/Api.js:188:45)
> at 
> /Users/shaz/.nvm/v6.4.0/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/prepare.js:105:32
> {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-11998) cordova platform add error with cordova-common@1.5.0

2016-10-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11998:
-

Github user asfgit closed the pull request at:

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


> cordova platform add error with cordova-common@1.5.0
> 
>
> Key: CB-11998
> URL: https://issues.apache.org/jira/browse/CB-11998
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaCommon
> Environment: cordova-common@1.5.0
>Reporter: Shazron Abdullah
>
> This occurs when adding the cordova-ios platform, that has 
> cordova-common@1.5.0
> {code}
> Shazron-rMBP:u shaz$ cordova platform add ~/Apache/cordova-ios --verbose
> Warning: using prerelease version 6.4.0-nightly.2016.10.11.4759c467 
> (cordova-lib@6.4.0-nightly.2016.10.11.4ca3b4ca)
> No scripts found for hook "before_platform_add".
> Warning: using prerelease platform ios@4.3.0-dev.
> Use 'cordova platform add ios@latest' to add the latest published version 
> instead.
> Adding ios project...
> PlatformApi successfully found for platform ios
> Creating Cordova project for the iOS platform:
>   Path: platforms/ios
>   Package: com.u.name
>   Name: u
> Copying iOS template project to /Users/shaz/Desktop/u/platforms/ios
> iOS project created with cordova-ios@4.3.0-dev
> Checking for any plugins added to the project that have not been installed in 
> ios platform
> No differences found between plugins added to project and installed in ios 
> platform. Continuing...
> Generating platform-specific config.xml from defaults for iOS at 
> /Users/shaz/Desktop/u/platforms/ios/u/config.xml
> Merging project's config.xml into platform-specific iOS config.xml
> Merging and updating files from [www, platforms/ios/platform_www] to 
> platforms/ios/www
> Error: ENOENT: no such file or directory, stat 
> '/Users/shaz/Desktop/u/Users/shaz/Desktop/u/www'
> at Error (native)
> at Object.fs.statSync (fs.js:987:18)
> at mapDirectory 
> (/Users/shaz/Desktop/u/platforms/ios/cordova/node_modules/cordova-common/src/FileUpdater.js:331:52)
> at 
> /Users/shaz/Desktop/u/platforms/ios/cordova/node_modules/cordova-common/src/FileUpdater.js:295:20
> at Array.map (native)
> at Object.mergeAndUpdateDir 
> (/Users/shaz/Desktop/u/platforms/ios/cordova/node_modules/cordova-common/src/FileUpdater.js:290:12)
> at updateWww 
> (/Users/shaz/Desktop/u/platforms/ios/cordova/lib/prepare.js:153:17)
> at Api.module.exports.prepare 
> (/Users/shaz/Desktop/u/platforms/ios/cordova/lib/prepare.js:48:19)
> at Api.prepare (/Users/shaz/Desktop/u/platforms/ios/cordova/Api.js:188:45)
> at 
> /Users/shaz/.nvm/v6.4.0/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/prepare.js:105:32
> {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-11998) cordova platform add error with cordova-common@1.5.0

2016-10-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11998:
-

GitHub user shazron opened a pull request:

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

CB-11998 - cordova platform add error with cordova-common@1.5.0

### Platforms affected

All platforms.

### What does this PR do?

Fixes "ENOENT: no such file or directory" error when adding a platform that 
has cordova-common@1.5.0

### What testing has been done on this change?

Added failing test in cordova-common library, then fixed it. 
Added a platform with cordova-common@1.5.0 that has this fix.

### Checklist
- [X] [Reported an issue](http://cordova.apache.org/contribute/issues.html) 
in the JIRA database
- [X] 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.
- [X] 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/shazron/cordova-lib CB-11998

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

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


commit b00086fe053838580d517ed316768f5c794903dd
Author: Shazron Abdullah 
Date:   2016-10-11T22:52:40Z

CB-11998 - cordova platform add error with cordova-common@1.5.0




> cordova platform add error with cordova-common@1.5.0
> 
>
> Key: CB-11998
> URL: https://issues.apache.org/jira/browse/CB-11998
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaCommon
> Environment: cordova-common@1.5.0
>Reporter: Shazron Abdullah
>
> This occurs when adding the cordova-ios platform, that has 
> cordova-common@1.5.0
> {code}
> Shazron-rMBP:u shaz$ cordova platform add ~/Apache/cordova-ios --verbose
> Warning: using prerelease version 6.4.0-nightly.2016.10.11.4759c467 
> (cordova-lib@6.4.0-nightly.2016.10.11.4ca3b4ca)
> No scripts found for hook "before_platform_add".
> Warning: using prerelease platform ios@4.3.0-dev.
> Use 'cordova platform add ios@latest' to add the latest published version 
> instead.
> Adding ios project...
> PlatformApi successfully found for platform ios
> Creating Cordova project for the iOS platform:
>   Path: platforms/ios
>   Package: com.u.name
>   Name: u
> Copying iOS template project to /Users/shaz/Desktop/u/platforms/ios
> iOS project created with cordova-ios@4.3.0-dev
> Checking for any plugins added to the project that have not been installed in 
> ios platform
> No differences found between plugins added to project and installed in ios 
> platform. Continuing...
> Generating platform-specific config.xml from defaults for iOS at 
> /Users/shaz/Desktop/u/platforms/ios/u/config.xml
> Merging project's config.xml into platform-specific iOS config.xml
> Merging and updating files from [www, platforms/ios/platform_www] to 
> platforms/ios/www
> Error: ENOENT: no such file or directory, stat 
> '/Users/shaz/Desktop/u/Users/shaz/Desktop/u/www'
> at Error (native)
> at Object.fs.statSync (fs.js:987:18)
> at mapDirectory 
> (/Users/shaz/Desktop/u/platforms/ios/cordova/node_modules/cordova-common/src/FileUpdater.js:331:52)
> at 
> /Users/shaz/Desktop/u/platforms/ios/cordova/node_modules/cordova-common/src/FileUpdater.js:295:20
> at Array.map (native)
> at Object.mergeAndUpdateDir 
> (/Users/shaz/Desktop/u/platforms/ios/cordova/node_modules/cordova-common/src/FileUpdater.js:290:12)
> at updateWww 
> (/Users/shaz/Desktop/u/platforms/ios/cordova/lib/prepare.js:153:17)
> at Api.module.exports.prepare 
> (/Users/shaz/Desktop/u/platforms/ios/cordova/lib/prepare.js:48:19)
> at Api.prepare (/Users/shaz/Desktop/u/platforms/ios/cordova/Api.js:188:45)
> at 
> /Users/shaz/.nvm/v6.4.0/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/prepare.js:105:32
> {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-11343) Handle Java 9 after JEP 223

2016-10-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11343:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cordova-android/pull/308


> Handle Java 9 after JEP 223
> ---
>
> Key: CB-11343
> URL: https://issues.apache.org/jira/browse/CB-11343
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android
>Affects Versions: 5.1.1
>Reporter: Andreas Kohn
>Assignee: Joe Bowser
>Priority: Minor
>
> `cordova requirements android` fails on a system with Java 9(-ea) installed 
> and accessible via PATH/JAVA_HOME:
> {code}
> $ cordova requirements android
> Requirements check results for android:
> Java JDK: not installed 
> Cannot read property '1' of null
> Android SDK: installed 
> Android target: installed 
> android-17,android-18,android-19,android-21,android-22,android-23,android-N
> Gradle: installed 
> Error: Some of requirements check failed
> $ echo $PATH
> /usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/home/andreas/.local/bin:/home/andreas/bin:/usr/java/jdk-9/bin:/home/andreas/modules/apache-maven/bin:/home/andreas/modules/apache-ant/bin:/home/andreas/modules/mongodb/bin:/home/andreas/modules/node/bin:/home/andreas/modules/android-sdk-linux/tools:/home/andreas/modules/android-sdk-linux/platform-tools
> $ which javac
> /usr/java/jdk-9/bin/javac
> $ echo $JAVA_HOME
> /usr/java/jdk-9
> $ javac -version
> javac 9-ea
> $ java -version
> java version "9-ea"
> Java(TM) SE Runtime Environment (build 9-ea+120)
> Java HotSpot(TM) 64-Bit Server VM (build 9-ea+120, mixed mode)
> {code}
> The exception is caused by the regular expression magic in check_reqs.js, 
> `check_java` function:
> {code}
> var match = /javac ((?:\d+\.)+(?:\d+))/i.exec(output)[1];
> {code}
> (5.2.0-dev is slightly different, but has the same issue).
> I think the easiest fix here is to change the expression to this:
> {code}
> var match = /javac ((?:\d+\.)*(?:\d+))/i.exec(output)[1];
> {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-8250) special characters in config.xml

2016-10-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-8250:


Github user asfgit closed the pull request at:

https://github.com/apache/cordova-android/pull/272


> special characters in config.xml
> 
>
> Key: CB-8250
> URL: https://issues.apache.org/jira/browse/CB-8250
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, CordovaLib
>Affects Versions: 3.5.0, 4.1.3
> Environment: Mac OSX Android iOS
>Reporter: Julien Durens
>
> In the config.xml, when you have an app name containing a special character 
> (in my case a single quote, or an apostropher) it has to be escaped to work 
> on android, but it shouldn't on iOS. So I had to change the name of the app 
> according to the platform I was trying to build:
> My app isn\'t that bad on android
> and
> My app isn't that bad on ios
> this kind of job shoud be done by the cordova platform add command



--
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-11998) cordova platform add error with cordova-common@1.5.0

2016-10-11 Thread Shazron Abdullah (JIRA)
Shazron Abdullah created CB-11998:
-

 Summary: cordova platform add error with cordova-common@1.5.0
 Key: CB-11998
 URL: https://issues.apache.org/jira/browse/CB-11998
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaCommon
 Environment: cordova-common@1.5.0
Reporter: Shazron Abdullah


This occurs when adding the cordova-ios platform, that has cordova-common@1.5.0

{code}
Shazron-rMBP:u shaz$ cordova platform add ~/Apache/cordova-ios --verbose
Warning: using prerelease version 6.4.0-nightly.2016.10.11.4759c467 
(cordova-lib@6.4.0-nightly.2016.10.11.4ca3b4ca)
No scripts found for hook "before_platform_add".
Warning: using prerelease platform ios@4.3.0-dev.
Use 'cordova platform add ios@latest' to add the latest published version 
instead.
Adding ios project...
PlatformApi successfully found for platform ios
Creating Cordova project for the iOS platform:
Path: platforms/ios
Package: com.u.name
Name: u
Copying iOS template project to /Users/shaz/Desktop/u/platforms/ios
iOS project created with cordova-ios@4.3.0-dev
Checking for any plugins added to the project that have not been installed in 
ios platform
No differences found between plugins added to project and installed in ios 
platform. Continuing...
Generating platform-specific config.xml from defaults for iOS at 
/Users/shaz/Desktop/u/platforms/ios/u/config.xml
Merging project's config.xml into platform-specific iOS config.xml
Merging and updating files from [www, platforms/ios/platform_www] to 
platforms/ios/www
Error: ENOENT: no such file or directory, stat 
'/Users/shaz/Desktop/u/Users/shaz/Desktop/u/www'
at Error (native)
at Object.fs.statSync (fs.js:987:18)
at mapDirectory 
(/Users/shaz/Desktop/u/platforms/ios/cordova/node_modules/cordova-common/src/FileUpdater.js:331:52)
at 
/Users/shaz/Desktop/u/platforms/ios/cordova/node_modules/cordova-common/src/FileUpdater.js:295:20
at Array.map (native)
at Object.mergeAndUpdateDir 
(/Users/shaz/Desktop/u/platforms/ios/cordova/node_modules/cordova-common/src/FileUpdater.js:290:12)
at updateWww 
(/Users/shaz/Desktop/u/platforms/ios/cordova/lib/prepare.js:153:17)
at Api.module.exports.prepare 
(/Users/shaz/Desktop/u/platforms/ios/cordova/lib/prepare.js:48:19)
at Api.prepare (/Users/shaz/Desktop/u/platforms/ios/cordova/Api.js:188:45)
at 
/Users/shaz/.nvm/v6.4.0/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/prepare.js:105:32
{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-8722) Android should move icons to res/mipmap-* rather than drawable

2016-10-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-8722:


Github user asfgit closed the pull request at:

https://github.com/apache/cordova-android/pull/340


> Android should move icons to res/mipmap-* rather than drawable
> --
>
> Key: CB-8722
> URL: https://issues.apache.org/jira/browse/CB-8722
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, CordovaLib
>Reporter: Andrew Grieve
>Priority: Minor
>
> Refer to: http://developer.android.com/tools/projects/index.html#mipmap



--
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-8722) Android should move icons to res/mipmap-* rather than drawable

2016-10-11 Thread ASF subversion and git services (JIRA)

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

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

Commit ca0cbad1c780539f59aa03043a894eccf5f43f69 in cordova-android's branch 
refs/heads/master from [~dpogue]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=ca0cbad ]

CB-8722 - Move icons from drawable to mipmap

This closes #340


> Android should move icons to res/mipmap-* rather than drawable
> --
>
> Key: CB-8722
> URL: https://issues.apache.org/jira/browse/CB-8722
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, CordovaLib
>Reporter: Andrew Grieve
>Priority: Minor
>
> Refer to: http://developer.android.com/tools/projects/index.html#mipmap



--
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-11997) The webView should reload when a crash occurs (iOS 8)

2016-10-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11997:
-

GitHub user cjpearson opened a pull request:

https://github.com/apache/cordova-plugin-wkwebview-engine/pull/23

CB-11997: Add crash recovery for iOS 8



### Platforms affected
iOS

### What does this PR do?
Reloads the WebView when it crashes. This behavior already exists on iOS >= 
9, but has not been added for iOS 8.

### What testing has been done on this change?
I've tried consuming a bunch of memory in javascript to cause a crash. The 
app reloads successfully.

### Checklist
- [ ] [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/cjpearson/cordova-plugin-wkwebview-engine 
master

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

https://github.com/apache/cordova-plugin-wkwebview-engine/pull/23.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 #23


commit d9d30f2cf91f307b44ecc5efe1763ae7d0b3bdb3
Author: Connor Pearson 
Date:   2016-10-11T18:04:37Z

CB-11997: Add crash recovery for iOS 8




> The webView should reload when a crash occurs (iOS 8)
> -
>
> Key: CB-11997
> URL: https://issues.apache.org/jira/browse/CB-11997
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin WKWebViewEngine
>Reporter: Connor Pearson
>Assignee: Shazron Abdullah
>
> When the WKProcess dies, the content is blanked out and the URL becomes nil. 
> This results in a "white screen" that can only be resolved by restarting the 
> app. See this for more info: https://bugs.webkit.org/show_bug.cgi?id=148685
> With the iOS9 API, it is now possible to detect when the WKProcess dies. On 
> iOS 8, we can listen for changes on URL of the WKWebView to be notified when 
> it crashes.



--
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-11990) Cordova prepare doesn't restore android.json and ios.json

2016-10-11 Thread Audrey So (JIRA)

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

Audrey So commented on CB-11990:


When I tested in 6.3.0., cordova prepare would not re-create .json of plugins 
for me.

> Cordova prepare doesn't restore android.json and ios.json
> -
>
> Key: CB-11990
> URL: https://issues.apache.org/jira/browse/CB-11990
> Project: Apache Cordova
>  Issue Type: Bug
>Affects Versions: 6.3.1
>Reporter: Yuliia Mykhailova
>Assignee: Audrey So
>
> If the platform specific .json of plugins was removed, cordova prepare 
> command doesn't re-create it, and as a result doesn't add plugins since 6.3.1 
> version, 6.3.0 is okay.



--
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-11997) The webView should reload when a crash occurs (iOS 8)

2016-10-11 Thread Connor Pearson (JIRA)

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

Connor Pearson updated CB-11997:

Description: 
When the WKProcess dies, the content is blanked out and the URL becomes nil. 
This results in a "white screen" that can only be resolved by restarting the 
app. See this for more info: https://bugs.webkit.org/show_bug.cgi?id=148685

With the iOS9 API, it is now possible to detect when the WKProcess dies. On iOS 
8, we can listen for changes on URL of the WKWebView to be notified when it 
crashes.

  was:
With the iOS9 API, it is now possible to detect when the WKProcess dies. 

When the WKProcess dies, the content is blanked out and the URL becomes nil. 
This results in a "white screen" that can only be resolved by restarting the 
app. See this for more info: https://bugs.webkit.org/show_bug.cgi?id=148685

iOS 8 does not have the 


> The webView should reload when a crash occurs (iOS 8)
> -
>
> Key: CB-11997
> URL: https://issues.apache.org/jira/browse/CB-11997
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin WKWebViewEngine
>Reporter: Connor Pearson
>Assignee: Shazron Abdullah
>
> When the WKProcess dies, the content is blanked out and the URL becomes nil. 
> This results in a "white screen" that can only be resolved by restarting the 
> app. See this for more info: https://bugs.webkit.org/show_bug.cgi?id=148685
> With the iOS9 API, it is now possible to detect when the WKProcess dies. On 
> iOS 8, we can listen for changes on URL of the WKWebView to be notified when 
> it crashes.



--
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-11997) The webView should reload when a crash occurs (iOS 8)

2016-10-11 Thread Connor Pearson (JIRA)

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

Connor Pearson updated CB-11997:

Description: 
With the iOS9 API, it is now possible to detect when the WKProcess dies. 

When the WKProcess dies, the content is blanked out and the URL becomes nil. 
This results in a "white screen" that can only be resolved by restarting the 
app. See this for more info: https://bugs.webkit.org/show_bug.cgi?id=148685

iOS 8 does not have the 

  was:
With the iOS9 API, it is now possible to detect when the WKProcess dies. See 
the API details for reference:
PR: https://github.com/apache/cordova-plugin-wkwebview-engine/pull/5

https://developer.apple.com/library/ios/releasenotes/General/iOS90APIDiffs/Objective-C/WebKit.html

When it does, the content is blanked out and the URL becomes nil. This results 
in a "white screen" that can only be resolved by restarting the app. See this 
for more info: https://bugs.webkit.org/show_bug.cgi?id=148685

I've Implemented the method: - 
(void)webViewWebContentProcessDidTerminate:(WKWebView *)webView which will be 
called when the process dies and reload the webView.


> The webView should reload when a crash occurs (iOS 8)
> -
>
> Key: CB-11997
> URL: https://issues.apache.org/jira/browse/CB-11997
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin WKWebViewEngine
>Reporter: Connor Pearson
>Assignee: Shazron Abdullah
>
> With the iOS9 API, it is now possible to detect when the WKProcess dies. 
> When the WKProcess dies, the content is blanked out and the URL becomes nil. 
> This results in a "white screen" that can only be resolved by restarting the 
> app. See this for more info: https://bugs.webkit.org/show_bug.cgi?id=148685
> iOS 8 does not have the 



--
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-11997) The webView should reload when a crash occurs (iOS 8)

2016-10-11 Thread Connor Pearson (JIRA)
Connor Pearson created CB-11997:
---

 Summary: The webView should reload when a crash occurs (iOS 8)
 Key: CB-11997
 URL: https://issues.apache.org/jira/browse/CB-11997
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin WKWebViewEngine
Reporter: Connor Pearson
Assignee: Shazron Abdullah


With the iOS9 API, it is now possible to detect when the WKProcess dies. See 
the API details for reference:
PR: https://github.com/apache/cordova-plugin-wkwebview-engine/pull/5

https://developer.apple.com/library/ios/releasenotes/General/iOS90APIDiffs/Objective-C/WebKit.html

When it does, the content is blanked out and the URL becomes nil. This results 
in a "white screen" that can only be resolved by restarting the app. See this 
for more info: https://bugs.webkit.org/show_bug.cgi?id=148685

I've Implemented the method: - 
(void)webViewWebContentProcessDidTerminate:(WKWebView *)webView which will be 
called when the process dies and reload the webView.



--
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-11952) Should be able to pass flags to xcodebuild

2016-10-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11952:
-

Github user asfgit closed the pull request at:

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


> Should be able to pass flags to xcodebuild
> --
>
> Key: CB-11952
> URL: https://issues.apache.org/jira/browse/CB-11952
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: iOS
>Reporter: Andrew Zellman
>Assignee: Shazron Abdullah
>  Labels: features
> Fix For: cordova-ios@4.4.0
>
>
> Cordova developers should be able to pass additional flags to xcodebuild when 
> compiling their projects. This can be done by adding a --buildFlag option in 
> cordova-ios that allows multiples declarations. There will need to be 
> additional attention to conflicts that may happen with xcodebuild arguments 
> injected by Cordova.



--
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-11952) Should be able to pass flags to xcodebuild

2016-10-11 Thread ASF subversion and git services (JIRA)

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

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

Commit 4e324b5c887dc8691c527ccb1c2e418558a0ca23 in cordova-ios's branch 
refs/heads/master from [~zellman]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=4e324b5 ]

CB-11952 - Introduce buildFlag option - adds buildFlag option for passing args 
to xcodebuild - There can be multiple --buildFlag declarations - Warns if 
buildFlag would override a built-in setting

This closes #265


> Should be able to pass flags to xcodebuild
> --
>
> Key: CB-11952
> URL: https://issues.apache.org/jira/browse/CB-11952
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: iOS
>Reporter: Andrew Zellman
>Assignee: Shazron Abdullah
>  Labels: features
> Fix For: cordova-ios@4.4.0
>
>
> Cordova developers should be able to pass additional flags to xcodebuild when 
> compiling their projects. This can be done by adding a --buildFlag option in 
> cordova-ios that allows multiples declarations. There will need to be 
> additional attention to conflicts that may happen with xcodebuild arguments 
> injected by Cordova.



--
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-11990) Cordova prepare doesn't restore android.json and ios.json

2016-10-11 Thread Audrey So (JIRA)

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

Audrey So commented on CB-11990:


Hi Yuliia! Can you provide a more detailed description of what is happening? It 
does not work for me in the same way in 6.30. Thank you!

> Cordova prepare doesn't restore android.json and ios.json
> -
>
> Key: CB-11990
> URL: https://issues.apache.org/jira/browse/CB-11990
> Project: Apache Cordova
>  Issue Type: Bug
>Affects Versions: 6.3.1
>Reporter: Yuliia Mykhailova
>Assignee: Audrey So
>
> If the platform specific .json of plugins was removed, cordova prepare 
> command doesn't re-create it, and as a result doesn't add plugins since 6.3.1 
> version, 6.3.0 is okay.



--
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-11995) Media Capture plugin's captureImage crashes the app on Android 7.0

2016-10-11 Thread Alexander Sorokin (JIRA)

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

Alexander Sorokin edited comment on CB-11995 at 10/11/16 3:55 PM:
--

The problem seem to be that we're passing a file URI to Camera app, which is 
not allowed on Android 7.0:
https://developer.android.com/reference/android/os/FileUriExposedException.html


was (Author: alsorokin):
The problem seems to be that we're passing a file URI to Camera app, which is 
not allowed in Android 7.0:
https://developer.android.com/reference/android/os/FileUriExposedException.html

> Media Capture plugin's captureImage crashes the app on Android 7.0
> --
>
> Key: CB-11995
> URL: https://issues.apache.org/jira/browse/CB-11995
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media Capture
>Reporter: Alexander Sorokin
>Assignee: Alexander Sorokin
>  Labels: triaged
>
> This issue can be reproduced by running media capture plugin's manual tests.



--
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-11995) Media Capture plugin's captureImage crashes the app on Android 7.0

2016-10-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11995:
-

GitHub user alsorokin opened a pull request:

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

CB-11995 (android) Do not pass a file uri to the camera

### Platforms affected
Android

### What does this PR do?
Fixes an image capture not to throw a FileUriExposedException on Android 7.0
https://issues.apache.org/jira/browse/CB-11995

### What testing has been done on this change?
Tested on Android 7.0 emulator as well as on various API level 19-22 
emulators.

### Checklist
- [x] [Reported an issue](https://issues.apache.org/jira/browse/CB-11995) 
in the JIRA database
- [x] 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 - *this 
can be tested only by manual test*.



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

$ git pull https://github.com/alsorokin/cordova-plugin-media-capture 
CB-11995

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

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


commit 108c2eff02700c90103e63c09e8144d965aff03f
Author: Alexander Sorokin 
Date:   2016-10-11T15:04:32Z

CB-11995 (android) Do not pass a file URI to the camera




> Media Capture plugin's captureImage crashes the app on Android 7.0
> --
>
> Key: CB-11995
> URL: https://issues.apache.org/jira/browse/CB-11995
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media Capture
>Reporter: Alexander Sorokin
>Assignee: Alexander Sorokin
>  Labels: triaged
>
> This issue can be reproduced by running media capture plugin's manual tests.



--
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-11996) Add a manual test for Media Capture plugin to take mutiple pictures

2016-10-11 Thread Alexander Sorokin (JIRA)
Alexander Sorokin created CB-11996:
--

 Summary: Add a manual test for Media Capture plugin to take 
mutiple pictures
 Key: CB-11996
 URL: https://issues.apache.org/jira/browse/CB-11996
 Project: Apache Cordova
  Issue Type: Test
  Components: Plugin Media Capture
Reporter: Alexander Sorokin
Assignee: Alexander Sorokin


Currently there is no way to test `CaptureImageOptions.limit`
Manual tests should be able to test it.



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

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



[jira] [Commented] (CB-11858) Add possibility to utilize Android M feature "LightStatusBar"

2016-10-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11858:
-

Github user cordova-qa commented on the issue:

https://github.com/apache/cordova-plugin-statusbar/pull/64
  
Cordova CI Build has one or more failures. 

**Commit** - 
[Link](https://github.com/apache/cordova-plugin-statusbar/pull/64/commits/374203281b46f2c6532957e5edee7f784280b988)
**Dashboard** - 
[Link](http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-statusbar-pr/29/)

| Builder Name  | Console Output | Test Report | Device Logs  |
| :---: | :---:  |   :---: | :---:|
| [Windows 8.1 Store]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-statusbar-pr/29//PLATFORM=windows-8.1-store/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-statusbar-pr/29//PLATFORM=windows-8.1-store/console)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-statusbar-pr/29//PLATFORM=windows-8.1-store/testReport/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-statusbar-pr/29//PLATFORM=windows-8.1-store/artifact/)
 |
| [Windows 10  Store]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-statusbar-pr/29//PLATFORM=windows-10-store/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-statusbar-pr/29//PLATFORM=windows-10-store/console)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-statusbar-pr/29//PLATFORM=windows-10-store/testReport/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-statusbar-pr/29//PLATFORM=windows-10-store/artifact/)
 |
| [Windows 8.1 Phone]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-statusbar-pr/29//PLATFORM=windows-8.1-phone/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-statusbar-pr/29//PLATFORM=windows-8.1-phone/console)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-statusbar-pr/29//PLATFORM=windows-8.1-phone/testReport/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-statusbar-pr/29//PLATFORM=windows-8.1-phone/artifact/)
 |
| [iOS]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-statusbar-pr/29//PLATFORM=ios/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-statusbar-pr/29//PLATFORM=ios/console)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-statusbar-pr/29//PLATFORM=ios/testReport/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-statusbar-pr/29//PLATFORM=ios/artifact/)
 |
| [Android]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-statusbar-pr/29//PLATFORM=android/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-statusbar-pr/29//PLATFORM=android/console)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-statusbar-pr/29//PLATFORM=android/testReport/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-statusbar-pr/29//PLATFORM=android/artifact/)
 |
 



> Add possibility to utilize Android M feature "LightStatusBar"
> -
>
> Key: CB-11858
> URL: https://issues.apache.org/jira/browse/CB-11858
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Plugin Statusbar
>Affects Versions: 2.2.0
> Environment: Android
>Reporter: Tobias Viehweger
>Priority: Minor
>  Labels: easyfix
>
> Since Android M, it's supported to have a light status bar, which will have 
> black text, instead of white text. That allows to have status bar backgrounds 
> that might be lighter than before.
> There is already something similar for iOS (StatusBarStyle), so it would be 
> easy to add. I already have the code here 
> (https://github.com/sovanta/cordova-plugin-statusbar/commit/ef318e777d50918aeb9f7d86bb29a759dd8d3830),
>  I just need to go through the ICLA signing.. 



--
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-11995) Media Capture plugin's captureImage crashes the app on Android 7.0

2016-10-11 Thread Alexander Sorokin (JIRA)

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

Alexander Sorokin commented on CB-11995:


The problem seems to be that we're passing a file URI to Camera app, which is 
not allowed in Android 7.0:
https://developer.android.com/reference/android/os/FileUriExposedException.html

> Media Capture plugin's captureImage crashes the app on Android 7.0
> --
>
> Key: CB-11995
> URL: https://issues.apache.org/jira/browse/CB-11995
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media Capture
>Reporter: Alexander Sorokin
>Assignee: Alexander Sorokin
>  Labels: triaged
>
> This issue can be reproduced by running media capture plugin's manual tests.



--
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-11995) Media Capture plugin's captureImage crashes the app on Android 7.0

2016-10-11 Thread Alexander Sorokin (JIRA)
Alexander Sorokin created CB-11995:
--

 Summary: Media Capture plugin's captureImage crashes the app on 
Android 7.0
 Key: CB-11995
 URL: https://issues.apache.org/jira/browse/CB-11995
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Media Capture
Reporter: Alexander Sorokin
Assignee: Alexander Sorokin


This issue can be reproduced by running media capture plugin's manual tests.



--
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-11771) Installing plugin with symlink option pollutes original directory with intermediate files

2016-10-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11771:
-

Github user mbektchiev commented on the issue:

https://github.com/apache/cordova-android/pull/326
  
Can someone please review this PR? apache/cordova-ios#244 is already merged 
and in order to fix the issue we need this one and 
https://github.com/apache/cordova-lib/pull/485 as well.


> Installing plugin with symlink option pollutes original directory with 
> intermediate files
> -
>
> Key: CB-11771
> URL: https://issues.apache.org/jira/browse/CB-11771
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugman
>Affects Versions: 1.3.0
>Reporter: Martin Bektchiev
>Assignee: Martin Bektchiev
>Priority: Minor
>
> When installing a plugin with custom library using the --link option the 
> whole directory is symlinked and temporary files leak into the original 
> plugin directory on build. This leads to broken builds if the same plugin is 
> linked in 2 projects targeting different Cordova versions.
> Steps to reproduce:
> * Clone https://github.com/Telerik-Verified-Plugins/Telerik-AppFeedback 
> plugin (or any other with an embedded android library)
> * Create 2 test projects with Cordova Android 4.1.1 and 5.2
> * Install the plugin using the --link option of plugman in both projects
> * Build the Cordova 5.2 project
> * Attempt to build the Cordova 4.1.1 project - multiple java errors of the 
> following kind are generated:
> Unknown source file : Uncaught translation error: 
> java.lang.IllegalArgumentException: already added: 
> Landroid/support/v7/appcompat/R$dimen;



--
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-11771) Installing plugin with symlink option pollutes original directory with intermediate files

2016-10-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11771:
-

Github user mbektchiev commented on the issue:

https://github.com/apache/cordova-lib/pull/485
  
Can someone please review this PR? 
https://github.com/apache/cordova-ios/pull/244 is already merged and in order 
to fix the issue we need this one and 
https://github.com/apache/cordova-android/pull/326 as well.


> Installing plugin with symlink option pollutes original directory with 
> intermediate files
> -
>
> Key: CB-11771
> URL: https://issues.apache.org/jira/browse/CB-11771
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugman
>Affects Versions: 1.3.0
>Reporter: Martin Bektchiev
>Assignee: Martin Bektchiev
>Priority: Minor
>
> When installing a plugin with custom library using the --link option the 
> whole directory is symlinked and temporary files leak into the original 
> plugin directory on build. This leads to broken builds if the same plugin is 
> linked in 2 projects targeting different Cordova versions.
> Steps to reproduce:
> * Clone https://github.com/Telerik-Verified-Plugins/Telerik-AppFeedback 
> plugin (or any other with an embedded android library)
> * Create 2 test projects with Cordova Android 4.1.1 and 5.2
> * Install the plugin using the --link option of plugman in both projects
> * Build the Cordova 5.2 project
> * Attempt to build the Cordova 4.1.1 project - multiple java errors of the 
> following kind are generated:
> Unknown source file : Uncaught translation error: 
> java.lang.IllegalArgumentException: already added: 
> Landroid/support/v7/appcompat/R$dimen;



--
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-11971) File transfer not working for windows phone more then 2MB file size

2016-10-11 Thread Naitik Patel (JIRA)

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

Naitik Patel updated CB-11971:
--
Priority: Major  (was: Minor)

> File transfer not working for windows phone more then 2MB file size
> ---
>
> Key: CB-11971
> URL: https://issues.apache.org/jira/browse/CB-11971
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: WP8 (deprecated)
>Affects Versions: 3.5.0
> Environment: Windows phone
>Reporter: Naitik Patel
>  Labels: windows
>   Original Estimate: 96h
>  Remaining Estimate: 96h
>
> File transfer not working for windows phone more then 2MB file size when it's 
> working with Android and IOS



--
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-10167) not select multiple image from gallary using cordova

2016-10-11 Thread Mr. V (JIRA)

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

Mr. V commented on CB-10167:


I consider this a significant issue. The inability to simultaneously select 
multiple files in Cordova (Android) is definitely a problem. In my case I'm 
only able to select a single video file on Android, despite the 'multiple' 
attribute being set in the input tag. I'm definitely interested in seeing this 
resolved.

> not select multiple image from gallary using cordova
> 
>
> Key: CB-10167
> URL: https://issues.apache.org/jira/browse/CB-10167
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 5.4.0
> Environment: Android (mobile application platform)
>Reporter: Tejal Pandya
>Priority: Minor
>  Labels: triaged
> Fix For: 5.4.0
>
>   Original Estimate: 20m
>  Remaining Estimate: 20m
>
> I am working on cordova 5.4.0 . I am using plugins camera, file ,file 
> transfer , media-capture for multiple file selection through gallary. But its 
> possible with capture by camera using example multiimageselector3.  But not 
> for gallary (In demo multiimageselector2. This demo not working). i am using 
> html file for select image and add above plugins. But not work right now. 
> Give me such solution for multiple imageselection using gallary. 



--
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-11991) Locking screen orientation causes viewport glitch

2016-10-11 Thread jcesarmobile (JIRA)

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

jcesarmobile closed CB-11991.
-
Resolution: Duplicate
  Assignee: jcesarmobile

Yes, it's a duplicate of CB-11423, closing this one

> Locking screen orientation causes viewport glitch
> -
>
> Key: CB-11991
> URL: https://issues.apache.org/jira/browse/CB-11991
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Screen Orientation, Plugin Statusbar
> Environment: MacOS Sierra, Xcode 8, iPhone 6 iOS 10 simulator and 
> real devices
>Reporter: Dmitry Chekanov
>Assignee: jcesarmobile
>
> I develop an app that has both cordova-plugin-screen-orientation and 
> cordova-plugin-statusbar plugins installed.
> When my JS code executes this command:
> {code:javascript}
> screen.lockOrientation('landscape');
> {code}
> the screen rotates and oftentimes turns into something like this: 
> https://drive.google.com/open?id=0B6XpnKFCvexaclBvc09STmhzMUU
> The viewport becomes clipped. I checked in Safari Inspector - the issue is 
> with the viewport, not with CSS - window.innerHeight reports ~100, and 
> window.innerWidth ~1000 (which is obviously not how it should be).
> It doesn't happen all the time. The lighter the page, the harder it is to 
> reproduce.
> I looked into the source code of the StatusBar plugin, and it looks like it 
> does some viewport resizing (there's a function called "resizeWebView") that 
> might cause the described issue. Maybe it gets executed when screen rotates 
> but fails to determine the proper screen dimensions to adjust the viewport.



--
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-11950) CORDOVA + MULTIPLE FILE SELECTION = NO

2016-10-11 Thread jcesarmobile (JIRA)

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

jcesarmobile commented on CB-11950:
---

I've linked the one being duplicated by yours.



> CORDOVA + MULTIPLE FILE SELECTION = NO
> --
>
> Key: CB-11950
> URL: https://issues.apache.org/jira/browse/CB-11950
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, iOS
>Affects Versions: 6.3.1
>Reporter: Mr. V
>
> Selecting multiple files using the input file tag, with type set to 'file', 
> does not work for HTML5 projects packaged with Cordova. Selecting multiple 
> files should be considered a fundamental, standard feature and should not 
> require the use of any kind of plugin. As multiple file selection is now a 
> standard mobile-browser feature, Cordova should additionally support this 
> feature as well - without requiring a plugin.



--
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-11950) CORDOVA + MULTIPLE FILE SELECTION = NO

2016-10-11 Thread Mr. V (JIRA)

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

Mr. V commented on CB-11950:


@ Joe - Can you point me to where this request has already been made? I would 
like to follow its progress. 

> CORDOVA + MULTIPLE FILE SELECTION = NO
> --
>
> Key: CB-11950
> URL: https://issues.apache.org/jira/browse/CB-11950
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, iOS
>Affects Versions: 6.3.1
>Reporter: Mr. V
>
> Selecting multiple files using the input file tag, with type set to 'file', 
> does not work for HTML5 projects packaged with Cordova. Selecting multiple 
> files should be considered a fundamental, standard feature and should not 
> require the use of any kind of plugin. As multiple file selection is now a 
> standard mobile-browser feature, Cordova should additionally support this 
> feature as well - without requiring a plugin.



--
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-11990) Cordova prepare doesn't restore android.json and ios.json

2016-10-11 Thread Yuliia Mykhailova (JIRA)

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

Yuliia Mykhailova reopened CB-11990:


> Cordova prepare doesn't restore android.json and ios.json
> -
>
> Key: CB-11990
> URL: https://issues.apache.org/jira/browse/CB-11990
> Project: Apache Cordova
>  Issue Type: Bug
>Affects Versions: 6.3.1
>Reporter: Yuliia Mykhailova
>Assignee: Audrey So
>
> If the platform specific .json of plugins was removed, cordova prepare 
> command doesn't re-create it, and as a result doesn't add plugins since 6.3.1 
> version, 6.3.0 is okay.



--
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-11990) Cordova prepare doesn't restore android.json and ios.json

2016-10-11 Thread Yuliia Mykhailova (JIRA)

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

Yuliia Mykhailova commented on CB-11990:


[~auso] Hello Audrey, in description of the ticket I have specified that on 
6.3.0 it's working, but not working on 6.3.1. Please re-check 6.3.1

> Cordova prepare doesn't restore android.json and ios.json
> -
>
> Key: CB-11990
> URL: https://issues.apache.org/jira/browse/CB-11990
> Project: Apache Cordova
>  Issue Type: Bug
>Affects Versions: 6.3.1
>Reporter: Yuliia Mykhailova
>Assignee: Audrey So
>
> If the platform specific .json of plugins was removed, cordova prepare 
> command doesn't re-create it, and as a result doesn't add plugins since 6.3.1 
> version, 6.3.0 is okay.



--
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-11991) Locking screen orientation causes viewport glitch

2016-10-11 Thread Michael Schmidt (JIRA)

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

Michael Schmidt edited comment on CB-11991 at 10/11/16 6:20 AM:


possible duplicate of CB-11423 and CB-11191

please add your findings there - if you have any additional findings not yet 
mentioned there


was (Author: mobidev3):
possible duplicate of CB-11191?

please add your findings there - if you have any additional findings not yet 
mentioned there

> Locking screen orientation causes viewport glitch
> -
>
> Key: CB-11991
> URL: https://issues.apache.org/jira/browse/CB-11991
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Screen Orientation, Plugin Statusbar
> Environment: MacOS Sierra, Xcode 8, iPhone 6 iOS 10 simulator and 
> real devices
>Reporter: Dmitry Chekanov
>
> I develop an app that has both cordova-plugin-screen-orientation and 
> cordova-plugin-statusbar plugins installed.
> When my JS code executes this command:
> {code:javascript}
> screen.lockOrientation('landscape');
> {code}
> the screen rotates and oftentimes turns into something like this: 
> https://drive.google.com/open?id=0B6XpnKFCvexaclBvc09STmhzMUU
> The viewport becomes clipped. I checked in Safari Inspector - the issue is 
> with the viewport, not with CSS - window.innerHeight reports ~100, and 
> window.innerWidth ~1000 (which is obviously not how it should be).
> It doesn't happen all the time. The lighter the page, the harder it is to 
> reproduce.
> I looked into the source code of the StatusBar plugin, and it looks like it 
> does some viewport resizing (there's a function called "resizeWebView") that 
> might cause the described issue. Maybe it gets executed when screen rotates 
> but fails to determine the proper screen dimensions to adjust the viewport.



--
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-11991) Locking screen orientation causes viewport glitch

2016-10-11 Thread Michael Schmidt (JIRA)

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

Michael Schmidt commented on CB-11991:
--

possible duplicate of CB-11191?

please add your findings there - if you have any additional findings not yet 
mentioned there

> Locking screen orientation causes viewport glitch
> -
>
> Key: CB-11991
> URL: https://issues.apache.org/jira/browse/CB-11991
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Screen Orientation, Plugin Statusbar
> Environment: MacOS Sierra, Xcode 8, iPhone 6 iOS 10 simulator and 
> real devices
>Reporter: Dmitry Chekanov
>
> I develop an app that has both cordova-plugin-screen-orientation and 
> cordova-plugin-statusbar plugins installed.
> When my JS code executes this command:
> {code:javascript}
> screen.lockOrientation('landscape');
> {code}
> the screen rotates and oftentimes turns into something like this: 
> https://drive.google.com/open?id=0B6XpnKFCvexaclBvc09STmhzMUU
> The viewport becomes clipped. I checked in Safari Inspector - the issue is 
> with the viewport, not with CSS - window.innerHeight reports ~100, and 
> window.innerWidth ~1000 (which is obviously not how it should be).
> It doesn't happen all the time. The lighter the page, the harder it is to 
> reproduce.
> I looked into the source code of the StatusBar plugin, and it looks like it 
> does some viewport resizing (there's a function called "resizeWebView") that 
> might cause the described issue. Maybe it gets executed when screen rotates 
> but fails to determine the proper screen dimensions to adjust the viewport.



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