[jira] [Commented] (CB-11528) Remove verbose mode from xcrun in build.js to prevent logging of environment variables.

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

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

ASF GitHub Bot commented on CB-11528:
-

Github user codecov-io commented on the issue:

https://github.com/apache/cordova-ios/pull/240
  
## [Current 
coverage](https://codecov.io/gh/apache/cordova-ios/pull/240?src=pr) is 52.60% 
(diff: 100%)
> Merging [#240](https://codecov.io/gh/apache/cordova-ios/pull/240?src=pr) 
into [master](https://codecov.io/gh/apache/cordova-ios/branch/master?src=pr) 
will not change coverage

```diff
@@ master   #240   diff @@
==
  Files11 11  
  Lines   882882  
  Methods 132132  
  Messages  0  0  
  Branches143143  
==
  Hits464464  
  Misses  418418  
  Partials  0  0  
```

> Powered by [Codecov](https://codecov.io?src=pr). Last update 
[3bda0ef...63ba2af](https://codecov.io/gh/apache/cordova-ios/compare/3bda0ef487f204e60def4ff1ecf844862460313e...63ba2afb2d6ccb14d013cff9744f955db79a6a6f?src=pr)


> Remove verbose mode from xcrun in build.js to prevent logging of environment 
> variables.
> ---
>
> Key: CB-11528
> URL: https://issues.apache.org/jira/browse/CB-11528
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: iOS
>Reporter: Meir Gottlieb
>Assignee: Shazron Abdullah
>
> During the build process for IOS, xcrun is called with the "-v" option for 
> verbose output. As part of the output, xcrun prints out all the environment 
> variables. This can be a security issue on CI servers because CI servers 
> often provide a way to store encrypted secrets that are decrypted and put in 
> environment variables during the build. When xcrun prints out all the 
> environment variables, the output on the CI server is then logged containing 
> the unencrypted versions of the secrets.
> Current the workaround is to use the --noSign option and then call xcrun 
> directly. However, it would be nice to remove the "-v" option when calling 
> "xcrun" in 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-11691) Plugin can't modify binary plists

2016-08-10 Thread Sky Kelsey (JIRA)
Sky Kelsey created CB-11691:
---

 Summary: Plugin  can't modify binary plists
 Key: CB-11691
 URL: https://issues.apache.org/jira/browse/CB-11691
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaCommon
 Environment: Mac OS X version: 10.11.6
Node version: v0.12.7
Cordova version: 6.3.0
Reporter: Sky Kelsey


https://github.com/apache/cordova-lib/blob/master/cordova-common/src/util/plist-helpers.js#L27

Cordova expects plists to be in XML format, and not binary. However, it fails 
to apply changes silently, masking the problem. Can you please log failures to 
modify config files, and ideally also add support for binary plists? All plists 
are generated as binary in xcode projects by default, so anyone who develops a 
plugin and needs to modify a plist is going to hit this issue.



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

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



[jira] [Resolved] (CB-11501) Views not scrolling in iOS - using SAP UI5

2016-08-10 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-11501.
---
Resolution: Not A Problem

> Views not scrolling in iOS - using SAP UI5
> --
>
> Key: CB-11501
> URL: https://issues.apache.org/jira/browse/CB-11501
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
> Environment: SAP UI5 - sap.m.ScrollContainer IOS
>Reporter: Diego Coelho
>Assignee: Shazron Abdullah
>
> Hi friends,
> I'm facing a huge issue with the sap.m.scrollContainer in iOS
> It works fine for Android and for browsers access. However, when we build for 
> iOS using Cordova, there is no scroll for this platform.
> Is there anything specific in the html/javascript or a specific css class to 
> add to the DIV so the xCode can identify it as UIScrollView ?
> Thank you in advance



--
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-11528) Remove verbose mode from xcrun in build.js to prevent logging of environment variables.

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

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

ASF GitHub Bot commented on CB-11528:
-

GitHub user shazron opened a pull request:

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

CB-11528 - Remove verbose mode from xcrun in build.js to prevent logg…

…ing of environment variables.

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

$ git pull https://github.com/shazron/cordova-ios CB-11528

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

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


commit 63ba2afb2d6ccb14d013cff9744f955db79a6a6f
Author: Shazron Abdullah 
Date:   2016-08-10T22:46:04Z

CB-11528 - Remove verbose mode from xcrun in build.js to prevent logging of 
environment variables.




> Remove verbose mode from xcrun in build.js to prevent logging of environment 
> variables.
> ---
>
> Key: CB-11528
> URL: https://issues.apache.org/jira/browse/CB-11528
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: iOS
>Reporter: Meir Gottlieb
>Assignee: Shazron Abdullah
>
> During the build process for IOS, xcrun is called with the "-v" option for 
> verbose output. As part of the output, xcrun prints out all the environment 
> variables. This can be a security issue on CI servers because CI servers 
> often provide a way to store encrypted secrets that are decrypted and put in 
> environment variables during the build. When xcrun prints out all the 
> environment variables, the output on the CI server is then logged containing 
> the unencrypted versions of the secrets.
> Current the workaround is to use the --noSign option and then call xcrun 
> directly. However, it would be nice to remove the "-v" option when calling 
> "xcrun" in 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-11528) Remove verbose mode from xcrun in build.js to prevent logging of environment variables.

2016-08-10 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-11528:
---

Line: 
https://github.com/apache/cordova-ios/blob/ee8e983ae4f8d85d7c05952a793667b97611dbac/bin/templates/scripts/cordova/lib/build.js#L98

> Remove verbose mode from xcrun in build.js to prevent logging of environment 
> variables.
> ---
>
> Key: CB-11528
> URL: https://issues.apache.org/jira/browse/CB-11528
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: iOS
>Reporter: Meir Gottlieb
>Assignee: Shazron Abdullah
>
> During the build process for IOS, xcrun is called with the "-v" option for 
> verbose output. As part of the output, xcrun prints out all the environment 
> variables. This can be a security issue on CI servers because CI servers 
> often provide a way to store encrypted secrets that are decrypted and put in 
> environment variables during the build. When xcrun prints out all the 
> environment variables, the output on the CI server is then logged containing 
> the unencrypted versions of the secrets.
> Current the workaround is to use the --noSign option and then call xcrun 
> directly. However, it would be nice to remove the "-v" option when calling 
> "xcrun" in 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] [Assigned] (CB-11528) Remove verbose mode from xcrun in build.js to prevent logging of environment variables.

2016-08-10 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah reassigned CB-11528:
-

Assignee: Shazron Abdullah

> Remove verbose mode from xcrun in build.js to prevent logging of environment 
> variables.
> ---
>
> Key: CB-11528
> URL: https://issues.apache.org/jira/browse/CB-11528
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: iOS
>Reporter: Meir Gottlieb
>Assignee: Shazron Abdullah
>
> During the build process for IOS, xcrun is called with the "-v" option for 
> verbose output. As part of the output, xcrun prints out all the environment 
> variables. This can be a security issue on CI servers because CI servers 
> often provide a way to store encrypted secrets that are decrypted and put in 
> environment variables during the build. When xcrun prints out all the 
> environment variables, the output on the CI server is then logged containing 
> the unencrypted versions of the secrets.
> Current the workaround is to use the --noSign option and then call xcrun 
> directly. However, it would be nice to remove the "-v" option when calling 
> "xcrun" in 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-4603) InAppBrowser parseFeature doesn't strip whitespace from supplied options

2016-08-10 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-4603:
-
   Assignee: (was: Joe Bowser)
Component/s: (was: Android)
 (was: iOS)

