[jira] [Created] (CB-13818) Need to update android_sdk.js to Support Android 8.0

2018-01-22 Thread Zhao Bin (JIRA)
Zhao Bin created CB-13818:
-

 Summary: Need to update android_sdk.js to Support Android 8.0 
 Key: CB-13818
 URL: https://issues.apache.org/jira/browse/CB-13818
 Project: Apache Cordova
  Issue Type: Bug
  Components: cordova-android
Affects Versions: cordova-android-7.0.0
 Environment: Cordova 7.1.0

 
Reporter: Zhao Bin
Assignee: Joe Bowser
 Fix For: cordova-android-7.0.0
 Attachments: android_sdk.js error.png

Currently I am working on a Cordova project and I am migrating to the new 
Android 8.0 emulator.
Need to update android_sdk.js to add support for Android 8.0 emulator 

cordova-android / bin / templates / cordova / lib / android_sdk.js Line 53:
module.exports.version_string_to_api_level = {
    '4.0': 14,
    '4.0.3': 15,
    '4.1': 16,
    '4.2': 17,
    '4.3': 18,
    '4.4': 19,
    '4.4W': 20,
    '5.0': 21,
    '5.1': 22,
    '6.0': 23,
    '7.0': 24,
    '7.1.1': 25
};

This causes exception in emulator.js Line 210
{color:#5fdfff}var{color}{color:#dfdfdf} project_target 
{color}{color:#ff1f7f}={color}{color:#dfdfdf} 
check_reqs.{color}{color:#9fdf2f}get_target{color}{color:#dfdfdf}().{color}{color:#5fdfff}replace{color}{color:#dfdfdf}({color}{color:#dfdf7f}'android-'{color}{color:#dfdfdf},
 {color}{color:#dfdf7f}''{color}{color:#dfdfdf});{color}
 
{color:#33}I added '8.0': 26 in android_sdk.js and then it works.{color}
{color:#33}module.exports.version_string_to_api_level = {
    '4.0': 14,
    '4.0.3': 15,
    '4.1': 16,
    '4.2': 17,
    '4.3': 18,
    '4.4': 19,
    '4.4W': 20,
    '5.0': 21,
    '5.1': 22,
    '6.0': 23,
    '7.0': 24,
    '7.1.1': 25,{color}
{color:#33}    '8.0': 26 
};{color}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-13799) Cordova-Windows Platform Release January 19/20, 2018

2018-01-22 Thread ASF subversion and git services (JIRA)

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

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

Commit 00277c65ea54163c57a495f4fc51475996be66cb in cordova-windows's branch 
refs/heads/master from [~Sujan12]
[ https://gitbox.apache.org/repos/asf?p=cordova-windows.git;h=00277c6 ]

CB-13799 updated npm test for cordova-windows

similar to 
https://github.com/apache/cordova-cli/commit/3963506ef044f277aeb4e1b52d799415ca3deab7

> Cordova-Windows Platform Release January 19/20, 2018
> 
>
> Key: CB-13799
> URL: https://issues.apache.org/jira/browse/CB-13799
> Project: Apache Cordova
>  Issue Type: Task
>Reporter: Jan Piotrowski (Sujan)
>Priority: Major
>
> Following steps at 
> https://github.com/apache/cordova-coho/blob/master/docs/platforms-release-process.md



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-13799) Cordova-Windows Platform Release January 19/20, 2018

2018-01-22 Thread ASF subversion and git services (JIRA)

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

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

Commit 3ba0f1fe53c450c3fdadf8a9b3633e89f7529f9f in cordova-windows's branch 
refs/heads/master from [~Sujan12]
[ https://gitbox.apache.org/repos/asf?p=cordova-windows.git;h=3ba0f1f ]

Revert "CB-13799 Updated RELEASENOTES and Version for release 5.1.0"

This reverts commit de41d9adec32ef462c9da9b3caa5d4a4f9f55d1d.


> Cordova-Windows Platform Release January 19/20, 2018
> 
>
> Key: CB-13799
> URL: https://issues.apache.org/jira/browse/CB-13799
> Project: Apache Cordova
>  Issue Type: Task
>Reporter: Jan Piotrowski (Sujan)
>Priority: Major
>
> Following steps at 
> https://github.com/apache/cordova-coho/blob/master/docs/platforms-release-process.md



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-13799) Cordova-Windows Platform Release January 19/20, 2018

2018-01-22 Thread ASF subversion and git services (JIRA)

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

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

Commit 18eb64389700667608c0186da1e5112afc67e23e in cordova-windows's branch 
refs/heads/master from [~Sujan12]
[ https://gitbox.apache.org/repos/asf?p=cordova-windows.git;h=18eb643 ]

Revert "CB-13799 Updated checked-in node_modules"

This reverts commit dd91933d7030f6f0bb207a676968c4fdad9e3691.


> Cordova-Windows Platform Release January 19/20, 2018
> 
>
> Key: CB-13799
> URL: https://issues.apache.org/jira/browse/CB-13799
> Project: Apache Cordova
>  Issue Type: Task
>Reporter: Jan Piotrowski (Sujan)
>Priority: Major
>
> Following steps at 
> https://github.com/apache/cordova-coho/blob/master/docs/platforms-release-process.md



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Closed] (CB-13799) Cordova-Windows Platform Release January 19/20, 2018

2018-01-22 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) closed CB-13799.
---
Resolution: Won't Fix

Release cancelled, read more here:
https://lists.apache.org/thread.html/8fbe76b9e8714f68b7cd2e8ef352ac55101d1373b2f264f1de03d13a@%3Cdev.cordova.apache.org%3E

> Cordova-Windows Platform Release January 19/20, 2018
> 
>
> Key: CB-13799
> URL: https://issues.apache.org/jira/browse/CB-13799
> Project: Apache Cordova
>  Issue Type: Task
>Reporter: Jan Piotrowski (Sujan)
>Priority: Major
>
> Following steps at 
> https://github.com/apache/cordova-coho/blob/master/docs/platforms-release-process.md



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Updated] (CB-12453) "cordova run --list" throws error when there's a space in user name

2018-01-22 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) updated CB-12453:

Component/s: (was: cordova-windows)
 cordova-android

> "cordova run --list" throws error when there's a space in user name
> ---
>
> Key: CB-12453
> URL: https://issues.apache.org/jira/browse/CB-12453
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-android, cordova-cli
>Affects Versions: 6.4.0, 6.5.0
> Environment: Windows 10 64 bit, cordova version 6.5 (not in list?) CLI
>Reporter: Yousif Touma
>Priority: Major
>  Labels: cli, list-devices, windows10
>
> When trying to list available devices to run on, cordova throws an error if 
> the user has a space in user name



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-12380) [windows] backgroundMediaPlayback: need to be prefixed with uap

2018-01-22 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) commented on CB-12380:
-

