From issues-return-94896-archive-asf-public=cust-asf.ponee.io@cordova.apache.org Tue Jun 5 13:23:04 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id E63BA180674 for ; Tue, 5 Jun 2018 13:23:03 +0200 (CEST) Received: (qmail 30630 invoked by uid 500); 5 Jun 2018 11:23: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 30224 invoked by uid 99); 5 Jun 2018 11:23:02 -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; Tue, 05 Jun 2018 11:23:02 +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 6A026C89EF for ; Tue, 5 Jun 2018 11:23:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.801 X-Spam-Level: X-Spam-Status: No, score=-109.801 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_NUMSUBJECT=0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, 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 j33wqb8ppjH5 for ; Tue, 5 Jun 2018 11:23: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 1591F5F5FC for ; Tue, 5 Jun 2018 11:23: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 56149E00A9 for ; Tue, 5 Jun 2018 11:23: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 1F8B920EAB for ; Tue, 5 Jun 2018 11:23:00 +0000 (UTC) Date: Tue, 5 Jun 2018 11:23:00 +0000 (UTC) From: "Brian Grieco (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-14107) StatusBar Plugin does not work correctly on Samsung S9 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-14107?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Brian Grieco updated CB-14107: ------------------------------ Attachment: pic3.jpg > StatusBar Plugin does not work correctly on Samsung S9 > ------------------------------------------------------ > > Key: CB-14107 > URL: https://issues.apache.org/jira/browse/CB-14107 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-android, cordova-plugin-statusbar > Affects Versions: 8.0.0 > Reporter: Brian Grieco > Assignee: Joe Bowser > Priority: Major > Labels: features, plug-in, plugin > Attachments: pic1.png, pic2.jpg, pic3.jpg > > > I have a cordova project and I installed the StatusBar plugin to color th= e status bar of the device in the Android platform. The plugin displays the= correct status bar color if I run the project on an AVD (pic1), but when I= run it on the device it does not appear to work. > I also noticed that when I run the project on device with the plug in uni= nstalled the view takes up the entire screen, but if I run it with the plug= in installed there is black space between the app view and the top and bott= om of the phone's nav bar and status bar (pic2). > Update: > When turned to portrait mode, the coloured status bar appears, but incorr= ectly (pic3). > Device: Samsung S9 running Android 8.0.0 (Oreo) > Cordova version: 8.0.0 > StatusBar plugin version: 2.4.2 > Cordova whitelist plugin: 1.3.3 > =C2=A0 > Index.js code: > {code:java} > var app =3D { > initialize: function() {=20 > document.addEventListener('deviceready', this.onDeviceReady.bind(= this), false);=20 > }, > onDeviceReady: function() {=20 > this.receivedEvent('deviceready');=20 > StatusBar.backgroundColorByHexString("#CF4D4D");=20 > }, > receivedEvent: function(id) { }=20 > };=20 > app.initialize(); > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org