> InAppBrowser parseFeature doesn't strip whitespace from supplied options
> 
>
> Key: CB-4603
> URL: https://issues.apache.org/jira/browse/CB-4603
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Plugin InAppBrowser
>Affects Versions: 3.0.0
> Environment: Android, iOS
>Reporter: Jon Whitlock
>Priority: Minor
>  Labels: Triaged
>
> Short story:
> window.open('/', '_blank', 'location=no,hidden=yes');
> ... works, 
> window.open('/', '_blank', 'location=no, hidden=yes');
> ... doesn't.
> parseFeature does
>  StringTokenizer features = new StringTokenizer(optString, ",");
> ... where optString is that third parameter. Then in the case of deciding if 
> a window should be hidden on launch, in showWebPage tries;
> Boolean hidden = features.get(HIDDEN);
> where
> private static final String HIDDEN = "hidden";
> "hidden" != " hidden" ;)
> 'location = no,hidden = yes' etc also breaks it.
> It's a one-line fix, around line 248 in InAppBrowser.java;
> {code:title=InAppBrowser.java|borderStyle=solid}
> private HashMap parseFeature(String optString) {
> if (optString.equals(NULL)) {
> return null;
> } else {
> HashMap map = new HashMap();
> optString = optString.replaceAll("\\s",""); /* this line fixes 
> it*/
> {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-11529) setVolume is not working in iOS device.

2016-08-10 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-11529:
--
Component/s: (was: iOS)

> setVolume is not working in iOS device.
> ---
>
> Key: CB-11529
> URL: https://issues.apache.org/jira/browse/CB-11529
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media
>Affects Versions: 2.3.0
> Environment: iOS
>Reporter: Rajkumar
>
> setVolume in cordova media plugin works fine in android devices but in iOS 
> setVolume has no effect at all. I couldn't find anything in the docs which 
> says it won't work in iOS, So I am not sure whether it is the expected 
> behavior. The logs from xcode reveal nothing. Here is the section of log 
> http://pastebin.com/SgsjzuYc.
> Issue I am facing is similar to the one posted earlier : 
> https://groups.google.com/forum/#!topic/phonegap/sxsqoLnz8l4
> The app was tested in iPhone 5c running iOS 9.3 and iPhone 5s
> Works fine in Nexus 6 running 6.0.0



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

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



[jira] [Updated] (CB-11603) captureAudio on iOS 9.2+ can't record more than 2 seconds

2016-08-10 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-11603:
--
   Priority: Major  (was: Critical)
Component/s: (was: iOS)
 Plugin Media Capture

> captureAudio on iOS 9.2+ can't record more than 2 seconds
> -
>
> Key: CB-11603
> URL: https://issues.apache.org/jira/browse/CB-11603
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media Capture
> Environment: Cordova CLI: 6.1.1
> Gulp version:  CLI version 3.9.1
> Gulp local:
> Ionic Framework Version: 1.3.1-nightly-3792
> Ionic CLI Version: 1.7.16
> Ionic App Lib Version: 0.7.3
> ios-deploy version: 1.8.2
> ios-sim version: 5.0.8
> OS: Mac OS X El Capitan
> Node Version: v5.0.0
> Xcode version: Xcode 7.3.1 Build version 7D1014
>Reporter: James Manlapid
>
> I'm using 
> https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-media-capture/
>  and on iOS v. 9.2+ it won't allow me to upload recordings greater than 2 
> seconds. The same code works for Android and can capture audio for more than 
> 2 seconds. I'm using a file reader to get the base64 string of the whole 
> recording and uploading it to a server.
>  var audioFile = audioFiles[0],
> fileReader = new FileReader(),
> file;
> fileReader.onload = function (readerEvt) {
> var base64 = readerEvt.target.result;
> saveRecording(base64);
> };
> file = new window.File(audioFile.name, audioFile.localURL, 
>audioFile.type, 
> audioFile.lastModifiedDate, audioFile.size);
> fileReader.readAsDataURL(file);



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

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



[jira] [Comment Edited] (CB-11398) .appxbundle file is not generated with '--bundle' command

2016-08-10 Thread Michael Schmidt (JIRA)

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

Michael Schmidt edited comment on CB-11398 at 8/10/16 8:43 PM:
---

adding "--win" or "--appx=uap" builds only the intermediate bundles - the 
".appxupload"/".appxbundle" files are still missing completely. 

Both commands complete with the following error message:
{code}
Error: Cannot read property 'appx' of null
{code}

what could cause this error message?

the resulting folders are: (on a sidenote: while looking into each of the 
folders I even see that the ARM .appx file is missing whereas the X86 and X64 
.appx files are present)
{code}
CordovaApp.Windows10_1.0.0.0_arm_debug_Test
CordovaApp.Windows10_1.0.0.0_x64_debug_Test
CordovaApp.Windows10_1.0.0.0_x86_debug_Test
{code}

building the project manually from visual studio (Visual Studio 14.0.25123.00 
Update 2) works as expected and creates the ".appxupload" files


was (Author: mobidev3):
adding "--win" or "--appx=uap" builds only the intermediate bundles - the 
".appxupload" files are still missing completely. 

Both commands complete with the following error message:
{code}
Error: Cannot read property 'appx' of null
{code}

what could cause this error message?

the resulting folders are: (on a sidenote: while looking into each of the 
folders I even see that the ARM .appx file is missing whereas the X86 and X64 
.appx files are present)
{code}
CordovaApp.Windows10_1.0.0.0_arm_debug_Test
CordovaApp.Windows10_1.0.0.0_x64_debug_Test
CordovaApp.Windows10_1.0.0.0_x86_debug_Test
{code}

building the project manually from visual studio (Visual Studio 14.0.25123.00 
Update 2) works as expected and creates the ".appxupload" files

> .appxbundle file is not generated with '--bundle' command
> -
>
> Key: CB-11398
> URL: https://issues.apache.org/jira/browse/CB-11398
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: 6.1.1
> Environment: cordova 6.1.1
> windows 4.3.2
>Reporter: Michael Schmidt
>Assignee: Vladimir Kotikov
>Priority: Critical
>  Labels: wfc, windows
>
> *situation*
> - build.json built up as described in 
> http://cordova.apache.org/docs/en/latest/guide/platforms/win8/index.html#signing-an-app
> - windows 10 universal app
> - goal: create an .appxbundle file as described in 
> https://github.com/apache/cordova-windows/commit/eeda3df0711cee0ff7beb761aac33e18b534b5f0
> *problem: .appxbundle file is not generated*
> the command 
> {code}
> cordova build windows -- --archs="x86 x64 arm" --bundle
> {code}
> doesn't create an .appxbundle file
> same problem exists with release command
> {code}
> cordova build windows --release -- --archs="x86 x64 arm" 
> --buildConfig="build.json" --bundle
> {code}
> I want to upload to the store - what alternatives are there from the CLI?



--
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-11398) .appxbundle file is not generated with '--bundle' command

2016-08-10 Thread Michael Schmidt (JIRA)

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

Michael Schmidt commented on CB-11398:
--

adding "--win" or "--appx=uap" builds only the intermediate bundles - the 
".appxupload" files are still missing completely. 

Both commands complete with the following error message:
{code}
Error: Cannot read property 'appx' of null
{code}

what could cause this error message?

the resulting folders are: (on a sidenote: while looking into each of the 
folders I even see that the ARM .appx file is missing whereas the X86 and X64 
.appx files are present)
{code}
CordovaApp.Windows10_1.0.0.0_arm_debug_Test
CordovaApp.Windows10_1.0.0.0_x64_debug_Test
CordovaApp.Windows10_1.0.0.0_x86_debug_Test
{code}

building the project manually from visual studio (Visual Studio 14.0.25123.00 
Update 2) works as expected and creates the ".appxupload" files

> .appxbundle file is not generated with '--bundle' command
> -
>
> Key: CB-11398
> URL: https://issues.apache.org/jira/browse/CB-11398
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: 6.1.1
> Environment: cordova 6.1.1
> windows 4.3.2
>Reporter: Michael Schmidt
>Assignee: Vladimir Kotikov
>Priority: Critical
>  Labels: wfc, windows
>
> *situation*
> - build.json built up as described in 
> http://cordova.apache.org/docs/en/latest/guide/platforms/win8/index.html#signing-an-app
> - windows 10 universal app
> - goal: create an .appxbundle file as described in 
> https://github.com/apache/cordova-windows/commit/eeda3df0711cee0ff7beb761aac33e18b534b5f0
> *problem: .appxbundle file is not generated*
> the command 
> {code}
> cordova build windows -- --archs="x86 x64 arm" --bundle
> {code}
> doesn't create an .appxbundle file
> same problem exists with release command
> {code}
> cordova build windows --release -- --archs="x86 x64 arm" 
> --buildConfig="build.json" --bundle
> {code}
> I want to upload to the store - what alternatives are there from the CLI?



--
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-11649) Unable to validate app through WACK built for store using Visual Studio 2015 for Windows 10 UWP

2016-08-10 Thread Lal Kishor (JIRA)

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

Lal Kishor commented on CB-11649:
-

As a work around I used Windows platform version 4.3.0 to build and publish the 
app.
Below is the detail for 4.4.2 platform, after store association.
{code:xml|title=package.windows10.appxmanifest}

{code}

{code:xml|title=config.xml}

{code}

> Unable to validate app through WACK built for store using Visual Studio 2015 
> for Windows 10 UWP
> ---
>
> Key: CB-11649
> URL: https://issues.apache.org/jira/browse/CB-11649
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: 4.4.0, 4.3.2, 4.4.1, 4.4.2, 4.3.1
> Environment: Windows 10 Pro x64 Build 1511 (586.494)
> Visual Studio 2015 Community Update 1
> Node JS 6.3.1 (x64)
> Cordova 6.3.0
> Windows Platform 4.4.2
>Reporter: Lal Kishor
>Assignee: Vladimir Kotikov
>Priority: Critical
>  Labels: build, triaged, wfc, windows
>
> Create a blank cordova project:
>  cordova create dumbApp com.testing.dumbapp "Dumb App"
> Add windows platform to it:
>  cordova platform add windows
> Now open the CordovaApp.sln in Visual Studio 2015
>  Set windows 10 as startup project (I need to build for this only)
> Now if I run it on a windows 10 phone (Lumia 730) in debug mode it runs fine.
>(App loads and "Device is Ready" message shows up)
> So now if I need to publish this app:
> I Right click on CordovaApp.Windows10(Universal Windows) -> Store -> Create 
> App Packages
> Select Yes in Build for Store.
> Click Next
> I Login with my store credentials.
> Select an app from the list & click Next
> on Select and Configure packages page:
> Generate App Bundle -> always
> I Select all (i.e- x86, x64, ARM) in architecture
> & then Create.
> Now, in Package Creation Completed window, it says Launch WACK on local 
> machine. (Also No appxupload file was created)
> Click Launch WACK.
> Select all tests (after admin privilege prompt & a cmd window)
> Click Next.
> & now the result shows as FAILED
> the Report shows following Error in Crashes and hangs:
> Application 3982*._1.1.0.0_x64__0avdcyp53wg40 was 
> detected by Windows Error Reporting and experienced a crash or hang.
> That's a bare minimum application with no extra code, or plugin.
> This behavior is really bad, I had to pubish an app and this issue showed up 
> with no solution I am two weeks past the deadline.
> Guys developing windows platform please look through the issue and provide a 
> fix.
> also, a workaround will be very helpful for my current project, if any.



--
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-11197) Android status bar appears when keyboard pops up.

2016-08-10 Thread David Hooey (JIRA)

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

David Hooey commented on CB-11197:
--

Looks like this could be an issue with standard Android as well.

http://stackoverflow.com/questions/30999110/edittext-shows-the-status-bar-or-causes-content-above-to-move-instead-of-resize

> Android status bar appears when keyboard pops up.
> -
>
> Key: CB-11197
> URL: https://issues.apache.org/jira/browse/CB-11197
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Statusbar
>Affects Versions: 2.1.0
> Environment: cordova 6.1.1
> cordova-plugin-console 1.0.2 "Console"
> cordova-plugin-device 1.1.0 "Device"
> cordova-plugin-file 3.0.0 "File"
> cordova-plugin-file-transfer 1.4.0 "File Transfer"
> cordova-plugin-statusbar 2.1.3 "StatusBar"
> cordova-plugin-whitelist 1.2.0 "Whitelist"
>Reporter: David Hooey
>  Labels: regression, triaged
> Attachments: NoStatusBar.png, 
> StatusBarShowsAfterKeyboardShowAndHide.png
>
>
> When configuring for full screen app, the statusbar will appear when the 
> keyboard pops up for input. The iOS build is fine. The previous version 
> {{cordova-plugin-statusbar 2.0.0}} does not exhibit this problem.
> {code}
> 
> 
> 
> {code}
> Also mentioned in this 
> [post|http://stackoverflow.com/questions/36156357/cordova-status-bar-plugin-doesnt-work-in-android-when-keyboard-pops-up].



--
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-11010) Unexpected EOF while finding contacts in iPhone 6s

2016-08-10 Thread Shashank Agrawal (JIRA)

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

Shashank Agrawal edited comment on CB-11010 at 8/10/16 3:48 PM:


I'm having the same problem on iPhone 6S v9.3.3 but it is working on iPhone 6 
v9.3.3

Any workaround for this?


was (Author: sagrawal):
I'm having the same problem on iPhone 6S v9.3.3 but it is working on iPhone 6 
v9.3.3

> Unexpected EOF while finding contacts in iPhone 6s
> --
>
> Key: CB-11010
> URL: https://issues.apache.org/jira/browse/CB-11010
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Affects Versions: 2.0.0
> Environment: iOS 9.2.1, iOS 9.3 in iPhone 6s
>Reporter: Gowtham
>  Labels: iOS, mustfix, triaged
>
> I tried accessing the contacts using contacts plugin v2.0.1 with the 
> following code 
> var options  = new ContactFindOptions();
> options.filter   = "";
> options.multiple = true;
> var fields = ["displayName","phoneNumbers"];
>   
> navigator.contacts.find(fields, gotContacts, errorHandler, options);
> This throws me an SyntaxError: Unexpected EOF in iPhone 6s models.
> I tested the same in iPhone 5s and iPhone 6, this works fine. Also it works 
> fine in iPhone 6s Simulator.
> I tested in three iPhone 6s phones where the iOS is 9.3 for two phones and 
> 9.2.1 for one.
> All three phones have contacts more than 400.
> All three returned me the same error. 



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

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