Hi [~katzer], you seems to know quite a lot about that. Can you explain a bit 
more what needs to be done and why? Do other locations of the code have to be 
changed as well or only that list?

> [windows] backgroundMediaPlayback: need to be prefixed with uap
> ---
>
> Key: CB-12380
> URL: https://issues.apache.org/jira/browse/CB-12380
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-windows
> Environment: Windows 10 Anniversary Update (version 14393)
>Reporter: Sebastián Katzer
>Priority: Major
>
> Please add support for the new capability called "backgroundMediaPlayback".
> As the cap requires the uap-ns, please add it to the list.
> https://github.com/apache/cordova-windows/blob/e4e9573bd9be43b37dbd0c53b5c39c14ef2130da/template/cordova/lib/AppxManifest.js#L32
> The cap has been introduced with the Windows 10 Anniversary Update (version 
> 14393)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-12337) 'cordova emulate' errors if path contains symlink on Windows

2018-01-22 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) resolved CB-12337.
-
Resolution: Fixed

PR has been merged.

> 'cordova emulate' errors if path contains symlink on Windows
> 
>
> Key: CB-12337
> URL: https://issues.apache.org/jira/browse/CB-12337
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-cli, cordova-windows
>Affects Versions: 6.4.0
> Environment: Windows 10 x64
>Reporter: Sergey Zolotarev
>Priority: Minor
>  Labels: win64
>
> If you are inside a directory that was entered via a symlink (created via 
> mklink /D on Windows) cordova emulate android will fail with the following 
> error:
> Error: Source directory does not exist: 
> C:\Users\szx\Work\Projects\MyProject\E:\Work\Projects\MyProject\platforms\android\platform_www
> Here `C:\Users\szx\Work` is a symlink to `E:\Work`.
> It looks like it concatenate the source and destination paths.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-12192) No SplashScreen on Windows when content.src is subpage

2018-01-22 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) resolved CB-12192.
-
Resolution: Fixed

Fixed in 
https://github.com/apache/cordova-windows/commit/e4e9573bd9be43b37dbd0c53b5c39c14ef2130da

> No SplashScreen on Windows when content.src is subpage
> --
>
> Key: CB-12192
> URL: https://issues.apache.org/jira/browse/CB-12192
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-windows
>Reporter: Sergey Shakhnazarov
>Assignee: Sergey Shakhnazarov
>Priority: Major
>
> {{cordova plugin add cordova-plugin-test-framework}} 
> Switch config.xml content.src to {{cdvtests/index.html}} -> splashscreen will 
> not be shown as prebuild.js does not patch HTML adding base.js as regex fails 
> for {{../cordova.js}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-12044) Fix splashscreen image path for ms-appx on Windows

2018-01-22 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) resolved CB-12044.
-
Resolution: Fixed

PR was merged already.

> Fix splashscreen image path for ms-appx on Windows
> --
>
> Key: CB-12044
> URL: https://issues.apache.org/jira/browse/CB-12044
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-windows
>Reporter: Sergey Shakhnazarov
>Priority: Major
>  Labels: triaged, windows
>
> See steps in CB-12042 - splashscreen image will be missing on launch as it is 
> incorrectly sourced from ms-appx-web for Windows 10 projects
> {{CSP14312: Resource violated directive 'default-src 'self' data: gap: 
> https://ssl.gstatic.com 'unsafe-eval'' in  http-equiv="Content-Security-Policy">: 
> ms-appx-web://org.apache.cordova.test2/images/splashscreen.png?candidateIndex=0.
>  Resource will be blocked.}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-11622) Update outdated dependencies for cordova-windows

2018-01-22 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) resolved CB-11622.
-
Resolution: Fixed

This was taken care of in cordova-windows 5.0.0 and will be again in 6.0.0

> Update outdated dependencies for cordova-windows
> 
>
> Key: CB-11622
> URL: https://issues.apache.org/jira/browse/CB-11622
> Project: Apache Cordova
>  Issue Type: Task
>  Components: cordova-windows
>Affects Versions: 4.4.1
>Reporter: Vladimir Kotikov
>Priority: Major
>
> {{npm outdated}}:
> {noformat}
> cordova-common1.3.0   1.4.0   1.4.0  cordova-windows
> semver5.1.0   5.3.0   5.3.0  cordova-windows
> shelljs   0.5.3   0.5.3   0.7.2  cordova-windows
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-11542) Splashscreen not being dismissed when ActivationKind.fileSavePicker

2018-01-22 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) commented on CB-11542:
-

So `splashscreen.dismissed` is working on 8.1 but not Windows 10?

> Splashscreen not being dismissed when ActivationKind.fileSavePicker
> ---
>
> Key: CB-11542
> URL: https://issues.apache.org/jira/browse/CB-11542
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-windows
> Environment: Windows 10 desktop 10586.420, v1511, x64
>Reporter: Sergey Shakhnazarov
>Assignee: Sergey Shakhnazarov
>Priority: Major
>  Labels: triaged, windows
>
> {{splashscreen.dismissed}} event not being fired for this event type.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-11123) Cordova Windows Universal App websockets not working

2018-01-22 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) commented on CB-11123:
-

Did Paul's answer help [~chetana@gmail.com]?

> Cordova Windows Universal App websockets not working
> 
>
> Key: CB-11123
> URL: https://issues.apache.org/jira/browse/CB-11123
> Project: Apache Cordova
>  Issue Type: Wish
>  Components: cordova-windows
>Affects Versions: 3.5.0
> Environment: Windows 10
>Reporter: Chetana YIN
>Priority: Major
>  Labels: newbie
>
> I'm working on a mobile application build with Cordova, my server is using 
> WebSockets and is reachable in my App on iOS, but i want to use my client 
> side app on Windows 10, so i did an Apache Cordova Windows Universal App. 
> Problem is that the only way to make it work, is when i use the client on the 
> same computer as the server. I have access to internet (internet capabilities 
> already set up). Does anyone have an idea of what can block the access to 
> external websockets ? 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-10068) Reference to the underlying WebView/Browser Widget

