[jira] [Commented] (CB-13949) cordova prepare doesn't install the correct plugin versions

2018-03-05 Thread Jesper van den Ende (JIRA)

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

Jesper van den Ende commented on CB-13949:
--

[~jcesarmobile] ah that makes sense, I wasn't aware that the ^ and ~ in front 
of versions are called save prefixes and actually have a purpose.

Thanks for the clarification :)

> cordova prepare doesn't install the correct plugin versions
> ---
>
> Key: CB-13949
> URL: https://issues.apache.org/jira/browse/CB-13949
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-cli
>Affects Versions: cordova@8.0.0
> Environment: Mac OS,
> Cordova 8.0.0
> npm 3.10.3
>Reporter: Jesper van den Ende
>Priority: Major
>  Labels: cordova-cli, plugin, prepare, version
>
> according to the documentation at 
> [https://cordova.apache.org/docs/en/latest/platform_plugin_versioning_ref/#plugin-versioning]
>  plugins should install the version from either config.xml or package.json. 
> However, the latest version is always installed instead.
> How to reproduce:
> {noformat}
> cordova create test
> cd test
> cordova platform add android
> cordova plugin add cordova-plugin-splashscreen@4.0.0{noformat}
> Note how
> {code:java}
> cordova plugin ls{code}
> Shows that version 4.0.0 is installed. Also config.xml and package.json both 
> indicate that 4.0.0 is installed.
> Now delete the 'platforms' and 'plugins' folder and run
> {noformat}
> cordova prepare{noformat}
> Note how config.xml and package.json still indicate that 4.0.0 installed, 
> however when running
> {noformat}
> cordova plugin ls{noformat}
> it shows
> {noformat}
> cordova-plugin-splashscreen 4.1.0 "Splashscreen"
> cordova-plugin-whitelist 1.3.3 "Whitelist"{noformat}
>  
>  perhaps I'm missing something, though my understanding is that when `cordova 
> prepare` is run, all plugins and platforms will be installed with their 
> version as listed in package.json and config.xml.
>  
> {noformat}
> cordova plugin rm cordova-plugin-splashscreen
> cordova plugin add cordova-plugin-splashscreen@4.0.0{noformat}
> Installs the correct version again, but that kind of defeats the purpose of 
> cordova prepare.



--
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-13949) cordova prepare doesn't install the correct plugin versions

2018-03-04 Thread Jesper van den Ende (JIRA)

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

Jesper van den Ende commented on CB-13949:
--

This seems to be caused by my config.xml and package.json having `^4.0.0` as 
version. Replacing that with `4.0.0` fixes the issue.

> cordova prepare doesn't install the correct plugin versions
> ---
>
> Key: CB-13949
> URL: https://issues.apache.org/jira/browse/CB-13949
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-cli
>Affects Versions: cordova@8.0.0
> Environment: Mac OS,
> Cordova 8.0.0
> npm 3.10.3
>Reporter: Jesper van den Ende
>Priority: Major
>  Labels: cordova-cli, plugin, prepare, version
>
> according to the documentation at 
> [https://cordova.apache.org/docs/en/latest/platform_plugin_versioning_ref/#plugin-versioning]
>  plugins should install the version from either config.xml or package.json. 
> However, the latest version is always installed instead.
> How to reproduce:
> {noformat}
> cordova create test
> cd test
> cordova platform add android
> cordova plugin add cordova-plugin-splashscreen@4.0.0{noformat}
> Note how
> {code:java}
> cordova plugin ls{code}
> Shows that version 4.0.0 is installed. Also config.xml and package.json both 
> indicate that 4.0.0 is installed.
> Now delete the 'platforms' and 'plugins' folder and run
> {noformat}
> cordova prepare{noformat}
> Note how config.xml and package.json still indicate that 4.0.0 installed, 
> however when running
> {noformat}
> cordova plugin ls{noformat}
> it shows
> {noformat}
> cordova-plugin-splashscreen 4.1.0 "Splashscreen"
> cordova-plugin-whitelist 1.3.3 "Whitelist"{noformat}
>  
>  perhaps I'm missing something, though my understanding is that when `cordova 
> prepare` is run, all plugins and platforms will be installed with their 
> version as listed in package.json and config.xml.
>  
> {noformat}
> cordova plugin rm cordova-plugin-splashscreen
> cordova plugin add cordova-plugin-splashscreen@4.0.0{noformat}
> Installs the correct version again, but that kind of defeats the purpose of 
> cordova prepare.



--
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-13949) cordova prepare doesn't install the correct plugin versions

2018-03-04 Thread Jesper van den Ende (JIRA)

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

Jesper van den Ende updated CB-13949:
-
Description: 
according to the documentation at 
[https://cordova.apache.org/docs/en/latest/platform_plugin_versioning_ref/#plugin-versioning]
 plugins should install the version from either config.xml or package.json. 
However, the latest version is always installed instead.

How to reproduce:
{noformat}
cordova create test
cd test
cordova platform add android
cordova plugin add cordova-plugin-splashscreen@4.0.0{noformat}
Note how
{code:java}
cordova plugin ls{code}
Shows that version 4.0.0 is installed. Also config.xml and package.json both 
indicate that 4.0.0 is installed.

Now delete the 'platforms' and 'plugins' folder and run
{noformat}
cordova prepare{noformat}
Note how config.xml and package.json still indicate that 4.0.0 installed, 
however when running
{noformat}
cordova plugin ls{noformat}
it shows
{noformat}
cordova-plugin-splashscreen 4.1.0 "Splashscreen"
cordova-plugin-whitelist 1.3.3 "Whitelist"{noformat}
 
 perhaps I'm missing something, though my understanding is that when `cordova 
prepare` is run, all plugins and platforms will be installed with their version 
as listed in package.json and config.xml.

 
{noformat}
cordova plugin rm cordova-plugin-splashscreen
cordova plugin add cordova-plugin-splashscreen@4.0.0{noformat}
Installs the correct version again, but that kind of defeats the purpose of 
cordova prepare.

  was:
according to the documentation at 
[https://cordova.apache.org/docs/en/latest/platform_plugin_versioning_ref/#plugin-versioning]
 plugins should install the version from either config.xml or package.json. 
However, the latest version is always installed instead.

How to reproduce:
{noformat}
cordova create test
cd test
cordova platform add android
cordova plugin add cordova-plugin-splashscreen@4.0.0{noformat}
Note how
{code:java}
cordova plugin ls{code}
Shows that version 4.0.0 is installed. Also config.xml and package.json both 
indicate that 4.0.0 is installed.

Now delete the 'platforms' and 'plugins' folder and run
{noformat}
cordova prepare{noformat}
Note how config.xml and package.json still indicate that 4.0.0 installed, 
however when running
{noformat}
cordova plugin ls{noformat}
it shows
{noformat}
cordova-plugin-splashscreen 4.1.0 "Splashscreen"
cordova-plugin-whitelist 1.3.3 "Whitelist"{noformat}
 
perhaps I'm missing something, though my understanding is that when `cordova 
prepare` is run, all plugins and platforms will be installed with their version 
as listed in package.json and config.xml.


> cordova prepare doesn't install the correct plugin versions
> ---
>
> Key: CB-13949
> URL: https://issues.apache.org/jira/browse/CB-13949
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-cli
>Affects Versions: cordova@8.0.0
> Environment: Mac OS,
> Cordova 8.0.0
> npm 3.10.3
>Reporter: Jesper van den Ende
>Priority: Major
>  Labels: cordova-cli, plugin, prepare, version
>
> according to the documentation at 
> [https://cordova.apache.org/docs/en/latest/platform_plugin_versioning_ref/#plugin-versioning]
>  plugins should install the version from either config.xml or package.json. 
> However, the latest version is always installed instead.
> How to reproduce:
> {noformat}
> cordova create test
> cd test
> cordova platform add android
> cordova plugin add cordova-plugin-splashscreen@4.0.0{noformat}
> Note how
> {code:java}
> cordova plugin ls{code}
> Shows that version 4.0.0 is installed. Also config.xml and package.json both 
> indicate that 4.0.0 is installed.
> Now delete the 'platforms' and 'plugins' folder and run
> {noformat}
> cordova prepare{noformat}
> Note how config.xml and package.json still indicate that 4.0.0 installed, 
> however when running
> {noformat}
> cordova plugin ls{noformat}
> it shows
> {noformat}
> cordova-plugin-splashscreen 4.1.0 "Splashscreen"
> cordova-plugin-whitelist 1.3.3 "Whitelist"{noformat}
>  
>  perhaps I'm missing something, though my understanding is that when `cordova 
> prepare` is run, all plugins and platforms will be installed with their 
> version as listed in package.json and config.xml.
>  
> {noformat}
> cordova plugin rm cordova-plugin-splashscreen
> cordova plugin add cordova-plugin-splashscreen@4.0.0{noformat}
> Installs the correct version again, but that kind of defeats the purpose of 
> cordova prepare.



--
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-13949) cordova prepare doesn't install the correct plugin versions

2018-03-04 Thread Jesper van den Ende (JIRA)
Jesper van den Ende created CB-13949:


 Summary: cordova prepare doesn't install the correct plugin 
versions
 Key: CB-13949
 URL: https://issues.apache.org/jira/browse/CB-13949
 Project: Apache Cordova
  Issue Type: Bug
  Components: cordova-cli
Affects Versions: cordova@8.0.0
 Environment: Mac OS,

Cordova 8.0.0

npm 3.10.3
Reporter: Jesper van den Ende


according to the documentation at 
[https://cordova.apache.org/docs/en/latest/platform_plugin_versioning_ref/#plugin-versioning]
 plugins should install the version from either config.xml or package.json. 
However, the latest version is always installed instead.

How to reproduce:
{noformat}
cordova create test
cd test
cordova platform add android
cordova plugin add cordova-plugin-splashscreen@4.0.0{noformat}
Note how
{code:java}
cordova plugin ls{code}
Shows that version 4.0.0 is installed. Also config.xml and package.json both 
indicate that 4.0.0 is installed.

Now delete the 'platforms' and 'plugins' folder and run
{noformat}
cordova prepare{noformat}
Note how config.xml and package.json still indicate that 4.0.0 installed, 
however when running
{noformat}
cordova plugin ls{noformat}
it shows
{noformat}
cordova-plugin-splashscreen 4.1.0 "Splashscreen"
cordova-plugin-whitelist 1.3.3 "Whitelist"{noformat}
 
perhaps I'm missing something, though my understanding is that when `cordova 
prepare` is run, all plugins and platforms will be installed with their version 
as listed in package.json and config.xml.



--
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-12886) white area where status bar is in iOS 11

2017-11-14 Thread Jesper van den Ende (JIRA)

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

Jesper van den Ende commented on CB-12886:
--

Hmm, It might be a WKWebView bug.
There's this one: http://www.openradar.me/35358020
And this one: http://www.openradar.me/32599304
although the last one is closed for some reason.

> white area where status bar is in iOS 11
> 
>
> Key: CB-12886
> URL: https://issues.apache.org/jira/browse/CB-12886
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
> Environment: iOS 11 beta 1
>Reporter: Shazron Abdullah
>  Labels: backlog, ios11
> Fix For: cordova-ios@5.0.0
>
> Attachments: ios11.png, screenshot-1.png, screenshot-2.png, 
> screenshot-3.png, screenshot-4.png, screenshot-5.png, screenshot-6.png
>
>
> See attached screenshot. Using WKWebView plugin, new app.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CB-12886) white area where status bar is in iOS 11

2017-11-14 Thread Jesper van den Ende (JIRA)

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

Jesper van den Ende commented on CB-12886:
--

Alright cool,
Let me know if you need any help. I was thinking of adding an extra preference 
option to the config.xml similar to the AllowBackForwardNavigationGestures but 
I'm not sure if you'd rather implement this yourself.
I don't think everyone wants to have this behaviour so I guess a preference 
would be nice.
Also check out [the ionic 
fork|https://github.com/ionic-team/cordova-plugin-wkwebview-engine/blob/0ba9a65318d3b951755d7455df2bc10670b03162/src/ios/CDVWKWebViewEngine.m#L202].
 Since that's basically where I got that line of code form. They have a bunch 
of extra guards and stuff.

> white area where status bar is in iOS 11
> 
>
> Key: CB-12886
> URL: https://issues.apache.org/jira/browse/CB-12886
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
> Environment: iOS 11 beta 1
>Reporter: Shazron Abdullah
>  Labels: backlog, ios11
> Fix For: cordova-ios@5.0.0
>
> Attachments: ios11.png, screenshot-1.png, screenshot-2.png, 
> screenshot-3.png, screenshot-4.png, screenshot-5.png, screenshot-6.png
>
>
> See attached screenshot. Using WKWebView plugin, new app.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Comment Edited] (CB-12886) white area where status bar is in iOS 11

2017-11-11 Thread Jesper van den Ende (JIRA)

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

Jesper van den Ende edited comment on CB-12886 at 11/11/17 4:14 PM:


Adding {code:none}
[wkWebView.scrollView setContentInsetAdjustmentBehavior: 
UIScrollViewContentInsetAdjustmentNever];
{code} in CDVWKWebViewEngine.m fixes the issue for me. But I believe this 
removes the need for `viewport-fit=cover` altogether and just sets it to 
`cover` by default. So this might not be the most elegant solution.


was (Author: jespertheend):
Adding {code:objective-c}
[wkWebView.scrollView setContentInsetAdjustmentBehavior: 
UIScrollViewContentInsetAdjustmentNever];
{code} in CDVWKWebViewEngine.m fixes the issue for me. But I believe this 
removes the need for `viewport-fit=cover` altogether and just sets it to 
`cover` by default. So this might not be the most elegant solution.

> white area where status bar is in iOS 11
> 
>
> Key: CB-12886
> URL: https://issues.apache.org/jira/browse/CB-12886
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
> Environment: iOS 11 beta 1
>Reporter: Shazron Abdullah
>  Labels: backlog, ios11
> Fix For: cordova-ios@5.0.0
>
> Attachments: ios11.png, screenshot-1.png, screenshot-2.png, 
> screenshot-3.png, screenshot-4.png, screenshot-5.png, screenshot-6.png
>
>
> See attached screenshot. Using WKWebView plugin, new app.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Comment Edited] (CB-12886) white area where status bar is in iOS 11

2017-11-11 Thread Jesper van den Ende (JIRA)

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

Jesper van den Ende edited comment on CB-12886 at 11/11/17 4:14 PM:


Adding {code:objective-c}
[wkWebView.scrollView setContentInsetAdjustmentBehavior: 
UIScrollViewContentInsetAdjustmentNever];
{code} in CDVWKWebViewEngine.m fixes the issue for me. But I believe this 
removes the need for `viewport-fit=cover` altogether and just sets it to 
`cover` by default. So this might not be the most elegant solution.


was (Author: jespertheend):
Adding `[wkWebView.scrollView setContentInsetAdjustmentBehavior: 
UIScrollViewContentInsetAdjustmentNever];` in `CDVWKWebViewEngine.m` fixes the 
issue for me. But I believe this removes the need for `viewport-fit=cover` 
altogether and just sets it to `cover` by default. So this might not be the 
most elegant solution.

> white area where status bar is in iOS 11
> 
>
> Key: CB-12886
> URL: https://issues.apache.org/jira/browse/CB-12886
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
> Environment: iOS 11 beta 1
>Reporter: Shazron Abdullah
>  Labels: backlog, ios11
> Fix For: cordova-ios@5.0.0
>
> Attachments: ios11.png, screenshot-1.png, screenshot-2.png, 
> screenshot-3.png, screenshot-4.png, screenshot-5.png, screenshot-6.png
>
>
> See attached screenshot. Using WKWebView plugin, new app.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CB-12886) white area where status bar is in iOS 11

2017-11-11 Thread Jesper van den Ende (JIRA)

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

Jesper van den Ende commented on CB-12886:
--

Adding `[wkWebView.scrollView setContentInsetAdjustmentBehavior: 
UIScrollViewContentInsetAdjustmentNever];` in `CDVWKWebViewEngine.m` fixes the 
issue for me. But I believe this removes the need for `viewport-fit=cover` 
altogether and just sets it to `cover` by default. So this might not be the 
most elegant solution.

> white area where status bar is in iOS 11
> 
>
> Key: CB-12886
> URL: https://issues.apache.org/jira/browse/CB-12886
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
> Environment: iOS 11 beta 1
>Reporter: Shazron Abdullah
>  Labels: backlog, ios11
> Fix For: cordova-ios@5.0.0
>
> Attachments: ios11.png, screenshot-1.png, screenshot-2.png, 
> screenshot-3.png, screenshot-4.png, screenshot-5.png, screenshot-6.png
>
>
> See attached screenshot. Using WKWebView plugin, new app.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CB-12886) white area where status bar is in iOS 11

2017-11-11 Thread Jesper van den Ende (JIRA)

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

Jesper van den Ende commented on CB-12886:
--

so it seems the splash screen issue is already completely fixed. I assumed the 
changes made in [pull 345|https://github.com/apache/cordova-ios/pull/345/files] 
were also included in cordova ios 4.5.3. So that explains why that issue is 
still happening to [~stripathix] and me.
Using `cordova platform add https://github.com/apache/cordova-ios.git` instead 
of `cordova platform add ios` fixed the splash screen issue for me.
The other one is still there though.

> white area where status bar is in iOS 11
> 
>
> Key: CB-12886
> URL: https://issues.apache.org/jira/browse/CB-12886
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
> Environment: iOS 11 beta 1
>Reporter: Shazron Abdullah
>  Labels: backlog, ios11
> Fix For: cordova-ios@5.0.0
>
> Attachments: ios11.png, screenshot-1.png, screenshot-2.png, 
> screenshot-3.png, screenshot-4.png, screenshot-5.png, screenshot-6.png
>
>
> See attached screenshot. Using WKWebView plugin, new app.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Comment Edited] (CB-12886) white area where status bar is in iOS 11