[jira] [Assigned] (CB-11655) Plugin Media :app crashed when a telephone call come in if app is playing mp3.

2016-08-10 Thread Alexander Sorokin (JIRA)

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

Alexander Sorokin reassigned CB-11655:
--

Assignee: Alexander Sorokin

> Plugin Media :app crashed when a telephone call come in if app is playing mp3.
> --
>
> Key: CB-11655
> URL: https://issues.apache.org/jira/browse/CB-11655
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media
>Affects Versions: 2.3.0
> Environment: android 4.4/6.0.1,cordova 6.2.0
>Reporter: lei
>Assignee: Alexander Sorokin
>
> app crashed when a telephone call come in if app is playing mp3.
> following lines are exception info  in logcat :
> 07-30 16:53:39.932 23393 23393 E AndroidRuntime: FATAL EXCEPTION: main
> 07-30 16:53:39.932 23393 23393 E AndroidRuntime: Process: com.sin360.icolor, 
> PID: 23393
> 07-30 16:53:39.932 23393 23393 E AndroidRuntime: java.lang.RuntimeException: 
> Error receiving broadcast Intent { act=android.intent.action.PHONE_STATE 
> flg=0x10 (has extras) } in org.apache.cordova.CoreAndroid$5@ea96372
> 07-30 16:53:39.932 23393 23393 E AndroidRuntime:  at 
> android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:934)
> 07-30 16:53:39.932 23393 23393 E AndroidRuntime:  at 
> android.os.Handler.handleCallback(Handler.java:815)
> 07-30 16:53:39.932 23393 23393 E AndroidRuntime:  at 
> android.os.Handler.dispatchMessage(Handler.java:104)
> 07-30 16:53:39.932 23393 23393 E AndroidRuntime:  at 
> android.os.Looper.loop(Looper.java:207)
> 07-30 16:53:39.932 23393 23393 E AndroidRuntime:  at 
> android.app.ActivityThread.main(ActivityThread.java:5701)
> 07-30 16:53:39.932 23393 23393 E AndroidRuntime:  at 
> java.lang.reflect.Method.invoke(Native Method)
> 07-30 16:53:39.932 23393 23393 E AndroidRuntime:  at 
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:888)
> 07-30 16:53:39.932 23393 23393 E AndroidRuntime:  at 
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:749)
> 07-30 16:53:39.932 23393 23393 E AndroidRuntime: Caused by: 
> java.lang.NullPointerException: rhs == null
> 07-30 16:53:39.932 23393 23393 E AndroidRuntime:  at 
> java.lang.String.compareTo(Native Method)
> 07-30 16:53:39.932 23393 23393 E AndroidRuntime:  at 
> org.apache.cordova.media.AudioPlayer.readyPlayer(AudioPlayer.java:492)
> 07-30 16:53:39.932 23393 23393 E AndroidRuntime:  at 
> org.apache.cordova.media.AudioPlayer.startPlaying(AudioPlayer.java:217)
> 07-30 16:53:39.932 23393 23393 E AndroidRuntime:  at 
> org.apache.cordova.media.AudioHandler.onMessage(AudioHandler.java:199)
> 07-30 16:53:39.932 23393 23393 E AndroidRuntime:  at 
> org.apache.cordova.PluginManager.postMessage(PluginManager.java:312)
> 07-30 16:53:39.932 23393 23393 E AndroidRuntime:  at 
> org.apache.cordova.CoreAndroid$5.onReceive(CoreAndroid.java:298)
> 07-30 16:53:39.932 23393 23393 E AndroidRuntime:  at 
> android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:924)
> 07-30 16:53:39.932 23393 23393 E AndroidRuntime:  ... 7 more



--
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-11010) Unexpected EOF while finding contacts in iPhone 6s

2016-08-10 Thread Shashank Agrawal (JIRA)

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

Shashank Agrawal edited comment on CB-11010 at 8/10/16 3:43 PM:


I'm having the same problem on iPhone 6S v9.3.3 but it is working on iPhone 6 
v9.3.3


was (Author: sagrawal):
I'm having the same problem on iPhone 6S.


> Unexpected EOF while finding contacts in iPhone 6s
> --
>
> Key: CB-11010
> URL: https://issues.apache.org/jira/browse/CB-11010
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Affects Versions: 2.0.0
> Environment: iOS 9.2.1, iOS 9.3 in iPhone 6s
>Reporter: Gowtham
>  Labels: iOS, mustfix, triaged
>
> I tried accessing the contacts using contacts plugin v2.0.1 with the 
> following code 
> var options  = new ContactFindOptions();
> options.filter   = "";
> options.multiple = true;
> var fields = ["displayName","phoneNumbers"];
>   
> navigator.contacts.find(fields, gotContacts, errorHandler, options);
> This throws me an SyntaxError: Unexpected EOF in iPhone 6s models.
> I tested the same in iPhone 5s and iPhone 6, this works fine. Also it works 
> fine in iPhone 6s Simulator.
> I tested in three iPhone 6s phones where the iOS is 9.3 for two phones and 
> 9.2.1 for one.
> All three phones have contacts more than 400.
> All three returned me the same error. 



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

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



[jira] [Commented] (CB-11010) Unexpected EOF while finding contacts in iPhone 6s

2016-08-10 Thread Shashank Agrawal (JIRA)

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

Shashank Agrawal commented on CB-11010:
---

I'm having the same problem on iPhone 6S.


> Unexpected EOF while finding contacts in iPhone 6s
> --
>
> Key: CB-11010
> URL: https://issues.apache.org/jira/browse/CB-11010
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Affects Versions: 2.0.0
> Environment: iOS 9.2.1, iOS 9.3 in iPhone 6s
>Reporter: Gowtham
>  Labels: iOS, mustfix, triaged
>
> I tried accessing the contacts using contacts plugin v2.0.1 with the 
> following code 
> var options  = new ContactFindOptions();
> options.filter   = "";
> options.multiple = true;
> var fields = ["displayName","phoneNumbers"];
>   
> navigator.contacts.find(fields, gotContacts, errorHandler, options);
> This throws me an SyntaxError: Unexpected EOF in iPhone 6s models.
> I tested the same in iPhone 5s and iPhone 6, this works fine. Also it works 
> fine in iPhone 6s Simulator.
> I tested in three iPhone 6s phones where the iOS is 9.3 for two phones and 
> 9.2.1 for one.
> All three phones have contacts more than 400.
> All three returned me the same error. 



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

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



[jira] [Closed] (CB-10627) Using "id=cordova" with an HTML element cause 'deviceready' failure

2016-08-10 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-10627.
-
Resolution: Not A Problem

Closing this as the issue doesn't exist in latest version

> Using "id=cordova" with an HTML element cause 'deviceready' failure
> ---
>
> Key: CB-10627
> URL: https://issues.apache.org/jira/browse/CB-10627
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaJS
>Affects Versions: 5.2.0, 5.1.1
> Environment: Phonegap Build, using Android 5.1.1 (LG Leon LTE)
>Reporter: Jesse Monroy
>Priority: Trivial
>  Labels: triaged
>
> An HTML elements has the "id=cordova". After build and install, opening the 
> app causes "deviceready" to never fires. The bug is with cli-5.1.1 and 
> cli-5.2.0. To be clear, change the attribute to "id=xcordova" and it works.
> DOES NOT WORK "id=cordova"
> WORKS OKAY  "id=xcordova"
> NOTE: There is no issue with 3.7.0 or 6.0.0. PGB offers no 4.x



--
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-11564) Windows Phones platform can not play background audio

2016-08-10 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-11564:
--
Priority: Major  (was: Blocker)

> Windows Phones platform can not play background audio
> -
>
> Key: CB-11564
> URL: https://issues.apache.org/jira/browse/CB-11564
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media
> Environment: Windows Phones
>Reporter: Phuong To
>
> There is video demo play background audio for windows and windows phones 
> (version 8.1+) platform: https://youtu.be/zYY6NKf7KQM
> 1. Use the plugin https://github.com/apache/cordova-plugin-media
> cordova plugin add cordova-plugin-media@2.3.0
> 2. There is some reference material here for the additional requirements:
> http://blogs.technet.com/b/chadduffey/archive/2014/06/27/implement-background-audio-for-modern-windows-applications.aspx
> => It just work only for windows platform.
> It does not work for windows phones platform.
> 3. There is some reference How to play audio in the background:
> https://msdn.microsoft.com/en-us/library/windows/apps/xaml/jj841209.aspx
> Instructions
> I follow this reference and declare the background audio task.
> Open the package.phone.appxmanifest file in theplatforms/windows.
> Addition in  tag. 
> 
>  
>  
>   
>  
> After that, build app but it can not build and got a message:
> "Severity Code Description Project File Line Suppression State
> Error DEP0001 : Unexpected Error: Package could not be registered. (Exception 
> from HRESULT: 0x80073CF6)"
> Severity Code Description Project File Line Suppression State
> Error DEP6701 : Bootstrapping failed with unexpected error: 'DEP6700 : 
> LaunchMsvsmon failed on the device side with error code 0x80070019'.
> Severity Code Description Project File Line Suppression State
> Error DEP6700 : LaunchMsvsmon failed on the device side with error code 
> 0x80070019



--
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-11564) Windows Phones platform can not play background audio

2016-08-10 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-11564:
---

Reducing the priority to Important according to 
https://github.com/apache/cordova-coho/blob/master/docs/jira-triage.md

> Windows Phones platform can not play background audio
> -
>
> Key: CB-11564
> URL: https://issues.apache.org/jira/browse/CB-11564
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media
> Environment: Windows Phones
>Reporter: Phuong To
>Priority: Blocker
>
> There is video demo play background audio for windows and windows phones 
> (version 8.1+) platform: https://youtu.be/zYY6NKf7KQM
> 1. Use the plugin https://github.com/apache/cordova-plugin-media
> cordova plugin add cordova-plugin-media@2.3.0
> 2. There is some reference material here for the additional requirements:
> http://blogs.technet.com/b/chadduffey/archive/2014/06/27/implement-background-audio-for-modern-windows-applications.aspx
> => It just work only for windows platform.
> It does not work for windows phones platform.
> 3. There is some reference How to play audio in the background:
> https://msdn.microsoft.com/en-us/library/windows/apps/xaml/jj841209.aspx
> Instructions
> I follow this reference and declare the background audio task.
> Open the package.phone.appxmanifest file in theplatforms/windows.
> Addition in  tag. 
> 
>  
>  
>   
>  
> After that, build app but it can not build and got a message:
> "Severity Code Description Project File Line Suppression State
> Error DEP0001 : Unexpected Error: Package could not be registered. (Exception 
> from HRESULT: 0x80073CF6)"
> Severity Code Description Project File Line Suppression State
> Error DEP6701 : Bootstrapping failed with unexpected error: 'DEP6700 : 
> LaunchMsvsmon failed on the device side with error code 0x80070019'.
> Severity Code Description Project File Line Suppression State
> Error DEP6700 : LaunchMsvsmon failed on the device side with error code 
> 0x80070019