2018-01-22 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) commented on CB-10068:
-

The template for the native app can be found here:
https://github.com/apache/cordova-windows/tree/master/template
There is nothing else afaik. A `StartPage` is set to `www/index.html` in the 
appxmanifest, which is the first site that is loaded.

> Reference to the underlying WebView/Browser Widget
> --
>
> Key: CB-10068
> URL: https://issues.apache.org/jira/browse/CB-10068
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: cordova-windows
>Affects Versions: 3.7.1
>Reporter: Swaroop
>Priority: Major
>
> Is there anyway to get the underlying WebView reference in the case of 
> Windows 8.1 Cordova? Having this will be useful to do a 
> What I am attempting is this
> 1) Download a ZIP of application bundle (html, css, js)
> 2) Extract to a data directory
> 3) Document.location "absolute path to data directory/index.html"
> This doesn't work and fails with the error 
> "The application can't use script to load the URL because the URL launches 
> another application. Only direct user interaction can launch another 
> application". 
> If there is a way to do a native Handle to call a NavigateToURL/Page API, 
> then there is a chance to bypass this error.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-9994) Do not create .appxupload packages for Windows builds

2018-01-22 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) commented on CB-9994:


[~purplecabbage], is this really "in progress"?

> Do not create .appxupload packages for Windows builds
> -
>
> Key: CB-9994
> URL: https://issues.apache.org/jira/browse/CB-9994
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: cordova-windows
> Environment: Windows Store Apps
>Reporter: Philipp Kursawe
>Assignee: Jesse MacFadyen
>Priority: Major
>  Labels: build, features, windows
>
> The CLI currently generates Windows Store Apps in a different way than 
> VisualStudio would do it.
> In Visual Studio no appx/appxupload packages are built in the normal build. 
> Instead VS copies/compiles all the files to a bld folder and deploys the app 
> from that folder. No signing cert required, dev cert is enough for that. It's 
> also a much faster build that way. If you only change one js files, the build 
> is basically instant, as well as the deployment because Windows does a binary 
> diff package update in the system. This is much faster than the current way 
> CLI builds Windows targets.
> There should be a CLI task "publish" to create the .appxupload package, they 
> should not be created on every build.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-9717) UnauthorizedAccessException when cordova run windows

2018-01-22 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) commented on CB-9717:


Is this still an issue?
What exact command are you running?

> UnauthorizedAccessException when cordova run windows
> 
>
> Key: CB-9717
> URL: https://issues.apache.org/jira/browse/CB-9717
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-windows
>Affects Versions: 5.3.2
> Environment: Windows 10
>Reporter: Ryan Edge
>Assignee: Nikhil Khandelwal
>Priority: Major
>
> When attempting to run cordova, I get an error installing the 
> *CordovaApp.Windows10_0.0.1.0_anycpu_debug.appx* file. This does not happen 
> in Visual Studio 2015.
> I have verified that my permissions for that file are the same regardless of 
> whether I'm using Visual Studio or the CLI, which leads me to believe VS2015 
> is doing some magic under the covers.
> The full error:
> {code}
> Get-AuthenticodeSignature : Access to the path 
> 'C:\Work\sandbox\cordova\hello\platforms\windows\AppPackages\CordovaApp.
> Windows10_0.0.1.0_anycpu_debug_Test\CordovaApp.Windows10_0.0.1.0_anycpu_debug.appx'
>  is denied.
> At 
> C:\Work\sandbox\cordova\hello\platforms\windows\AppPackages\CordovaApp.Windows10_0.0.1.0_anycpu_debug_Test\Add-AppDe
> vPackage.ps1:449 char:25
> + ...   $PackageSignature = Get-AuthenticodeSignature $DeveloperPackagePath
> +   ~~~
> + CategoryInfo  : NotSpecified: (:) [Get-AuthenticodeSignature], 
> UnauthorizedAccessException
> + FullyQualifiedErrorId : 
> System.UnauthorizedAccessException,Microsoft.PowerShell.Commands.GetAuthenticodeSignatur
>eCommand
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Closed] (CB-9357) InAppBrowser with AngularJS routing wipes out script on load

2018-01-22 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) closed CB-9357.
--
Resolution: Won't Fix

> InAppBrowser with AngularJS routing wipes out script on load
> 
>
> Key: CB-9357
> URL: https://issues.apache.org/jira/browse/CB-9357
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-windows
>Affects Versions: 5.0.1
> Environment: Cordova 5.0, Windows 8 Surface 3 Pro, AngularJS v1.3.15
>Reporter: David Powell
>Priority: Major
>  Labels: newbie
>
> I have a base index.html to act as a frame and I load content into an ng-view 
> area using routes.
> After I install and run InAppBrowser and load my app the screen is turned 
> white and I can see that the html on the page is wiped out. I do see the 
> content load for a split second though.
> I've attempted to run
> document.addEventListener("deviceready", onDeviceReady, false);
> function onDeviceReady() {
> console.log("window.open works well");
> delete window.open;
> }
> before any of my scripts run but it has no affect.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Updated] (CB-9285) Cordova application freezes if uploading a file through http proxy with ntlm authentication

2018-01-22 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) updated CB-9285:
---
Description: 
When uploading a file with Cordova Application through a http proxy with ntlm 
authentication, Cordova application freezes.
My machine is surface pro 3.
"uploading a file" means , I created a FormData and add blob to the formdata 
like this:

{code}

document.getElementById('thisfile').addEventListener('change', 
function () {
var imageFile = document.getElementById('thisfile').files[0];
var reader = new FileReader();
if (imageFile) {
reader.readAsDataURL(imageFile);
reader.onload = function () {
window.image = new Image();
window.image.src = reader.result;
};
}
});
document.getElementById('sendbutton').addEventListener('click', 
function () {
var formdata = new FormData();
var d = window.atob(window.image.src.split(',')[1]);
var buff = new ArrayBuffer(d.length);
var arr = new Uint8Array(buff);
var i, dataLen;
for (i = 0, dataLen = d.length; i < dataLen; i++) {
arr[i] = d.charCodeAt(i);
}
var blob = new Blob([arr], { type: 'image/jpg' });

formdata.append("image", blob, "foo.jpg");

var option = {
url: 
'http://someserver:8080/SomeApplication/service/SomeFunction',
data: formdata
};
var xmlHttpRequest = new XMLHttpRequest();
xmlHttpRequest.onreadystatechange = function () {
if (this.readyState == 4
 && this.status == 200) {
navigator.notification.alert(this.responseText);
} else {
navigator.notification.alert('Access Failed.');
}
}

xmlHttpRequest.open('POST', option.url, true);
xmlHttpRequest.send(option.data);
});