2017-11-11 Thread Jesper van den Ende (JIRA)

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

Jesper van den Ende edited comment on CB-12886 at 11/11/17 3:24 PM:


[~surajpindoria] I don't have any white in my launch image. This issue can 
easily be fixed in Xcode, but it would be nice if it had this setup by default. 
[Here's a video|https://youtu.be/1WeKPPc0jrg] showing the issue. Anyway the 
white border at the bottom of splash screens is completely unrelated to this 
issue. [CB-13505] (and [CB-13411]) are related to the splash screen issue.

This issue is about the white border with the size of the status bar that 
appears *after* the splash screen. [Here's a 
video|https://youtu.be/VUhUoYqtfMU] of this issue. This happens only with the 
wkwebview plugin and disappears after rotating the phone. Adding 
`viewport-fit=cover` in the viewport meta does not fix this.


was (Author: jespertheend):
[~surajpindoria] I don't have any white in my launch image. This issue can 
easily be fixed in Xcode, but it would be nice if it had this setup by default. 
[Here's a video|https://youtu.be/1WeKPPc0jrg] showing the issue. Anyway the 
white border at the bottom of splash screens is completely unrelated to this 
issue. [CB-13505] (and [CB-13411]) are related to the splash screen issue.

This issue is about the white border with the size of the status bar that 
appears *after* the splash screen. [Here's a 
video|https://youtu.be/VUhUoYqtfMU] of this issue. This happens only with the 
wkwebview plugin and disappears after rotating the phone. Adding 
`viewport-fit=cover` in the viewport meta does not fix this.

edit: so it seems the splash screen issue is already completely fixed. I 
assumed the changes made in [pull 
345|https://github.com/apache/cordova-ios/pull/345/files] were also included in 
cordova ios 4.5.3. So that explains why that issue is still happening to 
[~stripathix] and me.

> white area where status bar is in iOS 11
> 
>
> Key: CB-12886
> URL: https://issues.apache.org/jira/browse/CB-12886
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
> Environment: iOS 11 beta 1
>Reporter: Shazron Abdullah
>  Labels: backlog, ios11
> Fix For: cordova-ios@5.0.0
>
> Attachments: ios11.png, screenshot-1.png, screenshot-2.png, 
> screenshot-3.png, screenshot-4.png, screenshot-5.png, screenshot-6.png
>
>
> See attached screenshot. Using WKWebView plugin, new app.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Comment Edited] (CB-12886) white area where status bar is in iOS 11

2017-11-11 Thread Jesper van den Ende (JIRA)

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

Jesper van den Ende edited comment on CB-12886 at 11/11/17 3:17 PM:


[~surajpindoria] I don't have any white in my launch image. This issue can 
easily be fixed in Xcode, but it would be nice if it had this setup by default. 
[Here's a video|https://youtu.be/1WeKPPc0jrg] showing the issue. Anyway the 
white border at the bottom of splash screens is completely unrelated to this 
issue. [CB-13505] (and [CB-13411]) are related to the splash screen issue.

This issue is about the white border with the size of the status bar that 
appears *after* the splash screen. [Here's a 
video|https://youtu.be/VUhUoYqtfMU] of this issue. This happens only with the 
wkwebview plugin and disappears after rotating the phone. Adding 
`viewport-fit=cover` in the viewport meta does not fix this.

edit: so it seems the splash screen issue is already completely fixed. I 
assumed the changes made in [pull 
345|https://github.com/apache/cordova-ios/pull/345/files] were also included in 
cordova ios 4.5.3. So that explains why that issue is still happening to 
[~stripathix] and me.


was (Author: jespertheend):
[~surajpindoria] I don't have any white in my launch image. This issue can 
easily be fixed in Xcode, but it would be nice if it had this setup by default. 
[Here's a video|https://youtu.be/1WeKPPc0jrg] showing the issue. Anyway the 
white border at the bottom of splash screens is completely unrelated to this 
issue. [CB-13505] (and [CB-13411]) are related to the splash screen issue.

This issue is about the white border with the size of the status bar that 
appears *after* the splash screen. [Here's a 
video|https://youtu.be/VUhUoYqtfMU] of this issue. This happens only with the 
wkwebview plugin and disappears after rotating the phone. Adding 
`viewport-fit=cover` in the viewport meta does not fix this.

edit: so it seems the splash screen issue is already completely fixed. I 
assumed the changes made in [pull 
345|https://github.com/apache/cordova-ios/pull/345/files] were also included in 
cordova ios 4.5.3. So that explains why that issue is still happening for me.

> white area where status bar is in iOS 11
> 
>
> Key: CB-12886
> URL: https://issues.apache.org/jira/browse/CB-12886
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
> Environment: iOS 11 beta 1
>Reporter: Shazron Abdullah
>  Labels: backlog, ios11
> Fix For: cordova-ios@5.0.0
>
> Attachments: ios11.png, screenshot-1.png, screenshot-2.png, 
> screenshot-3.png, screenshot-4.png, screenshot-5.png, screenshot-6.png
>
>
> See attached screenshot. Using WKWebView plugin, new app.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Comment Edited] (CB-12886) white area where status bar is in iOS 11

2017-11-11 Thread Jesper van den Ende (JIRA)

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

Jesper van den Ende edited comment on CB-12886 at 11/11/17 3:16 PM:


[~surajpindoria] I don't have any white in my launch image. This issue can 
easily be fixed in Xcode, but it would be nice if it had this setup by default. 
[Here's a video|https://youtu.be/1WeKPPc0jrg] showing the issue. Anyway the 
white border at the bottom of splash screens is completely unrelated to this 
issue. [CB-13505] (and [CB-13411]) are related to the splash screen issue.

This issue is about the white border with the size of the status bar that 
appears *after* the splash screen. [Here's a 
video|https://youtu.be/VUhUoYqtfMU] of this issue. This happens only with the 
wkwebview plugin and disappears after rotating the phone. Adding 
`viewport-fit=cover` in the viewport meta does not fix this.

edit: so it seems the splash screen issue is already completely fixed. I 
assumed the changes made in [pull 
345|https://github.com/apache/cordova-ios/pull/345/files] were also included in 
cordova ios 4.5.3. So that explains why that issue is still happening for me.


was (Author: jespertheend):
[~surajpindoria] I don't have any white in my launch image. This issue can 
easily be fixed in Xcode, but it would be nice if it had this setup by default. 
[Here's a video|https://youtu.be/1WeKPPc0jrg] showing the issue. Anyway the 
white border at the bottom of splash screens is completely unrelated to this 
issue. [CB-13505] (and [CB-13411]) are related to the splash screen issue.

This issue is about the white border with the size of the status bar that 
appears *after* the splash screen. [Here's a 
video|https://youtu.be/VUhUoYqtfMU] of this issue. This happens only with the 
wkwebview plugin and disappears after rotating the phone. Adding 
`viewport-fit=cover` in the viewport meta does not fix this.

> white area where status bar is in iOS 11
> 
>
> Key: CB-12886
> URL: https://issues.apache.org/jira/browse/CB-12886
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
> Environment: iOS 11 beta 1
>Reporter: Shazron Abdullah
>  Labels: backlog, ios11
> Fix For: cordova-ios@5.0.0
>
> Attachments: ios11.png, screenshot-1.png, screenshot-2.png, 
> screenshot-3.png, screenshot-4.png, screenshot-5.png, screenshot-6.png
>
>
> See attached screenshot. Using WKWebView plugin, new app.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Comment Edited] (CB-12886) white area where status bar is in iOS 11

2017-11-11 Thread Jesper van den Ende (JIRA)

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

Jesper van den Ende edited comment on CB-12886 at 11/11/17 1:44 PM:


[~surajpindoria] I don't have any white in my launch image. This issue can 
easily be fixed in Xcode, but it would be nice if it had this setup by default. 
[Here's a video|https://youtu.be/1WeKPPc0jrg] showing the issue. Anyway the 
white border at the bottom of splash screens is completely unrelated to this 
issue. [CB-13505] (and [CB-13411]) are related to the splash screen issue.

This issue is about the white border with the size of the status bar that 
appears *after* the splash screen. [Here's a 
video|https://youtu.be/VUhUoYqtfMU] of this issue. This happens only with the 
wkwebview plugin and disappears after rotating the phone. Adding 
`viewport-fit=cover` in the viewport meta does not fix this.


was (Author: jespertheend):
[~surajpindoria] I don't have any white in my launch image. This issue can 
easily be fixed in Xcode, but it would be nice if it had this setup by default. 
[Here's a video|https://youtu.be/1WeKPPc0jrg] showing the issue. Anyway the 
white border at the bottom of splash screens is completely unrelated to this 
issue. [CB-13505] (and [CB-13411]) are related to the splash screen issue.

This issue is about the white border with the size of the status bar that 
appears *after* the splash screen. [Here's a 
video|https://youtu.be/VUhUoYqtfMU] of this issue. This happens *only* with the 
wkwebview plugin and disappears after rotating the phone. Adding 
`viewport-fit=cover` in the viewport meta does not fix this.

> white area where status bar is in iOS 11
> 
>
> Key: CB-12886
> URL: https://issues.apache.org/jira/browse/CB-12886
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
> Environment: iOS 11 beta 1
>Reporter: Shazron Abdullah
>  Labels: backlog, ios11
> Fix For: cordova-ios@5.0.0
>
> Attachments: ios11.png, screenshot-1.png, screenshot-2.png, 
> screenshot-3.png, screenshot-4.png, screenshot-5.png, screenshot-6.png
>
>
> See attached screenshot. Using WKWebView plugin, new app.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CB-12886) white area where status bar is in iOS 11

2017-11-11 Thread Jesper van den Ende (JIRA)

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

Jesper van den Ende commented on CB-12886:
--

[~surajpindoria] I don't have any white in my launch image. This issue can 
easily be fixed in Xcode, but it would be nice if it had this setup by default. 
[Here's a video|https://youtu.be/1WeKPPc0jrg] showing the issue. Anyway the 
white border at the bottom of splash screens is completely unrelated to this 
issue. [CB-13505] (and [CB-13411]) are related to the splash screen issue.

This issue is about the white border with the size of the status bar that 
appears *after* the splash screen. [Here's a 
video|https://youtu.be/VUhUoYqtfMU] of this issue. This happens *only* with the 
wkwebview plugin and disappears after rotating the phone. Adding 
`viewport-fit=cover` in the viewport meta does not fix this.

> white area where status bar is in iOS 11
> 
>
> Key: CB-12886
> URL: https://issues.apache.org/jira/browse/CB-12886
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
> Environment: iOS 11 beta 1
>Reporter: Shazron Abdullah
>  Labels: backlog, ios11
> Fix For: cordova-ios@5.0.0
>
> Attachments: ios11.png, screenshot-1.png, screenshot-2.png, 
> screenshot-3.png, screenshot-4.png, screenshot-5.png, screenshot-6.png
>
>
> See attached screenshot. Using WKWebView plugin, new app.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CB-12886) white area where status bar is in iOS 11

2017-11-10 Thread Jesper van den Ende (JIRA)

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

Jesper van den Ende commented on CB-12886:
--

I have one 10x10 image with a solid color called 
`Default@3x~universal~anyany.png`
It used to be `@2x` but I had to rename it to `@3x` in order to prevent the 
black borders on iPhone X.
Am I missing something? I feel like `Default@3x~universal~anyany.png` should 
work in all cases.

> white area where status bar is in iOS 11
> 
>
> Key: CB-12886
> URL: https://issues.apache.org/jira/browse/CB-12886
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
> Environment: iOS 11 beta 1
>Reporter: Shazron Abdullah
>  Labels: backlog, ios11
> Fix For: cordova-ios@5.0.0
>
> Attachments: ios11.png, screenshot-1.png, screenshot-2.png, 
> screenshot-3.png, screenshot-4.png, screenshot-5.png
>
>
> See attached screenshot. Using WKWebView plugin, new app.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CB-12886) white area where status bar is in iOS 11

2017-11-10 Thread Jesper van den Ende (JIRA)

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

Jesper van den Ende commented on CB-12886:
--

I'm having the exact same version numbers but for me it's not working on either 
iPhone 8 or X.

I have a white border at the bottom during the splash screen on iPhone X, and a 
white border in the application at the bottom about the size of the status bar.
This white border disappears when changing the device orientation.

> white area where status bar is in iOS 11
> 
>
> Key: CB-12886
> URL: https://issues.apache.org/jira/browse/CB-12886
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
> Environment: iOS 11 beta 1
>Reporter: Shazron Abdullah
>  Labels: backlog, ios11
> Fix For: cordova-ios@5.0.0
>
> Attachments: ios11.png, screenshot-1.png, screenshot-2.png, 
> screenshot-3.png, screenshot-4.png, screenshot-5.png
>
>
> See attached screenshot. Using WKWebView plugin, new app.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CB-13448) css safe-area-inset-top is 20px on non-iPhone X landscape

2017-11-05 Thread Jesper van den Ende (JIRA)

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

Jesper van den Ende commented on CB-13448:
--

This seems to be a [webkit 
bug|https://github.com/lionheart/openradar-mirror/issues/18415].
Using the [wk webview 
plugin|https://github.com/apache/cordova-plugin-wkwebview-engine] is a 
workaround but comes with its own issues. This seems to be the best option 
right now, for me at least.

> css safe-area-inset-top is 20px on non-iPhone X landscape
> -
>
> Key: CB-13448
> URL: https://issues.apache.org/jira/browse/CB-13448
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios, cordova-plugin-statusbar
>Affects Versions: cordova-ios@4.5.1
> Environment: iPhone 7, iOS 11.0.3
>Reporter: Jesper van den Ende
>Assignee: Suraj Pindoria
>
> the css constant 'safe-area-inset-top' appears to be correct in the iPhone X 
> simulator.
> On other devices running on iOS 11 however, it seems to be returning 
> incorrect values.
> I'm getting 20px when holding my iPhone 7 in landscape, and 0px when holding 
> my phone in portrait.
> This seems incorrect to me since the status bar is hidden in landscape, and 
> visible in portrait. So I'd expect it to be the other way around, 20px in 
> portrait and 0px in landscape.
> In these screenshots I've created a square with css rule `top: 
> constant(safe-area-inset-top);`
> portrait:
> !https://i.imgur.com/bkweyB4.png!
> landscape:
> !https://i.imgur.com/i9VdpjD.png!



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CB-13448) css safe-area-inset-top is 20px on non-iPhone X landscape

2017-10-18 Thread Jesper van den Ende (JIRA)

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

Jesper van den Ende commented on CB-13448:
--

It seems like it's not just the safe-area-top that is affected, all four of 
them are a bit weird. Here are some screenshots: https://imgur.com/a/U4xHD
It could also very well be caused by the wonky simulator, I've found a bunch of 
other non cordova related bugs as well and the latest available iOS version for 
the simulator is currently 11.0

> css safe-area-inset-top is 20px on non-iPhone X landscape
> -
>
> Key: CB-13448
> URL: https://issues.apache.org/jira/browse/CB-13448
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios, cordova-plugin-statusbar
>Affects Versions: cordova-ios@4.5.1
> Environment: iPhone 7, iOS 11.0.3
>Reporter: Jesper van den Ende
>Assignee: Suraj Pindoria
>
> the css constant 'safe-area-inset-top' appears to be correct in the iPhone X 
> simulator.
> On other devices running on iOS 11 however, it seems to be returning 
> incorrect values.
> I'm getting 20px when holding my iPhone 7 in landscape, and 0px when holding 
> my phone in portrait.
> This seems incorrect to me since the status bar is hidden in landscape, and 
> visible in portrait. So I'd expect it to be the other way around, 20px in 
> portrait and 0px in landscape.
> In these screenshots I've created a square with css rule `top: 
> constant(safe-area-inset-top);`
> portrait:
> !https://i.imgur.com/bkweyB4.png!
> landscape:
> !https://i.imgur.com/i9VdpjD.png!



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CB-13448) css safe-area-inset-top is 20px on non-iPhone X landscape

2017-10-16 Thread Jesper van den Ende (JIRA)

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

Jesper van den Ende commented on CB-13448:
--

Ah sorry, I forgot to mention that.
Yes I do have viewport-fit=cover in my meta tag.
In mobile safari constant(safe-area-inset-top) is always 0px, regardless of the 
orientation.

> css safe-area-inset-top is 20px on non-iPhone X landscape
> -
>
> Key: CB-13448
> URL: https://issues.apache.org/jira/browse/CB-13448
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios, cordova-plugin-statusbar
>Affects Versions: cordova-ios@4.5.1
> Environment: iPhone 7, iOS 11.0.3
>Reporter: Jesper van den Ende
>Assignee: Suraj Pindoria
>
> the css constant 'safe-area-inset-top' appears to be correct in the iPhone X 
> simulator.
> On other devices running on iOS 11 however, it seems to be returning 
> incorrect values.
> I'm getting 20px when holding my iPhone 7 in landscape, and 0px when holding 
> my phone in portrait.
> This seems incorrect to me since the status bar is hidden in landscape, and 
> visible in portrait. So I'd expect it to be the other way around, 20px in 
> portrait and 0px in landscape.
> In these screenshots I've created a square with css rule `top: 
> constant(safe-area-inset-top);`
> portrait:
> !https://i.imgur.com/bkweyB4.png!
> landscape:
> !https://i.imgur.com/i9VdpjD.png!



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (CB-13448) css safe-area-inset-top is 20px on non-iPhone X landscape

2017-10-16 Thread Jesper van den Ende (JIRA)

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

Jesper van den Ende updated CB-13448:
-
Description: 
the css constant 'safe-area-inset-top' appears to be correct in the iPhone X 
simulator.
On other devices running on iOS 11 however, it seems to be returning incorrect 
values.
I'm getting 20px when holding my iPhone 7 in landscape, and 0px when holding my 
phone in portrait.
This seems incorrect to me since the status bar is hidden in landscape, and 
visible in portrait. So I'd expect it to be the other way around, 20px in 
portrait and 0px in landscape.

In these screenshots I've created a square with css rule `top: 
constant(safe-area-inset-top);`
portrait:
!https://i.imgur.com/bkweyB4.png!
landscape:
!https://i.imgur.com/i9VdpjD.png!

  was:
the css constant 'safe-area-inset-top' appears to be correct in the iPhone X 
simulator.
On other devices running on iOS 11 however, it seems to be returning incorrect 
values.
I'm getting 20px when holding my iPhone 7 in landscape, and 0px when holding my 
phone in portrait.
This seems incorrect to me since the status bar is hidden in landscape, and 
visible in portrait. So I'd expect it to be the other way around, 20px in 
portrait and 0px in landscape.

In these screenshots I've created a square with css rule `top: 
constant(--safe-area-inset-top);`
portrait:
!https://i.imgur.com/bkweyB4.png!
landscape:
!https://i.imgur.com/i9VdpjD.png!


> css safe-area-inset-top is 20px on non-iPhone X landscape
> -
>
> Key: CB-13448
> URL: https://issues.apache.org/jira/browse/CB-13448
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios, cordova-plugin-statusbar
>Affects Versions: cordova-ios@4.5.1
> Environment: iPhone 7, iOS 11.0.3
>Reporter: Jesper van den Ende
>Assignee: Suraj Pindoria
>
> the css constant 'safe-area-inset-top' appears to be correct in the iPhone X 
> simulator.
> On other devices running on iOS 11 however, it seems to be returning 
> incorrect values.
> I'm getting 20px when holding my iPhone 7 in landscape, and 0px when holding 
> my phone in portrait.
> This seems incorrect to me since the status bar is hidden in landscape, and 
> visible in portrait. So I'd expect it to be the other way around, 20px in 
> portrait and 0px in landscape.
> In these screenshots I've created a square with css rule `top: 
> constant(safe-area-inset-top);`
> portrait:
> !https://i.imgur.com/bkweyB4.png!
> landscape:
> !https://i.imgur.com/i9VdpjD.png!



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (CB-13448) css safe-area-inset-top is 20px on non-iPhone X landscape

2017-10-15 Thread Jesper van den Ende (JIRA)

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

Jesper van den Ende updated CB-13448:
-
Description: 
the css constant 'safe-area-inset-top' appears to be correct in the iPhone X 
simulator.
On other devices running on iOS 11 however, it seems to be returning incorrect 
values.
I'm getting 20px when holding my iPhone 7 in landscape, and 0px when holding my 
phone in portrait.
This seems incorrect to me since the status bar is hidden in landscape, and 
visible in portrait. So I'd expect it to be the other way around, 20px in 
portrait and 0px in landscape.

In these screenshots I've created a square with css rule `top: 
constant(--safe-area-inset-top);`
portrait:
!https://i.imgur.com/bkweyB4.png!
landscape:
!https://i.imgur.com/i9VdpjD.png!

  was:
the css constant 'safe-area-inset-top' appears to be correct in the iPhone X 
simulator.
On other devices running on iOS 11 however, it seems to be returning incorrect 
values.
I'm getting 20px when holding my iPhone 7 in landscape, and 0px when holding my 
phone in portrait.
This seems incorrect to me since the status bar is hidden in landscape, and 
visible in portrait. So I'd expect it to be the other way around, 20px in 
portrait and 0px in landscape.

In these screenshots I've created a square with css rule `top: 
constant(--safe-area-inset-top);`
portrait:
!https://i.imgur.com/nv3dzxo.png!
landscape:
!https://i.imgur.com/ACZaSEw.png!


> css safe-area-inset-top is 20px on non-iPhone X landscape
> -
>
> Key: CB-13448
> URL: https://issues.apache.org/jira/browse/CB-13448
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios, cordova-plugin-statusbar
>Affects Versions: cordova-ios@4.5.1
> Environment: iPhone 7, iOS 11.0.3
>Reporter: Jesper van den Ende
>Assignee: Suraj Pindoria
>
> the css constant 'safe-area-inset-top' appears to be correct in the iPhone X 
> simulator.
> On other devices running on iOS 11 however, it seems to be returning 
> incorrect values.
> I'm getting 20px when holding my iPhone 7 in landscape, and 0px when holding 
> my phone in portrait.
> This seems incorrect to me since the status bar is hidden in landscape, and 
> visible in portrait. So I'd expect it to be the other way around, 20px in 
> portrait and 0px in landscape.
> In these screenshots I've created a square with css rule `top: 
> constant(--safe-area-inset-top);`
> portrait:
> !https://i.imgur.com/bkweyB4.png!
> landscape:
> !https://i.imgur.com/i9VdpjD.png!



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (CB-13448) css safe-area-inset-top is 20px on non-iPhone X landscape

2017-10-15 Thread Jesper van den Ende (JIRA)

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

Jesper van den Ende updated CB-13448:
-
Description: 
the css constant 'safe-area-inset-top' appears to be correct in the iPhone X 
simulator.
On other devices running on iOS 11 however, it seems to be returning incorrect 
values.
I'm getting 20px when holding my iPhone 7 in landscape, and 0px when holding my 
phone in portrait.
This seems incorrect to me since the status bar is hidden in landscape, and 
visible in portrait. So I'd expect it to be the other way around, 20px in 
portrait and 0px in landscape.

In these screenshots I've created a square with css rule `top: 
constant(--safe-area-inset-top);`
portrait:
!https://i.imgur.com/nv3dzxo.png!
landscape:
!https://i.imgur.com/ACZaSEw.png!

  was:
the css constant 'safe-area-inset-top' appears to be correct in the iPhone X 
simulator.
On other devices running on iOS 11 however, it seems to be returning incorrect 
values.
I'm getting 20px when holding my iPhone 7 in landscape, and 0px when holding my 
phone in portrait.
This seems incorrect to me since the status bar is hidden in landscape, and 
visible in portrait. So I'd expect it to be the other way around, 20px in 
portrait and 0px in landscape.

In the screenshots I've created a square with css rule `top: 
constant(--safe-area-inset-top);`


> css safe-area-inset-top is 20px on non-iPhone X landscape
> -
>
> Key: CB-13448
> URL: https://issues.apache.org/jira/browse/CB-13448
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios, cordova-plugin-statusbar
>Affects Versions: cordova-ios@4.5.1
> Environment: iPhone 7, iOS 11.0.3
>Reporter: Jesper van den Ende
>Assignee: Suraj Pindoria
>
> the css constant 'safe-area-inset-top' appears to be correct in the iPhone X 
> simulator.
> On other devices running on iOS 11 however, it seems to be returning 
> incorrect values.
> I'm getting 20px when holding my iPhone 7 in landscape, and 0px when holding 
> my phone in portrait.
> This seems incorrect to me since the status bar is hidden in landscape, and 
> visible in portrait. So I'd expect it to be the other way around, 20px in 
> portrait and 0px in landscape.
> In these screenshots I've created a square with css rule `top: 
> constant(--safe-area-inset-top);`
> portrait:
> !https://i.imgur.com/nv3dzxo.png!
> landscape:
> !https://i.imgur.com/ACZaSEw.png!



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Created] (CB-13448) css safe-area-inset-top is 20px on non-iPhone X landscape

2017-10-15 Thread Jesper van den Ende (JIRA)
Jesper van den Ende created CB-13448:


 Summary: css safe-area-inset-top is 20px on non-iPhone X landscape
 Key: CB-13448
 URL: https://issues.apache.org/jira/browse/CB-13448
 Project: Apache Cordova
  Issue Type: Bug
  Components: cordova-ios, cordova-plugin-statusbar
Affects Versions: cordova-ios@4.5.1
 Environment: iPhone 7, iOS 11.0.3
Reporter: Jesper van den Ende
Assignee: Suraj Pindoria


the css constant 'safe-area-inset-top' appears to be correct in the iPhone X 
simulator.
On other devices running on iOS 11 however, it seems to be returning incorrect 
values.
I'm getting 20px when holding my iPhone 7 in landscape, and 0px when holding my 
phone in portrait.
This seems incorrect to me since the status bar is hidden in landscape, and 
visible in portrait. So I'd expect it to be the other way around, 20px in 
portrait and 0px in landscape.

In the screenshots I've created a square with css rule `top: 
constant(--safe-area-inset-top);`



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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