--
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-8305) cordova create existingdirectory error message isn't clearly an error

2016-08-10 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-8305.

Resolution: Fixed

{noformat}
cordova create bundle
Error: Path already exists and is not empty: d:\PROJECTS\Temp\bundle
{noformat}

> cordova create existingdirectory error message isn't clearly an error
> -
>
> Key: CB-8305
> URL: https://issues.apache.org/jira/browse/CB-8305
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CordovaLib
>Affects Versions: 3.5.0
>Reporter: Josh Soref
>Priority: Trivial
>  Labels: triaged
>
> {quote}
> $ cordova create aa
> Creating a new cordova project with name "HelloCordova" and id 
> "io.cordova.hellocordova" at location "/private/tmp/aa"
> Path already exists and is not empty: /private/tmp/aa
> {quote}
> There's no "Failed to create" or similar, just a line of text "Path already 
> exists...", which I naively ignored.
> We should improve the error reporting to indicate that this is actually a 
> fatal error.



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

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



[jira] [Closed] (CB-11657) Windows app fails WACK test due to missing UTF BOM

2016-08-10 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-11657.
-
Resolution: Fixed

> Windows app fails WACK test due to missing UTF BOM
> --
>
> Key: CB-11657
> URL: https://issues.apache.org/jira/browse/CB-11657
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: 4.4.2
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>  Labels: reproduced, triaged
> Fix For: 4.4.3
>
>
> After building app for store and running WACK it fails with the following 
> error:
> File encoding test
> FAILED
> UTF-8 file encoding
> Error Found: The UTF-8 file encoding test detected the following errors:
> File C:\Program 
> Files\WindowsApps\57757VladimirKotikov.CordovaTest123_1.1.0.0_x64__gpj6r6j8n5kcg\www\cordova_plugins.js
>  is not properly UTF-8 encoded. Re-save the file as UTF-8 (including Byte 
> Order Mark).
> Impact if not fixed: HTML, CSS, and JavaScript files must be encoded in UTF-8 
> form with a corresponding byte-order mark (BOM) in order to benefit from 
> bytecode caching and to avoid other runtime error conditions.
> How to fix: Open the affected file, and select "Save As..." option from the 
> File menu in Visual Studio. Select the drop-down control next to the Save 
> button and select "Save with Encoding..." option. From the Advanced save 
> options dialog, choose the "Unicode (UTF-8 with signature)" option and click 
> the OK button.



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

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



[jira] [Commented] (CB-11657) Windows app fails WACK test due to missing UTF BOM

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

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

ASF GitHub Bot commented on CB-11657:
-

Github user asfgit closed the pull request at:

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


> Windows app fails WACK test due to missing UTF BOM
> --
>
> Key: CB-11657
> URL: https://issues.apache.org/jira/browse/CB-11657
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: 4.4.2
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>  Labels: reproduced, triaged
> Fix For: 4.4.3
>
>
> After building app for store and running WACK it fails with the following 
> error:
> File encoding test
> FAILED
> UTF-8 file encoding
> Error Found: The UTF-8 file encoding test detected the following errors:
> File C:\Program 
> Files\WindowsApps\57757VladimirKotikov.CordovaTest123_1.1.0.0_x64__gpj6r6j8n5kcg\www\cordova_plugins.js
>  is not properly UTF-8 encoded. Re-save the file as UTF-8 (including Byte 
> Order Mark).
> Impact if not fixed: HTML, CSS, and JavaScript files must be encoded in UTF-8 
> form with a corresponding byte-order mark (BOM) in order to benefit from 
> bytecode caching and to avoid other runtime error conditions.
> How to fix: Open the affected file, and select "Save As..." option from the 
> File menu in Visual Studio. Select the drop-down control next to the Save 
> button and select "Save with Encoding..." option. From the Advanced save 
> options dialog, choose the "Unicode (UTF-8 with signature)" option and click 
> the OK button.



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

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



[jira] [Commented] (CB-11657) Windows app fails WACK test due to missing UTF BOM

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

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

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

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

CB-11657 Add bom to www after plugin operations

Since cordova is not calling `prepare` immediately after plugin
has been installed/removed, we need to take care of adding BOM ourselves.
Otherwise user can run into situation when project, built from Visual
Studio immediately after installation/removal of plugin, will not pass
WACK tests due to missing BOM in some files.


> Windows app fails WACK test due to missing UTF BOM
> --
>
> Key: CB-11657
> URL: https://issues.apache.org/jira/browse/CB-11657
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: 4.4.2
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>  Labels: reproduced, triaged
> Fix For: 4.4.3
>
>
> After building app for store and running WACK it fails with the following 
> error:
> File encoding test
> FAILED
> UTF-8 file encoding
> Error Found: The UTF-8 file encoding test detected the following errors:
> File C:\Program 
> Files\WindowsApps\57757VladimirKotikov.CordovaTest123_1.1.0.0_x64__gpj6r6j8n5kcg\www\cordova_plugins.js
>  is not properly UTF-8 encoded. Re-save the file as UTF-8 (including Byte 
> Order Mark).
> Impact if not fixed: HTML, CSS, and JavaScript files must be encoded in UTF-8 
> form with a corresponding byte-order mark (BOM) in order to benefit from 
> bytecode caching and to avoid other runtime error conditions.
> How to fix: Open the affected file, and select "Save As..." option from the 
> File menu in Visual Studio. Select the drop-down control next to the Save 
> button and select "Save with Encoding..." option. From the Advanced save 
> options dialog, choose the "Unicode (UTF-8 with signature)" option and click 
> the OK button.



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

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



[jira] [Closed] (CB-7125) CLI help text for the cordova plugin add command should show option to specify a specific version

2016-08-10 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-7125.

Resolution: Fixed

{noformat}
cordova platform  [options]

Manage project platforms
add  [...].. Add specified platforms
...
Syntax
 : [@]||[#]

  Platform name e.g. android, ios, 
windows etc.
 . Major.minor.patch version specifier 
using semver
  Path to a directory containing a 
platform
 . Url to a git repository containing a 
platform
 .. Commit/tag/bramch reference. If none is 
specified, 'master' is used
{noformat}

> CLI help text for the cordova plugin add command should show option to 
> specify a specific version
> -
>
> Key: CB-7125
> URL: https://issues.apache.org/jira/browse/CB-7125
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CLI
>Reporter: Holly Schinsky
>Priority: Trivial
>  Labels: enhancement, help
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> The CLI help text currently doesn't show the option to specify a certain 
> version of plugin via the at sign, for instance:
> $ cordova plugin add org.apache.cordova.camera@0.2.8
> It would be nice to indicate this in the help text, it currently only shows:
>  plugin add  [ ...] ..
>[--searchpath ] . 



--
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-11657) Windows app fails WACK test due to missing UTF BOM

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

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

ASF GitHub Bot commented on CB-11657:
-

Github user toddm commented on the issue:

https://github.com/apache/cordova-windows/pull/192
  
:shipit: 


> Windows app fails WACK test due to missing UTF BOM
> --
>
> Key: CB-11657
> URL: https://issues.apache.org/jira/browse/CB-11657
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: 4.4.2
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>  Labels: reproduced, triaged
> Fix For: 4.4.3
>
>
> After building app for store and running WACK it fails with the following 
> error:
> File encoding test
> FAILED
> UTF-8 file encoding
> Error Found: The UTF-8 file encoding test detected the following errors:
> File C:\Program 
> Files\WindowsApps\57757VladimirKotikov.CordovaTest123_1.1.0.0_x64__gpj6r6j8n5kcg\www\cordova_plugins.js
>  is not properly UTF-8 encoded. Re-save the file as UTF-8 (including Byte 
> Order Mark).
> Impact if not fixed: HTML, CSS, and JavaScript files must be encoded in UTF-8 
> form with a corresponding byte-order mark (BOM) in order to benefit from 
> bytecode caching and to avoid other runtime error conditions.
> How to fix: Open the affected file, and select "Save As..." option from the 
> File menu in Visual Studio. Select the drop-down control next to the Save 
> button and select "Save with Encoding..." option. From the Advanced save 
> options dialog, choose the "Unicode (UTF-8 with signature)" option and click 
> the OK button.



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

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



[jira] [Closed] (CB-11065) Documentation - CLI Reference Page References Top Level 'merges' Folder that CLI does not create

2016-08-10 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-11065.
-
Resolution: Fixed

> Documentation - CLI Reference Page References Top Level 'merges' Folder that 
> CLI does not create
> 
>
> Key: CB-11065
> URL: https://issues.apache.org/jira/browse/CB-11065
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
>Affects Versions: 6.1.1
>Reporter: Simon Prickett
>Assignee: Nikhil Khandelwal
>Priority: Trivial
>  Labels: triaged
>
> The documentation says that:
> "Directory structure
> A Cordova application created with cordova-cli will have the following 
> directory structure:"
> on this page 
> https://cordova.apache.org/docs/en/latest/reference/cordova-cli/index.html
> It then shows a tree including a top level 'merges' folder:
> {code}
> myapp/
> |-- config.xml
> |-- hooks/
> |-- merges/
> | | |-- android/
> | | |-- windows/
> | | |-- ios/
> |-- www/
> ...
> {code}
> This is not actually created by the CLI in 6.1.1 (unlike say the hooks folder 
> which is).
> Example test:
> {code}
> Simon-P:tmp simon$ cordova -version
> 6.1.1
> Simon-P:tmp simon$ cordova create myapp com.whatever.myapp MyApp
> Creating a new cordova project.
> Simon-P:tmp simon$ cd myapp/
> Simon-P:myapp simon$ ls -F
> config.xmlhooks/  platforms/  plugins/www/
> Simon-P:myapp simon$ 
> {code}
> Note missing "merges/" at top level.  Not sure if this is a fault in the CLI 
> or the documentation.  If it creates "hooks/" then it should also create 
> "merges/" or documentation should reflect this?



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

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



[jira] [Closed] (CB-11686) Multibyte charactors are replaced to underscore when adding android platform

2016-08-10 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-11686.
-
Resolution: Won't Fix