{code}

In the first place, to communicate with ntlm authentication proxy, request is 
threw 3 times.
First time, request is thrown with no request header 'proxy-authorization', 
then the server responses 407.
Second time,request is thrown with request header 'proxy-authorization', and 
this is authentication request, then the server responses 407, but this is 
called "challange".
Third time, challange is solved, request is thrown with complete request header 
'proxy-authorization' and succeed the authentication.

But...actually,
the second time of the request and response goes well, but the third time of 
the request is not thrown.
Then,application freezes.Even doing anything, there is no reaction.
All I can do is kill the process using TaskManager.
And this go well unless I add a file to the formdata, so I don't think my 
environment is corrupt.

Incidentally,If I look at the same script in IE11, this code will 
succeed.(Neatly requests are thrown three times, all is succeeded.)


  was:
When uploading a file with Cordova Application through a http proxy with ntlm 
authentication, Cordova application freezes.
My machine is surface pro 3.
"uploading a file" means , I created a FormData and add blob to the formdata 
like this:


document.getElementById('thisfile').addEventListener('change', 
function () {
var imageFile = document.getElementById('thisfile').files[0];
var reader = new FileReader();
if (imageFile) {
reader.readAsDataURL(imageFile);
reader.onload = function () {
window.image = new Image();
window.image.src = reader.result;
};
}
});
document.getElementById('sendbutton').addEventListener('click', 
function () {
var formdata = new FormData();
var d = window.atob(window.image.src.split(',')[1]);
var buff = new ArrayBuffer(d.length);
var arr = new Uint8Array(buff);
var i, dataLen;
for (i = 0, dataLen = d.length; i < dataLen; i++) {
arr[i] = d.charCodeAt(i);
}
var blob = new Blob([arr], { type: 'image/jpg' });

formdata.append("image", blob, "foo.jpg");

var option = {
url: 
'

[jira] [Commented] (CB-8673) Windows: Add a preference for initial allowable rotations

2018-01-22 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) commented on CB-8673:


> which presently don't kick in until plugins load.

What exactly does that mean? Can you describe the behaviour please?

> Windows: Add a preference for initial allowable rotations
> -
>
> Key: CB-8673
> URL: https://issues.apache.org/jira/browse/CB-8673
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: cordova-windows
>Reporter: Rob Paveza
>Priority: Minor
>
> Customers have said that they would like to set initial allowable rotation 
> preferences, which presently don't kick in until plugins load.  This would 
> add a Windows preference to add manifest properties of initial allowable 
> rotations.
>  value="Portrait,PortraitFlipped,Landscape" />



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Closed] (CB-8531) Windows XP and Windows native desktop apps support

2018-01-22 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) closed CB-8531.
--
Resolution: Won't Fix

`cordova-windows` supports Windows 8 and Windows 10 via UWP. 

This seems to be a request for another way to implement that, which might be 
very interesting. Best subscribe and contact the dev mailing list at 
https://cordova.apache.org/contact/ and describe your idea.

Closing this now as it is out of scope for cordova-windows.

> Windows XP and Windows native desktop apps support
> --
>
> Key: CB-8531
> URL: https://issues.apache.org/jira/browse/CB-8531
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: cordova-windows
> Environment: Native Windows Desktop apps
>Reporter: Shimmy
>Priority: Major
>   Original Estimate: 1,008h
>  Remaining Estimate: 1,008h
>
> Hi,
> Currently Apache Cordova compiles to Windows Store apps.
> Please implement support for Windows Desktop native apps, to work on all 
> platforms, from XP and on.
> There is [this|https://github.com/otcshare/cordova-win7] project going on 
> too, although not including XP.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-8515) Support DefaultLanguage selection for Windows

2018-01-22 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) resolved CB-8515.

Resolution: Fixed

Merged: https://github.com/apache/cordova-windows/pull/59

> Support DefaultLanguage selection for Windows
> -
>
> Key: CB-8515
> URL: https://issues.apache.org/jira/browse/CB-8515
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: cordova-windows
>Reporter: Murat Sutunc
>Priority: Major
>
> The widget spec (http://www.w3.org/TR/widgets/#the-defaultlocale-attribute) 
> supports "defaultlocale" attribute. 
> Cordova should set the appropriate project file attributes for Windows 8.0, 
> 8.1, and Windows Phone 8.1 using the W3C widget spec "defaultlocale" 
> attribute. 
> In the case widget is missing "defaultlocale" attribute, it should default to 
> "en-us".



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Closed] (CB-7975) Errant Behavior with AngularJS UI-Router with Cordova on Windows 8/8.1

2018-01-22 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) closed CB-7975.
--
Resolution: Won't Fix

Unfortunately this is pretty impossible to replicate today.
If this problem exists with modern tooling, please open a new issue.
Sorry.

> Errant Behavior with AngularJS UI-Router with Cordova on Windows 8/8.1 
> ---
>
> Key: CB-7975
> URL: https://issues.apache.org/jira/browse/CB-7975
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-windows
>Affects Versions: 3.5.0
> Environment: Windows 8.1 Pro, Visual Studio 2013 Pro, AngularJS 
> 1.2.26, UI-Router 0.2.11, npm installed, built with grunt, managed by bower
>Reporter: James Polenski
>Priority: Major
>  Labels: angularjs, windows8, windows81
> Fix For: Master
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> Not sure if this is a Cordova problem or a Windows problem. However, the 
> problem does not manifest on Android, iOS, or any desktop browser. The 
> Windows-built Cordova application injects extra head and body sections when 
> using ui-router to swap in content in a single-page application. These 
> multiple root nodes then proceed to cause issues in other Angular constructs.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-7919) Should have option to create Windows 8.1 desktop only (no phone)

2018-01-22 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) resolved CB-7919.

Resolution: Fixed

This is possible per the `appx` parameter: 
https://cordova.apache.org/docs/en/7.x/guide/platforms/win8/index.html#the---appx-parameter

> Should have option to create Windows 8.1 desktop only (no phone)
> 
>
> Key: CB-7919
> URL: https://issues.apache.org/jira/browse/CB-7919
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: cordova-windows
>Reporter: Sean Usick
>Priority: Major
>
> There should be a way to create only Windows 8.1 desktop project and no 
> phone.  This is useful when you are:
> - creating an app only targeting the desktop
> - doing integration testing, and you want to shorten build times.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-7852) Windows 8 filetransfer.spec.7 should be able to download file

