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 7F3F4200CFD for ; Wed, 6 Sep 2017 08:56:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7DD8B161E33; Wed, 6 Sep 2017 06:56: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 C2ECE161E36 for ; Wed, 6 Sep 2017 08:56:04 +0200 (CEST) Received: (qmail 25621 invoked by uid 500); 6 Sep 2017 06:56:03 -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 25610 invoked by uid 99); 6 Sep 2017 06:56:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Sep 2017 06:56:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 473FAD5A4A for ; Wed, 6 Sep 2017 06:56:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[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 (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id JYd9qlUAXDQJ for ; Wed, 6 Sep 2017 06:56:01 +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 1F68A5FAC9 for ; Wed, 6 Sep 2017 06:56: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 618FEE059C for ; Wed, 6 Sep 2017 06:56: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 204D62414F for ; Wed, 6 Sep 2017 06:56:00 +0000 (UTC) Date: Wed, 6 Sep 2017 06:56:00 +0000 (UTC) From: "Volker Braun (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-13238) Splashscreen documentation dangerous MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 06 Sep 2017 06:56:05 -0000 [ https://issues.apache.org/jira/browse/CB-13238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16154905#comment-16154905 ] Volker Braun commented on CB-13238: ----------------------------------- Yes, as the documentation suggested I created ldpi... xhdpi versions. Now I know that providing an xxxhdpi version as well would have averted the crash, but that is quite a trap for the unwary and should be addressed in the docs (which is why I opened the issue here). Really, just like you want the new universal splash screen on iOS (which the docs correctly point out) you also want a single splash image on Android instead of bundling multiple resized versions in the app. > Splashscreen documentation dangerous > ------------------------------------ > > Key: CB-13238 > URL: https://issues.apache.org/jira/browse/CB-13238 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-splashscreen > Environment: xxxhdpi devices > Reporter: Volker Braun > > This seems to be a documentation issue, but for the record here is the back story first: > I reused the iOS 2730x2730 universal splash screen for the Android version, and copied the config.xml settings > {code} > > > > > {code} > as they are on https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-splashscreen/ Then my app is crashing with > {code} > Fatal Exception: java.lang.RuntimeException: Canvas: trying to draw too large(119421184bytes) bitmap. > {code} > on startup on xxxhdpi devices (e.g. Samsung S8). Note the 119421184 bytes are 2730^2 pixel * 4 bytes color depth times an extra 2^2; The last factor is the rescaling from xhdpi -> xxxhdpi. > I believe the documentation should be saying > {code} > > {code} > since the splash screen is scaled to fill the screen anyways, we certainly don't want to blow it up first because we have a high dpi device. -- 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