> Multibyte charactors are replaced to underscore when adding android platform
> 
>
> Key: CB-11686
> URL: https://issues.apache.org/jira/browse/CB-11686
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android
>Affects Versions: 5.0.0
> Environment: * Darwin 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 
> 22:08:05 PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64
> * Windows 10 Pro 64bit version: 1511, OS build: 10586.494
>Reporter: Yuuki Tada
>Priority: Trivial
>  Labels: android, triaged
>
> It would be better not to replace the multibyte charactors to underscore when 
> adding android platform.
> Steps to reproduce:
> # cordova create hello io.cordova.hellocordova コルドバ
> # cd hello
> # cordova platform add android
> Expected result:
> {code}
> Adding android project...
> Creating Cordova project for the Android platform:
>   Path: platforms/android
>   Package: io.cordova.hellocordova
>   Name: コルドバ
>   Activity: MainActivity
>   Android target: android-23
> Android project created with cordova-android@5.2.1
> {code}
> Actual result
> {code}
> Adding android project...
> Creating Cordova project for the Android platform:
>   Path: platforms/android
>   Package: io.cordova.hellocordova
>   Name: ___
>   Activity: MainActivity
>   Android target: android-23
> Android project created with cordova-android@5.2.1
> {code}
> Note:
> _cordova build android_ command generates expected apk. (Application's name 
> is not changed.) It's only the display matter.



--
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-11686) Multibyte charactors are replaced to underscore when adding android platform

2016-08-10 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-11686:
--
Labels: android triaged  (was: android)

> Multibyte charactors are replaced to underscore when adding android platform
> 
>
> Key: CB-11686
> URL: https://issues.apache.org/jira/browse/CB-11686
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android
>Affects Versions: 5.0.0
> Environment: * Darwin 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 
> 22:08:05 PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64
> * Windows 10 Pro 64bit version: 1511, OS build: 10586.494
>Reporter: Yuuki Tada
>Priority: Trivial
>  Labels: android, triaged
>
> It would be better not to replace the multibyte charactors to underscore when 
> adding android platform.
> Steps to reproduce:
> # cordova create hello io.cordova.hellocordova コルドバ
> # cd hello
> # cordova platform add android
> Expected result:
> {code}
> Adding android project...
> Creating Cordova project for the Android platform:
>   Path: platforms/android
>   Package: io.cordova.hellocordova
>   Name: コルドバ
>   Activity: MainActivity
>   Android target: android-23
> Android project created with cordova-android@5.2.1
> {code}
> Actual result
> {code}
> Adding android project...
> Creating Cordova project for the Android platform:
>   Path: platforms/android
>   Package: io.cordova.hellocordova
>   Name: ___
>   Activity: MainActivity
>   Android target: android-23
> Android project created with cordova-android@5.2.1
> {code}
> Note:
> _cordova build android_ command generates expected apk. (Application's name 
> is not changed.) It's only the display matter.



--
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-11686) Multibyte charactors are replaced to underscore when adding android platform

2016-08-10 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-11686:
---

This is because Android tools are broken in terms of dealing with paths with 
non-ASCII characters. See CB-6511 and CB-8393 for example.

> Multibyte charactors are replaced to underscore when adding android platform
> 
>
> Key: CB-11686
> URL: https://issues.apache.org/jira/browse/CB-11686
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android
>Affects Versions: 5.0.0
> Environment: * Darwin 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 
> 22:08:05 PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64
> * Windows 10 Pro 64bit version: 1511, OS build: 10586.494
>Reporter: Yuuki Tada
>Priority: Trivial
>  Labels: android
>
> It would be better not to replace the multibyte charactors to underscore when 
> adding android platform.
> Steps to reproduce:
> # cordova create hello io.cordova.hellocordova コルドバ
> # cd hello
> # cordova platform add android
> Expected result:
> {code}
> Adding android project...
> Creating Cordova project for the Android platform:
>   Path: platforms/android
>   Package: io.cordova.hellocordova
>   Name: コルドバ
>   Activity: MainActivity
>   Android target: android-23
> Android project created with cordova-android@5.2.1
> {code}
> Actual result
> {code}
> Adding android project...
> Creating Cordova project for the Android platform:
>   Path: platforms/android
>   Package: io.cordova.hellocordova
>   Name: ___
>   Activity: MainActivity
>   Android target: android-23
> Android project created with cordova-android@5.2.1
> {code}
> Note:
> _cordova build android_ command generates expected apk. (Application's name 
> is not changed.) It's only the display matter.



--
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-11398) .appxbundle file is not generated with '--bundle' command

2016-08-10 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-11398:
--
Labels: wfc windows  (was: triaged wfc windows)

> .appxbundle file is not generated with '--bundle' command
> -
>
> Key: CB-11398
> URL: https://issues.apache.org/jira/browse/CB-11398
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: 6.1.1
> Environment: cordova 6.1.1
> windows 4.3.2
>Reporter: Michael Schmidt
>Assignee: Vladimir Kotikov
>Priority: Critical
>  Labels: wfc, windows
>
> *situation*
> - build.json built up as described in 
> http://cordova.apache.org/docs/en/latest/guide/platforms/win8/index.html#signing-an-app
> - windows 10 universal app
> - goal: create an .appxbundle file as described in 
> https://github.com/apache/cordova-windows/commit/eeda3df0711cee0ff7beb761aac33e18b534b5f0
> *problem: .appxbundle file is not generated*
> the command 
> {code}
> cordova build windows -- --archs="x86 x64 arm" --bundle
> {code}
> doesn't create an .appxbundle file
> same problem exists with release command
> {code}
> cordova build windows --release -- --archs="x86 x64 arm" 
> --buildConfig="build.json" --bundle
> {code}
> I want to upload to the store - what alternatives are there from the CLI?



--
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-11398) .appxbundle file is not generated with '--bundle' command

2016-08-10 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-11398:
---

Here is my observations:

1. {{cordova build windows -- --archs="x86 x64 arm" --bundle --win}} or 
{{cordova build windows -- --archs="x86 x64 arm" --bundle --phone}} work for 
me. Both commands produce multi-architecture bundles as expected.

2. {{cordova build windows -- --archs="x86 x64 arm" --bundle --win}} also 
succeeds and yields corresponding win10 bundle w/ 3 packages inside for each 
architecture.

3. The first command you mentioned - {{cordova build windows -- --archs="x86 
x64 arm" --bundle}} fails w/ the error {{error APPX3102: You cannot create an 
app bundle containing more than one pack age per architecture. Value of 
AppxBundlePlatforms property is 'x86|x64|x86|x64'}}. AppPackages directory 
contains only intermediate bundles (each contains only one architecture).

Is that what you are seeing? If yes, then the workaround is to use {{--win}}, 
{{--phone}} or {{--appx uap}} options to generate bundles for Win8.1, WinPhone 
8.1 and Win10 correspondingly.
Also this would mean that i would decrease priority to High rather than 
Critical, as there are existing workarounds.

> .appxbundle file is not generated with '--bundle' command
> -
>
> Key: CB-11398
> URL: https://issues.apache.org/jira/browse/CB-11398
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: 6.1.1
> Environment: cordova 6.1.1
> windows 4.3.2
>Reporter: Michael Schmidt
>Assignee: Vladimir Kotikov
>Priority: Critical
>  Labels: triaged, wfc, windows
>
> *situation*
> - build.json built up as described in 
> http://cordova.apache.org/docs/en/latest/guide/platforms/win8/index.html#signing-an-app
> - windows 10 universal app
> - goal: create an .appxbundle file as described in 
> https://github.com/apache/cordova-windows/commit/eeda3df0711cee0ff7beb761aac33e18b534b5f0
> *problem: .appxbundle file is not generated*
> the command 
> {code}
> cordova build windows -- --archs="x86 x64 arm" --bundle
> {code}
> doesn't create an .appxbundle file
> same problem exists with release command
> {code}
> cordova build windows --release -- --archs="x86 x64 arm" 
> --buildConfig="build.json" --bundle
> {code}
> I want to upload to the store - what alternatives are there from the CLI?



--
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-11398) .appxbundle file is not generated with '--bundle' command

2016-08-10 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov edited comment on CB-11398 at 8/10/16 2:01 PM:


Here is my observations:

# {{cordova build windows -- --archs="x86 x64 arm" --bundle --win}} or 
{{cordova build windows -- --archs="x86 x64 arm" --bundle --phone}} work for 
me. Both commands produce multi-architecture bundles as expected.
# {{cordova build windows -- --archs="x86 x64 arm" --bundle --win}} also 
succeeds and yields corresponding win10 bundle w/ 3 packages inside for each 
architecture.
# The first command you mentioned - {{cordova build windows -- --archs="x86 x64 
arm" --bundle}} fails w/ the error {{error APPX3102: You cannot create an app 
bundle containing more than one pack age per architecture. Value of 
AppxBundlePlatforms property is 'x86|x64|x86|x64'}}. AppPackages directory 
contains only intermediate bundles (each contains only one architecture).

Is that what you are seeing? If yes, then the workaround is to use {{--win}}, 
{{--phone}} or {{--appx uap}} options to generate bundles for Win8.1, WinPhone 
8.1 and Win10 correspondingly.
Also this would mean that i would decrease priority to High rather than 
Critical, as there are existing workarounds.


was (Author: vladimir.kotikov):
Here is my observations:

1. {{cordova build windows -- --archs="x86 x64 arm" --bundle --win}} or 
{{cordova build windows -- --archs="x86 x64 arm" --bundle --phone}} work for 
me. Both commands produce multi-architecture bundles as expected.

2. {{cordova build windows -- --archs="x86 x64 arm" --bundle --win}} also 
succeeds and yields corresponding win10 bundle w/ 3 packages inside for each 
architecture.

3. The first command you mentioned - {{cordova build windows -- --archs="x86 
x64 arm" --bundle}} fails w/ the error {{error APPX3102: You cannot create an 
app bundle containing more than one pack age per architecture. Value of 
AppxBundlePlatforms property is 'x86|x64|x86|x64'}}. AppPackages directory 
contains only intermediate bundles (each contains only one architecture).

Is that what you are seeing? If yes, then the workaround is to use {{--win}}, 
{{--phone}} or {{--appx uap}} options to generate bundles for Win8.1, WinPhone 
8.1 and Win10 correspondingly.
Also this would mean that i would decrease priority to High rather than 
Critical, as there are existing workarounds.

> .appxbundle file is not generated with '--bundle' command
> -
>
> Key: CB-11398
> URL: https://issues.apache.org/jira/browse/CB-11398
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: 6.1.1
> Environment: cordova 6.1.1
> windows 4.3.2
>Reporter: Michael Schmidt
>Assignee: Vladimir Kotikov
>Priority: Critical
>  Labels: triaged, wfc, windows
>
> *situation*
> - build.json built up as described in 
> http://cordova.apache.org/docs/en/latest/guide/platforms/win8/index.html#signing-an-app
> - windows 10 universal app
> - goal: create an .appxbundle file as described in 
> https://github.com/apache/cordova-windows/commit/eeda3df0711cee0ff7beb761aac33e18b534b5f0
> *problem: .appxbundle file is not generated*
> the command 
> {code}
> cordova build windows -- --archs="x86 x64 arm" --bundle
> {code}
> doesn't create an .appxbundle file
> same problem exists with release command
> {code}
> cordova build windows --release -- --archs="x86 x64 arm" 
> --buildConfig="build.json" --bundle
> {code}
> I want to upload to the store - what alternatives are there from the CLI?