2018-01-22 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) resolved CB-7852.

Resolution: Won't Fix

Plugin is deprecated, can also not find tests any more. Sorry.

> Windows 8 filetransfer.spec.7 should be able to download file
> -
>
> Key: CB-7852
> URL: https://issues.apache.org/jira/browse/CB-7852
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-mobile-spec, cordova-plugin-file-transfer 
> (DEPRECATED), cordova-windows
>Affects Versions: 3.6.3
> Environment: Windows 8
>"org.apache.cordova.file-transfer.tests": "0.4.7",
>Reporter: Angela Fowler
>Assignee: Jesse MacFadyen
>Priority: Minor
>
> The window.location.protocol is "ms:appx:" rather than "file:"
> org.apache.cordova.file-transfer.tests.tests >> FileTransfer download method 
> filetransfer.spec.7 should be able to download a file using file:// (when 
> hosted from file://)
> Expected 'ms-appx:///www/cdvtests/index.html' to match /^file:/.
> Error: Expected 'ms-appx:///www/cdvtests/index.html' to match /^file:/.
>at stack 
> (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:1292:11)
>at buildExpectationResult 
> (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:1264:5)
>at expectationResultFactory 
> (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:483:11)
>at Spec.prototype.addExpectationResult 
> (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:259:5)
>at addExpectationResult 
> (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:441:9)
>at Anonymous function 
> (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:1208:7)
>at Anonymous function 
> (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/plugins/org.apache.cordova.file-transfer.tests/tests.js:248:21)
>at Anonymous function 
> (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:289:9)
>at attemptAsync 
> (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:1519:9)
>at QueueRunner.prototype.run (ms-appx



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-7842) Windows 8 Manifest Cabilities in wrong order

2018-01-22 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) resolved CB-7842.

Resolution: Invalid

See Jesse's comment from 3 years ago :)

> Windows 8 Manifest Cabilities in wrong order
> 
>
> Key: CB-7842
> URL: https://issues.apache.org/jira/browse/CB-7842
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-mobile-spec, cordova-windows
>Affects Versions: 3.6.3
> Environment: Windows 8
>Reporter: Angela Fowler
>Assignee: Jesse MacFadyen
>Priority: Minor
>
> This seems to be described in https://issues.apache.org/jira/browse/CB-5350 
> which is resolved but still seems to be a problem in a project created with 
> createmobilespec.js.
> In the package.windows.appxmanifest the
>  tag needs to be before the  tags.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-7841) Windows 8 whitelist tests failing

2018-01-22 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) resolved CB-7841.

Resolution: Invalid

Tests are marked as pending on Windows:
https://github.com/apache/cordova-mobile-spec/blob/c29f54f7f937c71dfa35ee7b922bc3e1733e17e3/cordova-plugin-mobilespec-tests/tests/whitelist.tests.js#L47

> Windows 8 whitelist tests failing
> -
>
> Key: CB-7841
> URL: https://issues.apache.org/jira/browse/CB-7841
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-mobile-spec, cordova-windows
>Affects Versions: 3.6.3
> Environment: Windows 8
>Reporter: Angela Fowler
>Assignee: Jesse MacFadyen
>Priority: Minor
>
> 76 of 79 whitelist tests failing in project built with createmobilespec.js
> The plugin org.apache.cordova.test.whitelist
> whitelist.js match function contains
> exec(callback, callback, "WhitelistAPI", "URLMatchesPatterns", [url, 
> patterns]);
> There is no WhitelistAPI in the cordova.js exec command proxy map.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Closed] (CB-7796) file.spec.12 failing

2018-01-22 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) closed CB-7796.
--
Resolution: Cannot Reproduce

Can not find the test any more, sorry.

> file.spec.12 failing 
> -
>
> Key: CB-7796
> URL: https://issues.apache.org/jira/browse/CB-7796
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-mobile-spec, cordova-windows
>Affects Versions: 3.6.0, 3.6.3
> Environment: Windows RT
>Reporter: Angela Fowler
>Assignee: Jesse MacFadyen
>Priority: Minor
>
> This test is failing with NOT_FOUND_ERROR when ENCODING_ERROR was expected.
> It is failing here in FileProxy.js :
> // method should not let read files outside of the [APP 
> HASH]/Local or [APP HASH]/temp folders
> if (path.indexOf(msappdataTempPath) != 0 && 
> path.indexOf(msappdataLocalPath) != 0) {
> fail(FileError.NOT_FOUND_ERR);
> return;
> }
> Here is the test :
>expect(error).toBeFileError(FileError.ENCODING_ERR);



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Closed] (CB-7757) media.spec.15 unhandled exception on node play

2018-01-22 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) closed CB-7757.
--
Resolution: Cannot Reproduce

Unfortunately I can't find this test any more :/

> media.spec.15 unhandled exception on node play
> --
>
> Key: CB-7757
> URL: https://issues.apache.org/jira/browse/CB-7757
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-mobile-spec, cordova-windows
>Affects Versions: 3.6.3
> Environment: Visual Studio Express Emulator
>Reporter: Angela Fowler
>Assignee: Jesse MacFadyen
>Priority: Minor
>
> This spec calls badMedia.play for filename "invalid.file.name".
> In MediaProxy.js function startPlayingAudio node is undefined.
>  (Media.get(id)).node.play();
> Exception calling native with command :: Media :: startPlayingAudio 
> ::exception=TypeError: Unable to get property 'play' of undefined or null 
> reference
> SCRIPT5007: Unhandled exception at line 697, column 7 in 
> ms-appx://13fb9920-4f3e-11e4-b323-6b230e869311/www/cdvtests/jasmine-2.0.0/jasmine.js
> 0x800a138f - JavaScript runtime error: Unable to get property 'expect' of 
> undefined or null reference
> File: jasmine.js, Line: 697, Column: 7



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Closed] (CB-7755) media.spec.5 failing on MediaProxy create split

2018-01-22 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) closed CB-7755.
--
Resolution: Cannot Reproduce

I can't find this test any more :/

