Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A735A200D56 for ; Mon, 27 Nov 2017 16:45:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id A5E70160C13; Mon, 27 Nov 2017 15:45:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 02F0B160C14 for ; Mon, 27 Nov 2017 16:45:04 +0100 (CET) Received: (qmail 82818 invoked by uid 500); 27 Nov 2017 15:45:04 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 82798 invoked by uid 99); 27 Nov 2017 15:45:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Nov 2017 15:45:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 4154A180235 for ; Mon, 27 Nov 2017 15:45:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id NtO9CWzhWpLF for ; Mon, 27 Nov 2017 15:45:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 9FC465F20B for ; Mon, 27 Nov 2017 15:45:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id D9EC0E0A29 for ; Mon, 27 Nov 2017 15:45:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 9775A241A6 for ; Mon, 27 Nov 2017 15:45:00 +0000 (UTC) Date: Mon, 27 Nov 2017 15:45:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-13396) Splash screen images are resized incorrectly on iPhone X MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 27 Nov 2017 15:45:05 -0000 [ https://issues.apache.org/jira/browse/CB-13396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16266957#comment-16266957 ] ASF GitHub Bot commented on CB-13396: ------------------------------------- EternallLight commented on issue #135: CB-13396: (ios) Fix image sizing on iPhone X URL: https://github.com/apache/cordova-plugin-splashscreen/pull/135#issuecomment-347222370 @Drewster727 I started with standard sizes as listen in the documentation: 2x* | universal | any | any | 2732x2732 | Default@2x~universal~anyany.png 2x | universal | com | any | 1278x2732 | Default@2x~universal~comany.png 2x | universal | com | com | 1334x750 | Default@2x~universal~comcom.png 3x* | universal | any | any | 2208x2208 | Default@3x~universal~anyany.png 3x | universal | any | com | 2208x1242 | Default@3x~universal~anycom.png 3x | universal | com | any | 1242x2208 | Default@3x~universal~comany.png The reason why I didn't do this initially, is that for some reason it didn't work with another file path than specified in documentation (I had it available in resources/ios/splash, but they must be in res/screen/ios. I created all these images, put them in res/screen/ios, run `cordova prepare`, and they all appeared in Images.xassets/LaunchStoryboard as they're supposed to be, and the issue with iPhone X was gone. Note that you often need to re-install the app, on your phone or simulator in order to see the changes. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org > Splash screen images are resized incorrectly on iPhone X > -------------------------------------------------------- > > Key: CB-13396 > URL: https://issues.apache.org/jira/browse/CB-13396 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-splashscreen > Environment: iOS 11 / iPhone X > Reporter: Ken Mickles > Labels: splashscreen > > CDVSplashScreen-updateBounds doesn't take iOS11's new safeAreaInsets into account, causing the image size to change when CDVLaunchScreen.storyboard transitions to the CDVSplashScreen image. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org