--
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-11398) .appxbundle file is not generated with '--bundle' command

2016-08-10 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-11398:
--
Component/s: (was: CLI)
 Windows

> .appxbundle file is not generated with '--bundle' command
> -
>
> Key: CB-11398
> URL: https://issues.apache.org/jira/browse/CB-11398
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: 6.1.1
> Environment: cordova 6.1.1
> windows 4.3.2
>Reporter: Michael Schmidt
>Assignee: Vladimir Kotikov
>Priority: Critical
>  Labels: triaged, wfc, windows
>
> *situation*
> - build.json built up as described in 
> http://cordova.apache.org/docs/en/latest/guide/platforms/win8/index.html#signing-an-app
> - windows 10 universal app
> - goal: create an .appxbundle file as described in 
> https://github.com/apache/cordova-windows/commit/eeda3df0711cee0ff7beb761aac33e18b534b5f0
> *problem: .appxbundle file is not generated*
> the command 
> {code}
> cordova build windows -- --archs="x86 x64 arm" --bundle
> {code}
> doesn't create an .appxbundle file
> same problem exists with release command
> {code}
> cordova build windows --release -- --archs="x86 x64 arm" 
> --buildConfig="build.json" --bundle
> {code}
> I want to upload to the store - what alternatives are there from the CLI?



--
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-11398) .appxbundle file is not generated with '--bundle' command

2016-08-10 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-11398:
--
Labels: triaged wfc windows  (was: triaged windows)

> .appxbundle file is not generated with '--bundle' command
> -
>
> Key: CB-11398
> URL: https://issues.apache.org/jira/browse/CB-11398
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: 6.1.1
> Environment: cordova 6.1.1
> windows 4.3.2
>Reporter: Michael Schmidt
>Assignee: Vladimir Kotikov
>Priority: Critical
>  Labels: triaged, wfc, windows
>
> *situation*
> - build.json built up as described in 
> http://cordova.apache.org/docs/en/latest/guide/platforms/win8/index.html#signing-an-app
> - windows 10 universal app
> - goal: create an .appxbundle file as described in 
> https://github.com/apache/cordova-windows/commit/eeda3df0711cee0ff7beb761aac33e18b534b5f0
> *problem: .appxbundle file is not generated*
> the command 
> {code}
> cordova build windows -- --archs="x86 x64 arm" --bundle
> {code}
> doesn't create an .appxbundle file
> same problem exists with release command
> {code}
> cordova build windows --release -- --archs="x86 x64 arm" 
> --buildConfig="build.json" --bundle
> {code}
> I want to upload to the store - what alternatives are there from the CLI?



--
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-11398) .appxbundle file is not generated with '--bundle' command

2016-08-10 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-11398:
---

[~mobidev3], please elaborate what do you mean under ??problem: .appxbundle 
file is not generated??. Does this mean that build fails. Or it succeeds but 
appxbundle file is missing?

> .appxbundle file is not generated with '--bundle' command
> -
>
> Key: CB-11398
> URL: https://issues.apache.org/jira/browse/CB-11398
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 6.1.1
> Environment: cordova 6.1.1
> windows 4.3.2
>Reporter: Michael Schmidt
>Assignee: Vladimir Kotikov
>Priority: Critical
>  Labels: triaged, windows
>
> *situation*
> - build.json built up as described in 
> http://cordova.apache.org/docs/en/latest/guide/platforms/win8/index.html#signing-an-app
> - windows 10 universal app
> - goal: create an .appxbundle file as described in 
> https://github.com/apache/cordova-windows/commit/eeda3df0711cee0ff7beb761aac33e18b534b5f0
> *problem: .appxbundle file is not generated*
> the command 
> {code}
> cordova build windows -- --archs="x86 x64 arm" --bundle
> {code}
> doesn't create an .appxbundle file
> same problem exists with release command
> {code}
> cordova build windows --release -- --archs="x86 x64 arm" 
> --buildConfig="build.json" --bundle
> {code}
> I want to upload to the store - what alternatives are there from the CLI?



--
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-11661) Camera plugin crashes on iOS 10

2016-08-10 Thread Philipp Kursawe (JIRA)

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

Philipp Kursawe commented on CB-11661:
--

As an intermediate solution to that one can use the 
{{[cordova-custom-config|https://github.com/dpa99c/cordova-custom-config]}} 
plugin and the following entry in the ios platform section in config.xml

{code}

  this app needs the camera for ...

{code}

> Camera plugin crashes on iOS 10
> ---
>
> Key: CB-11661
> URL: https://issues.apache.org/jira/browse/CB-11661
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Plugin Camera
>Affects Versions: 3.5.0
> Environment: iOS 10
>Reporter: jcesarmobile
>Assignee: jcesarmobile
>
> We need to add a privacy description to the plist. Since iOS 6 Apple provided 
> a way to show the user why a certain permission is required. In iOS 10 this 
> becomes mandatory, so any app not specifying the key will crash at runtime 
> when a permissions is requested.
> This plugin requests the Camera permission, so at the very least we need to 
> add NSCameraUsageDescription and NSPhotoLibraryUsageDescription to the 
> `plist`.



--
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-11680) Plugin preference is not added on the first prepare

2016-08-10 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-11680.
-
   Resolution: Resolved
Fix Version/s: 6.3.1

Okay, thanks for verification.

> Plugin preference is not added on the first prepare
> ---
>
> Key: CB-11680
> URL: https://issues.apache.org/jira/browse/CB-11680
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: 6.3.0
>Reporter: Connor Pearson
>Assignee: Vladimir Kotikov
>  Labels: cannot-reproduce, triaged, wfc
> Fix For: 6.3.1
>
>
> * Create a sample project and add the ios platform and wkwebview engine 
> plugin and save them to the config.xml.
> * Delete platforms/ and plugins/ then try to restore with `cordova prepare 
> ios`
> * Open platforms/ios/[ProjectName]/config.xml
> Result: The CordovaWebViewEngine preference is not set.
> * Run `cordova prepare ios` again
> Result: The CordovaWebViewEngine is now set



--
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-11398) .appxbundle file is not generated with '--bundle' command

2016-08-10 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-11398:
--
Labels: triaged windows  (was: windows)

> .appxbundle file is not generated with '--bundle' command
> -
>
> Key: CB-11398
> URL: https://issues.apache.org/jira/browse/CB-11398
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 6.1.1
> Environment: cordova 6.1.1
> windows 4.3.2
>Reporter: Michael Schmidt
>Assignee: Vladimir Kotikov
>Priority: Critical
>  Labels: triaged, windows
>
> *situation*
> - build.json built up as described in 
> http://cordova.apache.org/docs/en/latest/guide/platforms/win8/index.html#signing-an-app
> - windows 10 universal app
> - goal: create an .appxbundle file as described in 
> https://github.com/apache/cordova-windows/commit/eeda3df0711cee0ff7beb761aac33e18b534b5f0
> *problem: .appxbundle file is not generated*
> the command 
> {code}
> cordova build windows -- --archs="x86 x64 arm" --bundle
> {code}
> doesn't create an .appxbundle file
> same problem exists with release command
> {code}
> cordova build windows --release -- --archs="x86 x64 arm" 
> --buildConfig="build.json" --bundle
> {code}
> I want to upload to the store - what alternatives are there from the CLI?



--
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-11524) [iOS 10] Using localStorage with WKWebView gives a security error

2016-08-10 Thread Philipp Kursawe (JIRA)

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

Philipp Kursawe commented on CB-11524:
--

We just tested this with beat 4 and our app works again with beta 4.

> [iOS 10] Using localStorage with WKWebView gives a security error
> -
>
> Key: CB-11524
> URL: https://issues.apache.org/jira/browse/CB-11524
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin WKWebViewEngine
>Reporter: Saúl Ibarra Corretgé
>Assignee: Shazron Abdullah
>  Labels: wkwebview-known-issues
>
> When using window.localStorage on iOS 10 with WKWebView, the following error 
> happens: SecurityError: DOM Exception 18: An attempt was made to break 
> through the security policy of the user agent.
> This does not happen with UIWebView, or with WKWebView on iOS 9.



--
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-11680) Plugin preference is not added on the first prepare

2016-08-10 Thread Connor Pearson (JIRA)

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

Connor Pearson commented on CB-11680:
-

Yeah this works properly with the latest code.

> Plugin preference is not added on the first prepare
> ---
>
> Key: CB-11680
> URL: https://issues.apache.org/jira/browse/CB-11680
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: 6.3.0
>Reporter: Connor Pearson
>Assignee: Vladimir Kotikov
>  Labels: cannot-reproduce, triaged, wfc
>
> * Create a sample project and add the ios platform and wkwebview engine 
> plugin and save them to the config.xml.
> * Delete platforms/ and plugins/ then try to restore with `cordova prepare 
> ios`
> * Open platforms/ios/[ProjectName]/config.xml
> Result: The CordovaWebViewEngine preference is not set.
> * Run `cordova prepare ios` again
> Result: The CordovaWebViewEngine is now set



--
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-11649) Unable to validate app through WACK built for store using Visual Studio 2015 for Windows 10 UWP

2016-08-10 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-11649:
--
Labels: build triaged wfc windows  (was: build windows)

> Unable to validate app through WACK built for store using Visual Studio 2015 
> for Windows 10 UWP
> ---
>
> Key: CB-11649
> URL: https://issues.apache.org/jira/browse/CB-11649
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: 4.4.0, 4.3.2, 4.4.1, 4.4.2, 4.3.1
> Environment: Windows 10 Pro x64 Build 1511 (586.494)
> Visual Studio 2015 Community Update 1
> Node JS 6.3.1 (x64)
> Cordova 6.3.0
> Windows Platform 4.4.2
>Reporter: Lal Kishor
>Assignee: Vladimir Kotikov
>Priority: Critical
>  Labels: build, triaged, wfc, windows
>
> Create a blank cordova project:
>  cordova create dumbApp com.testing.dumbapp "Dumb App"
> Add windows platform to it:
>  cordova platform add windows
> Now open the CordovaApp.sln in Visual Studio 2015
>  Set windows 10 as startup project (I need to build for this only)
> Now if I run it on a windows 10 phone (Lumia 730) in debug mode it runs fine.
>(App loads and "Device is Ready" message shows up)
> So now if I need to publish this app:
> I Right click on CordovaApp.Windows10(Universal Windows) -> Store -> Create 
> App Packages
> Select Yes in Build for Store.
> Click Next
> I Login with my store credentials.
> Select an app from the list & click Next
> on Select and Configure packages page:
> Generate App Bundle -> always
> I Select all (i.e- x86, x64, ARM) in architecture
> & then Create.
> Now, in Package Creation Completed window, it says Launch WACK on local 
> machine. (Also No appxupload file was created)
> Click Launch WACK.
> Select all tests (after admin privilege prompt & a cmd window)
> Click Next.
> & now the result shows as FAILED
> the Report shows following Error in Crashes and hangs:
> Application 3982*._1.1.0.0_x64__0avdcyp53wg40 was 
> detected by Windows Error Reporting and experienced a crash or hang.
> That's a bare minimum application with no extra code, or plugin.
> This behavior is really bad, I had to pubish an app and this issue showed up 
> with no solution I am two weeks past the deadline.
> Guys developing windows platform please look through the issue and provide a 
> fix.
> also, a workaround will be very helpful for my current project, if any.