> media.spec.5 failing on MediaProxy create split
> ---
>
> Key: CB-7755
> URL: https://issues.apache.org/jira/browse/CB-7755
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-mobile-spec, cordova-windows
>Affects Versions: 3.6.3
> Environment: Visual Studio Express Emulator
>Reporter: Angela Fowler
>Assignee: Jesse MacFadyen
>Priority: Minor
>
> Running media.spec.5 etc fails creating a Media object with no arguments.
>  var media1 = new Media();
> The exception is "Unable to get property 'split' of undefined or null 
> reference".
> Here is the create function from MediaProxy.js :
> // Initiates the audio file
> create:function(win, lose, args) {
> var id = args[0];
> var src = args[1];
> ...
> var fn = src.split('.').pop(); // gets the file extension



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-7701) cordova-mobile-spec datauri.spec.1 unknown protocol

2018-01-22 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) resolved CB-7701.

Resolution: Fixed

This test is marked as pending on this platform:
https://github.com/apache/cordova-mobile-spec/blob/7a8101496703f780c20c9324c2c5bde3928ade60/cordova-plugin-mobilespec-tests/tests/datauri.tests.js#L42

> cordova-mobile-spec datauri.spec.1 unknown protocol
> ---
>
> Key: CB-7701
> URL: https://issues.apache.org/jira/browse/CB-7701
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-mobile-spec, cordova-windows
>Affects Versions: 3.6.3
> Environment: Windows 8.1
>Reporter: Angela Fowler
>Assignee: Jesse MacFadyen
>Priority: Minor
>
> datauri.spec.1 timed out waiting for iframe did not load
> The application couldn't navigate to 
> data:text/html;charset=utf-8,%3Chtml%3E%3Cscript%3Eparent.postMessage%28%27foo%27%2C%27%2A%27%29%3C%2Fscript%3E%3C%2Fhtml%3E
>  because of this error: UNKNOWN_PROTOCOL.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Closed] (CB-7449) Failed to add windows8 platform on Windows8.1

2018-01-22 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) closed CB-7449.
--
Resolution: Invalid

The paths indicate this is from another, deprecated platform so I am closing 
this as invalid.

> Failed to add windows8 platform on Windows8.1
> -
>
> Key: CB-7449
> URL: https://issues.apache.org/jira/browse/CB-7449
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-cli, cordova-windows
>Affects Versions: 3.5.0
> Environment: Windows8.1 x64 Pro
>Reporter: Shingo Toda
>Assignee: Jesse MacFadyen
>Priority: Major
>
> Failed to add windows8 platform by '{{cordova platform add windows8}}' on 
> Windows8.1 with error message that check_reqs.js is not found. But actually 
> check_reqs.js exists in {{C:\Users\ Name>\.cordova\lib\windows8\cordova\3.5.0\windows8\bin}}.
> It seems that it fails when user name contains a space. I tried it with local 
> user with no space (and not connected to Microsoft account) then this CLI 
> command worked fine.
> {panel:title=error message}
> C:\cordova-test>cordova platform add windows8
> Checking windows8 requirements...
> Requirements check failed: 4.0.30319
> ERROR: Could not find 'check_reqs.js' in 'bin' folder, aborting...
> C:\cordova-test>where cordova
> C:\Users\Shingo Toda\AppData\Roaming\npm\cordova
> C:\Users\Shingo Toda\AppData\Roaming\npm\cordova.cmd
> {panel}
> {panel:title=success case}
> C:\cordova-test>cordova platform add windows8
> Checking windows8 requirements...
> Creating windows8 project...
> Creating Cordova Windows 8 Project:
> App Name : HelloCordova
> Namespace : io.cordova.hellocordova
> Path : C:\cordova-test\platforms\windows8
> Project created
> C:\cordova-test>where cordova
> C:\Users\FAST\AppData\Roaming\npm\cordova
> C:\Users\FAST\AppData\Roaming\npm\cordova.cmd
> {panel}
> When a user creates account with Microsoft account on local environment, its 
> user name should have a space between given name and surname. If my guess is 
> correct,  I think many people would see this problem. Hence I put this 
> priority at Major.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Reopened] (CB-13791) Add Android support for a footer close button.

2018-01-22 Thread Dave Alden (JIRA)

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

Dave Alden reopened CB-13791:
-

As indicated above, this was prematurely closed because the PR is still open 
and has yet to be reviewed/merged/closed:

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

> Add Android support for a footer close button.
> --
>
> Key: CB-13791
> URL: https://issues.apache.org/jira/browse/CB-13791
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: cordova-plugin-inappbrowser
> Environment: Android
>Reporter: Dave Alden
>Priority: Minor
>  Labels: features, newbie
>
> Extending the work done in [PR 
> #246|https://github.com/apache/cordova-plugin-inappbrowser/pull/246] under 
> CB-13409, this adds support to Android for a footer close button similar to 
> the "Done" button on iOS.
> The following options are added for Android:
>  * *footer* - set to "yes" to show a close button in the footer similar to 
> the iOS "Done" button.
>  The close button will appear the same as for the header hence use 
> _closebuttoncaption_ and _closebuttoncolor_ to set its properties.
>  * *footercolor* - set to a valid hex color string, for example #00ff00 or 
> #CC00ff00 (#aarrggbb) , and it will change the footer color from default. 
> Only has effect if user has _footer_ set to "yes".
> Here are some example screenshots with the relevant options:
> _location=yes,footer=yes_
>  
> !https://user-images.githubusercontent.com/2345062/33147006-2a602f88-cfbe-11e7-9580-438b07236400.png|width=300!
> _location=no,footer=yes_
>  
> !https://user-images.githubusercontent.com/2345062/33147147-a60efaba-cfbe-11e7-8132-120179e8b43e.png|width=300!
> _location=yes,footer=yes,closebuttoncaption=Done_
>  
> !https://user-images.githubusercontent.com/2345062/33147185-ca8d1e6c-cfbe-11e7-9646-0e1cea52abce.png|width=300!
> _location=no,footer=yes,closebuttoncaption=Done,closebuttoncolor=#ff_
>  
> !https://user-images.githubusercontent.com/2345062/33147285-1aa7bc54-cfbf-11e7-9b9b-576f0d87ed9a.png|width=300!
> _location=no,footer=yes,footercolor=#ff,closebuttoncaption=Done_
>  
> !https://user-images.githubusercontent.com/2345062/33147316-3ab511fe-cfbf-11e7-8b19-d1de80ad289e.png|width=300!
> _location=no,footer=yes,footercolor=#00ff00,closebuttoncaption=Done,closebuttoncolor=#ff_
>  
> !https://user-images.githubusercontent.com/2345062/33147348-581b55c8-cfbf-11e7-9490-c61d83957079.png|width=300!
> _location=no,footer=yes,footercolor=#CC00,closebuttoncaption=Done,closebuttoncolor=#00_
>  
> !https://user-images.githubusercontent.com/2345062/33147377-6ec46c6a-cfbf-11e7-969e-a075142133c4.png|width=300!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-13510) Copy/Paste functionality is not working for iOS native components.

2018-01-22 Thread ASF subversion and git services (JIRA)

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

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

Commit 2e51796fa6d4acf5fecd17fe08bdfb1224761b8f in cordova-ios's branch 
refs/heads/master from [~ssraza.z]
[ https://gitbox.apache.org/repos/asf?p=cordova-ios.git;h=2e51796 ]

CB-13510: (iOS) Removed clipboard workaround, which was braking copy/paste 
functional iOS 11 (#352)

* Removed clipboard workaround, which was braking copy/paste functionality in 
iOS 11. CB-13510


> Copy/Paste functionality is not working for iOS native components.
> --
>
> Key: CB-13510
> URL: https://issues.apache.org/jira/browse/CB-13510
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
>Affects Versions: cordova-ios@4.4.0, cordova-ios 4.5.0
> Environment: iOS 11 and up... Not reproducible in iOS 10.x 
>Reporter: Aqeel Raza Syed
>Assignee: Suraj Pindoria
>Priority: Major
>
> With iOS11 upgrade Cordova-ios library is braking copy/paste functionality 
> for consumer apps utilizing both web and native UI. 
> *Steps to reproduce :*
> - Copy text to clipboard (e.g. Notes app)
> - Foreground consumer app (app must be running in background)
> - Paste clipboard text to native UI component (i.e. UITextField)
> *Expected:*
> - Text should be pasted on native UI component 
> *Actual:*
> - Nothing happens
> *Note:* This only happens with native UI components and works fine with Web 
> interface. Also once consumer app goes foreground, after backgrounding that 
> app, clipboard text can never be pasted in any other iOS app with native UI.
> *Investigation:*
> Seems like following patch fix is causing this issue in iOS 11:
> https://github.com/apache/cordova-ios/pull/139
> *Potential Fix:* Since above patch has been done a while ago, removing that 
> bit of code, doesn't seems to reintroduce original bug (i.e. 
> https://voxpelli.com/2015/03/ios-safari-url-copy-paste-bug/)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-13510) Copy/Paste functionality is not working for iOS native components.

2018-01-22 Thread ASF subversion and git services (JIRA)

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

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

Commit 2e51796fa6d4acf5fecd17fe08bdfb1224761b8f in cordova-ios's branch 
refs/heads/master from [~ssraza.z]
[ https://gitbox.apache.org/repos/asf?p=cordova-ios.git;h=2e51796 ]

CB-13510: (iOS) Removed clipboard workaround, which was braking copy/paste 
functional iOS 11 (#352)

* Removed clipboard workaround, which was braking copy/paste functionality in 
iOS 11. CB-13510


> Copy/Paste functionality is not working for iOS native components.
> --
>
> Key: CB-13510
> URL: https://issues.apache.org/jira/browse/CB-13510
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
>Affects Versions: cordova-ios@4.4.0, cordova-ios 4.5.0
> Environment: iOS 11 and up... Not reproducible in iOS 10.x 
>Reporter: Aqeel Raza Syed
>Assignee: Suraj Pindoria
>Priority: Major
>
> With iOS11 upgrade Cordova-ios library is braking copy/paste functionality 
> for consumer apps utilizing both web and native UI. 
> *Steps to reproduce :*
> - Copy text to clipboard (e.g. Notes app)
> - Foreground consumer app (app must be running in background)
> - Paste clipboard text to native UI component (i.e. UITextField)
> *Expected:*
> - Text should be pasted on native UI component 
> *Actual:*
> - Nothing happens
> *Note:* This only happens with native UI components and works fine with Web 
> interface. Also once consumer app goes foreground, after backgrounding that 
> app, clipboard text can never be pasted in any other iOS app with native UI.
> *Investigation:*
> Seems like following patch fix is causing this issue in iOS 11:
> https://github.com/apache/cordova-ios/pull/139
> *Potential Fix:* Since above patch has been done a while ago, removing that 
> bit of code, doesn't seems to reintroduce original bug (i.e. 
> https://voxpelli.com/2015/03/ios-safari-url-copy-paste-bug/)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Comment Edited] (CB-13817) UWP is the new UAP

2018-01-22 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) edited comment on CB-13817 at 1/22/18 5:08 PM:
--

Internally MS still uses `uap` in the `.appxmanifest` and `.jsproj`:
- 
https://docs.microsoft.com/en-us/uwp/schemas/appxpackage/uapmanifestschema/schema-root
 (search for `uap`)
- 
https://docs.microsoft.com/en-us/uwp/schemas/appxpackage/uapmanifestschema/element-uap-task
 (and similar)
- https://msdn.microsoft.com/en-us/library/mt148501.aspx (search for 
`TargetPlatformIdentifier`)
- 
https://docs.microsoft.com/en-us/uwp/schemas/appxpackage/uapmanifestschema/what-s-changed-in-windows-10

Cordova-windows would have to replace these things:
- `--appx=uap` param for the build command, and all its uses
- Rename `buildTools.getAvailableUAPVersions` and some test methods
- Docs

It wouldn't be too hard to keep the `appx=uap` as an alias to not break 
existing setups.


was (Author: sujan12):
Internally MS still uses `uap` in the `.appxmanifest` and `.jsproj`:
- 
https://docs.microsoft.com/en-us/uwp/schemas/appxpackage/uapmanifestschema/schema-root
 (search for `uap`)
- 
https://docs.microsoft.com/en-us/uwp/schemas/appxpackage/uapmanifestschema/element-uap-task
 (and similar)
- https://msdn.microsoft.com/en-us/library/mt148501.aspx (search for 
`TargetPlatformIdentifier`)

Cordova-windows would have to replace these things:
- `--appx=uap` param for the build command, and all its uses
- Rename `buildTools.getAvailableUAPVersions` and some test methods
- Docs

It wouldn't be too hard to keep the `appx=uap` as an alias to not break 
existing setups.

> UWP is the new UAP
> --
>
> Key: CB-13817
> URL: https://issues.apache.org/jira/browse/CB-13817
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-windows
>Reporter: Jan Piotrowski (Sujan)
>Assignee: Jesse MacFadyen
>Priority: Major
>
> Historically cordova-windows uses UAP to refer to the (now so called) 
> Universal Windows Platform. Now that everybody calls it UWP, it would make 
> sense to change the params and settings of cordova-windows to call it UWP as 
> well.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-13817) UWP is the new UAP

2018-01-22 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) commented on CB-13817:
-