--
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-11680) Plugin preference is not added on the first prepare

2016-08-10 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-11680:
--
Component/s: (was: CLI)
 CordovaLib

> Plugin preference is not added on the first prepare
> ---
>
> Key: CB-11680
> URL: https://issues.apache.org/jira/browse/CB-11680
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: 6.3.0
>Reporter: Connor Pearson
>Assignee: Vladimir Kotikov
>  Labels: cannot-reproduce, triaged, wfc
>
> * Create a sample project and add the ios platform and wkwebview engine 
> plugin and save them to the config.xml.
> * Delete platforms/ and plugins/ then try to restore with `cordova prepare 
> ios`
> * Open platforms/ios/[ProjectName]/config.xml
> Result: The CordovaWebViewEngine preference is not set.
> * Run `cordova prepare ios` again
> Result: The CordovaWebViewEngine is now set



--
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-11680) Plugin preference is not added on the first prepare

2016-08-10 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-11680:
---

[~cjpearson], this doesn't reproduce for me using cordova from master branch. I 
suspect that the issue has been fixed by [this 
commit|https://github.com/apache/cordova-lib/commit/f05874a5420ea5fcf5b96290cb1a7fe18fe3e6d6].
 If so, the fix will be available in cordova 6.3.1 which will be released in a 
few days.

Could you please check the latest master and let me know if the problem is 
fixed.

> Plugin preference is not added on the first prepare
> ---
>
> Key: CB-11680
> URL: https://issues.apache.org/jira/browse/CB-11680
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: 6.3.0
>Reporter: Connor Pearson
>Assignee: Vladimir Kotikov
>  Labels: cannot-reproduce, triaged, wfc
>
> * Create a sample project and add the ios platform and wkwebview engine 
> plugin and save them to the config.xml.
> * Delete platforms/ and plugins/ then try to restore with `cordova prepare 
> ios`
> * Open platforms/ios/[ProjectName]/config.xml
> Result: The CordovaWebViewEngine preference is not set.
> * Run `cordova prepare ios` again
> Result: The CordovaWebViewEngine is now set



--
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-11680) Plugin preference is not added on the first prepare

2016-08-10 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-11680:
--
Labels: cannot-reproduce triaged wfc  (was: )

> Plugin preference is not added on the first prepare
> ---
>
> Key: CB-11680
> URL: https://issues.apache.org/jira/browse/CB-11680
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: 6.3.0
>Reporter: Connor Pearson
>Assignee: Vladimir Kotikov
>  Labels: cannot-reproduce, triaged, wfc
>
> * Create a sample project and add the ios platform and wkwebview engine 
> plugin and save them to the config.xml.
> * Delete platforms/ and plugins/ then try to restore with `cordova prepare 
> ios`
> * Open platforms/ios/[ProjectName]/config.xml
> Result: The CordovaWebViewEngine preference is not set.
> * Run `cordova prepare ios` again
> Result: The CordovaWebViewEngine is now set



--
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-11657) Windows app fails WACK test due to missing UTF BOM

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

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

ASF GitHub Bot commented on CB-11657:
-

Github user codecov-io commented on the issue:

https://github.com/apache/cordova-windows/pull/192
  