Internally MS still uses `uap` in the `.appxmanifest` and `.jsproj`:
- 
https://docs.microsoft.com/en-us/uwp/schemas/appxpackage/uapmanifestschema/schema-root
 (search for `uap`)
- 
https://docs.microsoft.com/en-us/uwp/schemas/appxpackage/uapmanifestschema/element-uap-task
 (and similar)
- https://msdn.microsoft.com/en-us/library/mt148501.aspx (search for 
`TargetPlatformIdentifier`)

Cordova-windows would have to replace these things:
- `--appx=uap` param for the build command, and all its uses
- Rename `buildTools.getAvailableUAPVersions` and some test methods
- Docs

It wouldn't be too hard to keep the `appx=uap` as an alias to not break 
existing setups.

> UWP is the new UAP
> --
>
> Key: CB-13817
> URL: https://issues.apache.org/jira/browse/CB-13817
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-windows
>Reporter: Jan Piotrowski (Sujan)
>Assignee: Jesse MacFadyen
>Priority: Major
>
> Historically cordova-windows uses UAP to refer to the (now so called) 
> Universal Windows Platform. Now that everybody calls it UWP, it would make 
> sense to change the params and settings of cordova-windows to call it UWP as 
> well.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Created] (CB-13817) UWP is the new UAP

2018-01-22 Thread Jan Piotrowski (Sujan) (JIRA)
Jan Piotrowski (Sujan) created CB-13817:
---

 Summary: UWP is the new UAP
 Key: CB-13817
 URL: https://issues.apache.org/jira/browse/CB-13817
 Project: Apache Cordova
  Issue Type: Bug
  Components: cordova-windows
Reporter: Jan Piotrowski (Sujan)
Assignee: Jesse MacFadyen


Historically cordova-windows uses UAP to refer to the (now so called) Universal 
Windows Platform. Now that everybody calls it UWP, it would make sense to 
change the params and settings of cordova-windows to call it UWP as well.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-13795) cordova-plugin-camera. When click on browse image it return errors encountered while discovering extensions: Error Domain=PlugInKit Code=13 "query cancelled" UserInfo={NS

2018-01-22 Thread jcesarmobile (JIRA)

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

jcesarmobile commented on CB-13795:
---

What's the iOS version of the iPad pro? mine is the iPad pro 10,5" with iOS 
11.2.2.
Can you share the code you are using?

> cordova-plugin-camera. When click on browse image it return errors 
> encountered while discovering extensions: Error Domain=PlugInKit Code=13 
> "query cancelled" UserInfo={NSLocalizedDescription=query cancelled} on Ipad 
> pro.
> 
>
> Key: CB-13795
> URL: https://issues.apache.org/jira/browse/CB-13795
> Project: Apache Cordova
>  Issue Type: Bug
> Environment: ionic version 
> 3.19.0
> Cordova Version
> 6.0.0
> Cordova Plugin Camera 
> 2.1.1
>  
>Reporter: Zeeshan Aslam
>Priority: Major
>
> I am using *cordova-plugin-camera-2.1.1.*
> When click on Image in browser images list. it return
> *errors encountered while discovering extensions: Error Domain=PlugInKit 
> Code=13 "query cancelled" UserInfo=\{NSLocalizedDescription=query cancelled}*
> i already add '*NSLocalizedDescription*' in *info.plist*. 
> it is working on other iPhone. This is happening only on iPad pro.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-13795) cordova-plugin-camera. When click on browse image it return errors encountered while discovering extensions: Error Domain=PlugInKit Code=13 "query cancelled" UserInfo={NS

2018-01-22 Thread Zeeshan Aslam (JIRA)

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

Zeeshan Aslam commented on CB-13795:


on other i phones some time i am getting this message but i am also getting 
image, But on iPad Pro i am alway getting this message and not getting any 
image. This is happening every time on iPad Pro.

> cordova-plugin-camera. When click on browse image it return errors 
> encountered while discovering extensions: Error Domain=PlugInKit Code=13 
> "query cancelled" UserInfo={NSLocalizedDescription=query cancelled} on Ipad 
> pro.
> 
>
> Key: CB-13795
> URL: https://issues.apache.org/jira/browse/CB-13795
> Project: Apache Cordova
>  Issue Type: Bug
> Environment: ionic version 
> 3.19.0
> Cordova Version
> 6.0.0
> Cordova Plugin Camera 
> 2.1.1
>  
>Reporter: Zeeshan Aslam
>Priority: Major
>
> I am using *cordova-plugin-camera-2.1.1.*
> When click on Image in browser images list. it return
> *errors encountered while discovering extensions: Error Domain=PlugInKit 
> Code=13 "query cancelled" UserInfo=\{NSLocalizedDescription=query cancelled}*
> i already add '*NSLocalizedDescription*' in *info.plist*. 
> it is working on other iPhone. This is happening only on iPad pro.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Created] (CB-13816) Gray rectangle in statusbar if statusbar is hidden and device is rotated

2018-01-22 Thread Markus Wagner (JIRA)
Markus Wagner created CB-13816:
--

 Summary: Gray rectangle in statusbar if statusbar is hidden and 
device is rotated
 Key: CB-13816
 URL: https://issues.apache.org/jira/browse/CB-13816
 Project: Apache Cordova
  Issue Type: Bug
  Components: cordova-plugin-inappbrowser
Affects Versions: cordova-ios 4.5.0
Reporter: Markus Wagner
 Attachments: landscape.png, portrait.png

I have an app which hides the statusbar. And the InAppBrowser does neither have 
a toolbar nor a location. Everything is perfect, until I rotate the device from 
portrait to landscape mode. Then I see in the upper left corner a tray 
rectangle.

The debugger tells me that this is the UIToolbar, which has now a size of 
256x20 (on my iPad 2). If I rotate the device back to portrait, the UIToolbar 
has a size of (0x20) which means it is invisible.

I prepared a sample illustrating the problem: 
https://github.com/Ritzlgrmft/ionic-inappbrowser-demo.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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