## [Current 
coverage](https://codecov.io/gh/apache/cordova-windows/pull/192?src=pr) is 
74.25% (diff: 25.00%)
> Merging 
[#192](https://codecov.io/gh/apache/cordova-windows/pull/192?src=pr) into 
[master](https://codecov.io/gh/apache/cordova-windows/branch/master?src=pr) 
will increase coverage by **0.03%**

```diff
@@ master   #192   diff @@
==
  Files14 14  
  Lines  1939   1942 +3   
  Methods 361362 +1   
  Messages  0  0  
  Branches391391  
==
+ Hits   1439   1442 +3   
  Misses  500500  
  Partials  0  0  
```

> Powered by [Codecov](https://codecov.io?src=pr). Last update 
[7ad7258...455bf4b](https://codecov.io/gh/apache/cordova-windows/compare/7ad7258f81c7c0a37c5bf1c717491f377fe85b87...455bf4b62683ab380904f2e78eebe77d4a7fdb5c?src=pr)


> Windows app fails WACK test due to missing UTF BOM
> --
>
> Key: CB-11657
> URL: https://issues.apache.org/jira/browse/CB-11657
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: 4.4.2
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>  Labels: reproduced, triaged
> Fix For: 4.4.3
>
>
> After building app for store and running WACK it fails with the following 
> error:
> File encoding test
> FAILED
> UTF-8 file encoding
> Error Found: The UTF-8 file encoding test detected the following errors:
> File C:\Program 
> Files\WindowsApps\57757VladimirKotikov.CordovaTest123_1.1.0.0_x64__gpj6r6j8n5kcg\www\cordova_plugins.js
>  is not properly UTF-8 encoded. Re-save the file as UTF-8 (including Byte 
> Order Mark).
> Impact if not fixed: HTML, CSS, and JavaScript files must be encoded in UTF-8 
> form with a corresponding byte-order mark (BOM) in order to benefit from 
> bytecode caching and to avoid other runtime error conditions.
> How to fix: Open the affected file, and select "Save As..." option from the 
> File menu in Visual Studio. Select the drop-down control next to the Save 
> button and select "Save with Encoding..." option. From the Advanced save 
> options dialog, choose the "Unicode (UTF-8 with signature)" option and click 
> the OK button.



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

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



[jira] [Assigned] (CB-11680) Plugin preference is not added on the first prepare

2016-08-10 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov reassigned CB-11680:
-

Assignee: Vladimir Kotikov

> Plugin preference is not added on the first prepare
> ---
>
> Key: CB-11680
> URL: https://issues.apache.org/jira/browse/CB-11680
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 6.3.0
>Reporter: Connor Pearson
>Assignee: Vladimir Kotikov
>
> * Create a sample project and add the ios platform and wkwebview engine 
> plugin and save them to the config.xml.
> * Delete platforms/ and plugins/ then try to restore with `cordova prepare 
> ios`
> * Open platforms/ios/[ProjectName]/config.xml
> Result: The CordovaWebViewEngine preference is not set.
> * Run `cordova prepare ios` again
> Result: The CordovaWebViewEngine is now set



--
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-11649) Unable to validate app through WACK built for store using Visual Studio 2015 for Windows 10 UWP

2016-08-10 Thread Sergey Shakhnazarov (JIRA)

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

Sergey Shakhnazarov edited comment on CB-11649 at 8/10/16 10:51 AM:


This issue most likely occurs because of Application.Id and StartPage absolute 
path mismatch after Store Association done from VS.
[~lalkishorh], please check that your appxmanifest -> Application.StartPage 
contains a correct id.
(i.e. check this in {{package.windows10.appxmanifest}}: 
{{StartPage="ms-appx-web://updated.app.id/www/index.html"}})
In general you should update the projectRoot/config.xml and setup the correct 
{{widget.id}} and {{}}, see details here: 
https://cordova.apache.org/docs/en/latest/guide/platforms/win8/.


was (Author: daserge):
This issue most likely occurs because of Application.Id and StartPage absolute 
path mismatch after Store Association done from VS.
[~lalkishorh], please check that your appxmanifest -> Application.StartPage 
contains a correct id.
(i.e. check this in {{package.windows10.appxmanifest}}: 
{{StartPage="ms-appx-web://updated.app.id/www/index.html"}})
In general you should update the projectRoot/config.xml and setup the correct 
{{widget.id}} and {{}}, see details here: 
https://cordova.apache.org/docs/en/latest/guide/platforms/win8/.

> Unable to validate app through WACK built for store using Visual Studio 2015 
> for Windows 10 UWP
> ---
>
> Key: CB-11649
> URL: https://issues.apache.org/jira/browse/CB-11649
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: 4.4.0, 4.3.2, 4.4.1, 4.4.2, 4.3.1
> Environment: Windows 10 Pro x64 Build 1511 (586.494)
> Visual Studio 2015 Community Update 1
> Node JS 6.3.1 (x64)
> Cordova 6.3.0
> Windows Platform 4.4.2
>Reporter: Lal Kishor
>Assignee: Vladimir Kotikov
>Priority: Critical
>  Labels: build, windows
>
> Create a blank cordova project:
>  cordova create dumbApp com.testing.dumbapp "Dumb App"
> Add windows platform to it:
>  cordova platform add windows
> Now open the CordovaApp.sln in Visual Studio 2015
>  Set windows 10 as startup project (I need to build for this only)
> Now if I run it on a windows 10 phone (Lumia 730) in debug mode it runs fine.
>(App loads and "Device is Ready" message shows up)
> So now if I need to publish this app:
> I Right click on CordovaApp.Windows10(Universal Windows) -> Store -> Create 
> App Packages
> Select Yes in Build for Store.
> Click Next
> I Login with my store credentials.
> Select an app from the list & click Next
> on Select and Configure packages page:
> Generate App Bundle -> always
> I Select all (i.e- x86, x64, ARM) in architecture
> & then Create.
> Now, in Package Creation Completed window, it says Launch WACK on local 
> machine. (Also No appxupload file was created)
> Click Launch WACK.
> Select all tests (after admin privilege prompt & a cmd window)
> Click Next.
> & now the result shows as FAILED
> the Report shows following Error in Crashes and hangs:
> Application 3982*._1.1.0.0_x64__0avdcyp53wg40 was 
> detected by Windows Error Reporting and experienced a crash or hang.
> That's a bare minimum application with no extra code, or plugin.
> This behavior is really bad, I had to pubish an app and this issue showed up 
> with no solution I am two weeks past the deadline.
> Guys developing windows platform please look through the issue and provide a 
> fix.
> also, a workaround will be very helpful for my current project, if any.



--
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-11657) Windows app fails WACK test due to missing UTF BOM

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

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

ASF GitHub Bot commented on CB-11657:
-

Github user daserge commented on the issue:

https://github.com/apache/cordova-windows/pull/192
  
LGTM :+1: 


> Windows app fails WACK test due to missing UTF BOM
> --
>
> Key: CB-11657
> URL: https://issues.apache.org/jira/browse/CB-11657
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: 4.4.2
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>  Labels: reproduced, triaged
> Fix For: 4.4.3
>
>
> After building app for store and running WACK it fails with the following 
> error:
> File encoding test
> FAILED
> UTF-8 file encoding
> Error Found: The UTF-8 file encoding test detected the following errors:
> File C:\Program 
> Files\WindowsApps\57757VladimirKotikov.CordovaTest123_1.1.0.0_x64__gpj6r6j8n5kcg\www\cordova_plugins.js
>  is not properly UTF-8 encoded. Re-save the file as UTF-8 (including Byte 
> Order Mark).
> Impact if not fixed: HTML, CSS, and JavaScript files must be encoded in UTF-8 
> form with a corresponding byte-order mark (BOM) in order to benefit from 
> bytecode caching and to avoid other runtime error conditions.
> How to fix: Open the affected file, and select "Save As..." option from the 
> File menu in Visual Studio. Select the drop-down control next to the Save 
> button and select "Save with Encoding..." option. From the Advanced save 
> options dialog, choose the "Unicode (UTF-8 with signature)" option and click 
> the OK button.



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

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



[jira] [Commented] (CB-11649) Unable to validate app through WACK built for store using Visual Studio 2015 for Windows 10 UWP

2016-08-10 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-11649:
---

[~lalkishorh], does that solve your issue?

> Unable to validate app through WACK built for store using Visual Studio 2015 
> for Windows 10 UWP
> ---
>
> Key: CB-11649
> URL: https://issues.apache.org/jira/browse/CB-11649
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: 4.4.0, 4.3.2, 4.4.1, 4.4.2, 4.3.1
> Environment: Windows 10 Pro x64 Build 1511 (586.494)
> Visual Studio 2015 Community Update 1
> Node JS 6.3.1 (x64)
> Cordova 6.3.0
> Windows Platform 4.4.2
>Reporter: Lal Kishor
>Assignee: Vladimir Kotikov
>Priority: Critical
>  Labels: build, windows
>
> Create a blank cordova project:
>  cordova create dumbApp com.testing.dumbapp "Dumb App"
> Add windows platform to it:
>  cordova platform add windows
> Now open the CordovaApp.sln in Visual Studio 2015
>  Set windows 10 as startup project (I need to build for this only)
> Now if I run it on a windows 10 phone (Lumia 730) in debug mode it runs fine.
>(App loads and "Device is Ready" message shows up)
> So now if I need to publish this app:
> I Right click on CordovaApp.Windows10(Universal Windows) -> Store -> Create 
> App Packages
> Select Yes in Build for Store.
> Click Next
> I Login with my store credentials.
> Select an app from the list & click Next
> on Select and Configure packages page:
> Generate App Bundle -> always
> I Select all (i.e- x86, x64, ARM) in architecture
> & then Create.
> Now, in Package Creation Completed window, it says Launch WACK on local 
> machine. (Also No appxupload file was created)
> Click Launch WACK.
> Select all tests (after admin privilege prompt & a cmd window)
> Click Next.
> & now the result shows as FAILED
> the Report shows following Error in Crashes and hangs:
> Application 3982*._1.1.0.0_x64__0avdcyp53wg40 was 
> detected by Windows Error Reporting and experienced a crash or hang.
> That's a bare minimum application with no extra code, or plugin.
> This behavior is really bad, I had to pubish an app and this issue showed up 
> with no solution I am two weeks past the deadline.
> Guys developing windows platform please look through the issue and provide a 
> fix.
> also, a workaround will be very helpful for my current project, if any.



--
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-11657) Windows app fails WACK test due to missing UTF BOM

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

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

ASF GitHub Bot commented on CB-11657:
-

Github user vladimir-kotikov commented on the issue:

https://github.com/apache/cordova-windows/pull/192
  
@daserge. @sgrebnov, could you please take a look
/cc @toddm


> Windows app fails WACK test due to missing UTF BOM
> --
>
> Key: CB-11657
> URL: https://issues.apache.org/jira/browse/CB-11657
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: 4.4.2
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>  Labels: reproduced, triaged
> Fix For: 4.4.3
>
>
> After building app for store and running WACK it fails with the following 
> error:
> File encoding test
> FAILED
> UTF-8 file encoding
> Error Found: The UTF-8 file encoding test detected the following errors:
> File C:\Program 
> Files\WindowsApps\57757VladimirKotikov.CordovaTest123_1.1.0.0_x64__gpj6r6j8n5kcg\www\cordova_plugins.js
>  is not properly UTF-8 encoded. Re-save the file as UTF-8 (including Byte 
> Order Mark).
> Impact if not fixed: HTML, CSS, and JavaScript files must be encoded in UTF-8 
> form with a corresponding byte-order mark (BOM) in order to benefit from 
> bytecode caching and to avoid other runtime error conditions.
> How to fix: Open the affected file, and select "Save As..." option from the 
> File menu in Visual Studio. Select the drop-down control next to the Save 
> button and select "Save with Encoding..." option. From the Advanced save 
> options dialog, choose the "Unicode (UTF-8 with signature)" option and click 
> the OK button.



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

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



[jira] [Commented] (CB-11657) Windows app fails WACK test due to missing UTF BOM

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

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

ASF GitHub Bot commented on CB-11657:
-

GitHub user vladimir-kotikov opened a pull request:

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

CB-11657 Add bom to www after plugin operations

JIRA [CB-11657](https://issues.apache.org/jira/browse/CB-11657)

This PR addresses WACK validation issues when app has been built from VS 
after installing/restoring plugins. In this case some files, added by plugins 
would not have BOM

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

$ git pull https://github.com/vladimir-kotikov/cordova-windows CB-11657

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

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


commit 455bf4b62683ab380904f2e78eebe77d4a7fdb5c
Author: Vladimir Kotikov 
Date:   2016-08-10T10:04:24Z

CB-11657 Add bom to www after plugin operations

Since cordova is not calling `prepare` immediately after plugin
has been installed/removed, we need to take care of adding BOM ourselves.
Otherwise user can run into situation when project, built from Visual
Studio immediately after installation/removal of plugin, will not pass
WACK tests due to missing BOM in some files.




> Windows app fails WACK test due to missing UTF BOM
> --
>
> Key: CB-11657
> URL: https://issues.apache.org/jira/browse/CB-11657
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: 4.4.2
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>  Labels: reproduced, triaged
> Fix For: 4.4.3
>
>
> After building app for store and running WACK it fails with the following 
> error:
> File encoding test
> FAILED
> UTF-8 file encoding
> Error Found: The UTF-8 file encoding test detected the following errors:
> File C:\Program 
> Files\WindowsApps\57757VladimirKotikov.CordovaTest123_1.1.0.0_x64__gpj6r6j8n5kcg\www\cordova_plugins.js
>  is not properly UTF-8 encoded. Re-save the file as UTF-8 (including Byte 
> Order Mark).
> Impact if not fixed: HTML, CSS, and JavaScript files must be encoded in UTF-8 
> form with a corresponding byte-order mark (BOM) in order to benefit from 
> bytecode caching and to avoid other runtime error conditions.
> How to fix: Open the affected file, and select "Save As..." option from the 
> File menu in Visual Studio. Select the drop-down control next to the Save 
> button and select "Save with Encoding..." option. From the Advanced save 
> options dialog, choose the "Unicode (UTF-8 with signature)" option and click 
> the OK button.



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

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



[jira] [Commented] (CB-11633) Screen is cutting when changing portrait mode to landscape mode on iphone 5

2016-08-10 Thread Ovi Trif (JIRA)

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

Ovi Trif commented on CB-11633:
---

I have a similar issue when I start my iPad 3 with iOS 9.3.
My intention was to lock the orientation in portrait mode for all devices.

Here is part of the code

{code:JavaScript}
function _deviceReady() {

var _isiOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && 
!window.MSStream;

// Lock device orientation to portrait
if (window.screen && window.screen.lockOrientation) {
window.screen.lockOrientation("portrait-primary");
}
{code}

When I start the app in landscape mode on the iPad 3, the view gets only half 
of the width, similar to the screenshot.

On androids tablets it works perfectly.

> Screen is cutting when changing portrait mode to landscape mode on iphone 5
> ---
>
> Key: CB-11633
> URL: https://issues.apache.org/jira/browse/CB-11633
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Screen Orientation
>Reporter: fahad
>
> We are experiencing following issue
> Screen width is not updating and remain the same as it was in portrait mode 
> we also changed view-port meta tag also when we go from  potrait mode to 
> landscape mode and made width=device-height but no success.
> Screen image link is below:
> https://cloud.githubusercontent.com/assets/17248413/17167134/44cd6698-5390-11e6-8197-54a5e514e6ca.png
> Please let us know about its solution
> Thanks



--
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] [Issue Comment Deleted] (CB-11657) Windows app fails WACK test due to missing UTF BOM

2016-08-10 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-11657:
--
Comment: was deleted

(was: [~daserge], please disregard my previous comment)

> Windows app fails WACK test due to missing UTF BOM
> --
>
> Key: CB-11657
> URL: https://issues.apache.org/jira/browse/CB-11657
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: 4.4.2
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>  Labels: reproduced, triaged
> Fix For: 4.4.3
>
>
> After building app for store and running WACK it fails with the following 
> error:
> File encoding test
> FAILED
> UTF-8 file encoding
> Error Found: The UTF-8 file encoding test detected the following errors:
> File C:\Program 
> Files\WindowsApps\57757VladimirKotikov.CordovaTest123_1.1.0.0_x64__gpj6r6j8n5kcg\www\cordova_plugins.js
>  is not properly UTF-8 encoded. Re-save the file as UTF-8 (including Byte 
> Order Mark).
> Impact if not fixed: HTML, CSS, and JavaScript files must be encoded in UTF-8 
> form with a corresponding byte-order mark (BOM) in order to benefit from 
> bytecode caching and to avoid other runtime error conditions.
> How to fix: Open the affected file, and select "Save As..." option from the 
> File menu in Visual Studio. Select the drop-down control next to the Save 
> button and select "Save with Encoding..." option. From the Advanced save 
> options dialog, choose the "Unicode (UTF-8 with signature)" option and click 
> the OK button.



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

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



[jira] [Commented] (CB-10858) Cant access javascript native File function

2016-08-10 Thread JIRA

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

László Radics commented on CB-10858:


Basically its not a question but a major bug. Should I resubmit without 
question?
Plugin change the browser API !

> Cant access javascript native File function
> ---
>
> Key: CB-10858
> URL: https://issues.apache.org/jira/browse/CB-10858
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File
>Reporter: jose nuno neto
>Priority: Trivial
>  Labels: question, triaged
>
> I am using the cordova-plugin-file and need to create a File object with 
> javascript native function
> https://developer.mozilla.org/en/docs/Web/API/File
> But this plugin overrides that defenition.
> How can I use the plugin and still have acess to the native File function?



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