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 2F57C200C09 for ; Wed, 25 Jan 2017 20:35:09 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 2E026160B4E; Wed, 25 Jan 2017 19:35:09 +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 4D799160B3D for ; Wed, 25 Jan 2017 20:35:08 +0100 (CET) Received: (qmail 45716 invoked by uid 500); 25 Jan 2017 19:35:07 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 45699 invoked by uid 99); 25 Jan 2017 19:35:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jan 2017 19:35:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 904561A0315 for ; Wed, 25 Jan 2017 19:35:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.948 X-Spam-Level: * X-Spam-Status: No, score=1.948 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, KAM_LOTSOFHASH=0.25, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id Rvjv9GFuowZ9 for ; Wed, 25 Jan 2017 19:35:03 +0000 (UTC) Received: from mail-io0-f174.google.com (mail-io0-f174.google.com [209.85.223.174]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 82E3A5F238 for ; Wed, 25 Jan 2017 19:35:03 +0000 (UTC) Received: by mail-io0-f174.google.com with SMTP id j13so21921125iod.3 for ; Wed, 25 Jan 2017 11:35:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:subject:date:references:to:in-reply-to:message-id; bh=Fj/qdTr14dR522OvgGXxdcHqNyr801FfkFI42sDrTbE=; b=W8XuZRaUqMbeaq8xH1vmcncfPfVkjt/Xj7lqpU5MIQHJ93rJZCL6f/hMwXuxkQUg5a SeZYymqTlwYfvdfuhWjQGkapWr4rUwqsRwNR8O+eybVgG+W8qC98Q5yHIu0bvaiYIZdJ naJ0PDkGHqB9gN6TY0/0UXaH60I8XfyqSv4rkD2UFMlLBc4zwCnGwcLypdr4eCBFmr1c qs9CQnskWVeB9NssurOSfAu3yq67IJub3ttKPFmHEaBUE0pRUFlIXvQCrcv3y5mLSagc XNLsePIiS0AJuUQyFIBfDxBQ52074qmCWrUTj3+2DCes1r4hqahBNYI7ezITLR7QEdxT HNvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:date:references:to :in-reply-to:message-id; bh=Fj/qdTr14dR522OvgGXxdcHqNyr801FfkFI42sDrTbE=; b=C1R6v4kX6G0L9pTfj4Yhl4NRl/9boGQOdATfIQte9W+5HpxqeipWvUWmlVC4G/5/b4 X06a3A2A61kuwFW8pgb8uP03daHBCpiEqW7MjrS4+J/6jKa3yXHjtXY/jJAsZ6gQnXcb fxCPPGu3aws5AaLGRNVgNfiF3jcLEYh4tv8aq76Z/s+aEzzlwAkj2toGC5j1y5ArmoiL D04TxsuvTPy3EJj9gCHm3z7nEvoGxcB1Mv5aMZ7ZCtnf9DVRK7vf7uk1D58huNUbPab+ KIfICw+Or6TJxhFUQbsu71TH+ij5lQnzmdMAIJWdkE9RY6lZRqlrlelAyfpVtFPYemDe tupw== X-Gm-Message-State: AIkVDXI8RB6tIjPaJH2c3RTyo4R6G468t7iGuDA7VHboLDiHN3gJkRXOZdEdqvSFLBYBCw== X-Received: by 10.107.34.213 with SMTP id i204mr38041957ioi.203.1485372902828; Wed, 25 Jan 2017 11:35:02 -0800 (PST) Received: from [192.168.0.7] ([24.100.134.74]) by smtp.gmail.com with ESMTPSA id b35sm23579iod.24.2017.01.25.11.35.02 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Jan 2017 11:35:02 -0800 (PST) From: Kerri Shotts Content-Type: multipart/alternative; boundary="Apple-Mail=_D330B47C-60C9-4C81-AF9F-4AA4513D93CA" Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: Re: CB-11602: (android) Adds onRestart event support Date: Wed, 25 Jan 2017 13:35:01 -0600 References: <000401d27310$44778440$cd668cc0$@apache.org> To: dev@cordova.apache.org In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3259) archived-at: Wed, 25 Jan 2017 19:35:09 -0000 --Apple-Mail=_D330B47C-60C9-4C81-AF9F-4AA4513D93CA Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii +1 to moving splash screen into platforms. ~ Kerri > On Jan 25, 2017, at 01:09, Simon MacDonald = wrote: >=20 > I would be happy to see Splash Screen go back to the platforms as = well. >=20 > Simon Mac Donald > http://simonmacdonald.com >=20 > On Tue, Jan 24, 2017 at 10:56 PM, Joe Bowser = wrote: >=20 >> OK, time to address the elephant in the room: >>=20 >> Why is the Splashscreen still a plugin? It was only made a plugin = because >> someone wanted to be a purist about plugins, and there's actually no = good >> reason for it to not just be built into Cordova. I used to think >> Splashscreens were dumb and were used to cover up bad loading times, = but >> there's a good business case for them since people expect them. >>=20 >> Also, related, Splashscreen on Android needs to be rebuilt anyway. = There's >> numerous bugs with it, and I think adding it back into the platforms = might >> actually delete code and simplify things. >>=20 >> I know that we said these exact things before at meetings and wrote = them in >> minutes that we posted here, but I think now is probably good time to = bring >> this up. >>=20 >> The only reason I don't want to throw this back into Android is = because I >> don't want crap ton of PRs in Cordova-Android just all about = Splashscreen. >> That said, at least we can get those unit tested and actually make = sure >> that 3 second delays are actually 3 seconds and not some random = value, and >> other things like that. >>=20 >>=20 >> On Tue, Jan 24, 2017 at 10:47 PM, Jesse = wrote: >>=20 >>> I would like to see us move towards making this platform level >>> functionality, The requirements of this API happen mostly outside = of the >>> scope of a plugin's lifetime. >>>=20 >>> If we could get to an api that was just, images with the right names = are >>> presented when the OS decides to do it, the way all native platforms >> work, >>> I think we would be better off. >>>=20 >>>=20 >>> @purplecabbage >>> risingj.com >>>=20 >>> On Fri, Jan 20, 2017 at 3:28 AM, wrote: >>>=20 >>>> Hello, >>>>=20 >>>> There's a related issue marked as WontFix [1][2] but as far as I >>>> understand it does not apply to the SplashScreen plugin as it is >>>> initialized on startup (via ).= >>>> So the question is - should we add onRestart as it is not = fundamentally >>>> different from onStart, which is supported? >>>> Or is there a better/more correct way to do it? >>>>=20 >>>> [1]: https://issues.apache.org/jira/browse/CB-9620 >>>> [2]: https://issues.apache.org/jira/browse/CB-9621 >>>>=20 >>>> Please let me know if you have any questions or considerations. >>>>=20 >>>> Best regards, >>>> Sergey Shakhnazarov, >>>> Akvelon developer. >>>>=20 >>>> -----Original Message----- >>>> From: Sergey Shakhnazarov [mailto:daserge@apache.org] >>>> Sent: Thursday, January 12, 2017 12:10 >>>> To: dev >>>> Subject: CB-11602: (android) Adds onRestart event support >>>>=20 >>>> Hi guys, >>>>=20 >>>> I've investigated the CB-11602 Splashscreen plugin receives onPause = and >>>> hides [1] and realized that the splashscreen plugin currently = doesn't >>>> handle onStop->onRestart [2] events properly. >>>> The reason is that we don't have the onRestart event in = cordova-android >>> so >>>> I propose to add it [3] and update the splash screen plugin code >>>> accordingly to handle this pause-resume events correctly [4] (i.e. >>>> save/restore the splashscreen state on app switch/device lock). >>>> Please take a look. >>>>=20 >>>> [1]: https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A% >>>> 2F%2Fissues.apache.org%2Fjira%2Fbrowse%2FCB-11602&data=3D02% >>>> 7C01%7Cv-seshak%40microsoft.com%7Cb58575c22fb04ad3c29308d4 >>>> 3acabe0f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636198 >>>> 089826262946&sdata=3Dic0pYXcxfToH7eHWkPUktKDgm0aYMhHgfxqhJ8ECS >>>> sU%3D&reserved=3D0 >>>> [2]: >>>> https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A% >>>> 2F%2Fdeveloper.android.com%2Freference%2Fandroid%2Fapp% >>>> 2FActivity.html%23onRestart&data=3D02%7C01%7Cv-seshak% >>>> 40microsoft.com%7Cb58575c22fb04ad3c29308d43acabe0f%7C72f988b >>>> f86f141af91ab2d7cd011db47%7C1%7C0%7C636198089826262946&sdata=3DIdo% >>>> 2FCxLiFO9fdJxCTb1HvIt9dBo%2BMtIjwUqo6%2FDyPaw%3D&reserved=3D0() >>>> [3]: https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A% >>>> 2F%2Fgithub.com%2Fapache%2Fcordova-android%2Fpull% >>>> 2F353%2Ffiles&data=3D02%7C01%7Cv-seshak%40microsoft.com%7Cb >>>> 58575c22fb04ad3c29308d43acabe0f%7C72f988bf86f141af91ab2d7cd0 >>>> 11db47%7C1%7C0%7C636198089826272954&sdata=3DmMHBhAcWSuBXgWOVFS >>>> TyX8tV8cikEKfAO4hX95A7Zcs%3D&reserved=3D0 >>>> [4]: https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A% >>>> 2F%2Fgithub.com%2Fapache%2Fcordova-plugin-splashscreen% >>>> 2Fpull%2F120%2Ffiles&data=3D02%7C01%7Cv-seshak%40microsoft. >>>> com%7Cb58575c22fb04ad3c29308d43acabe0f%7C72f988bf86f141af91a >>>> b2d7cd011db47%7C1%7C0%7C636198089826272954&sdata=3DXg5ldRRKYwl >>>> UGvbCWMUOzk2HIzWStMJze0jFTzif3A8%3D&reserved=3D0 >>>>=20 >>>> Best regards, >>>> Sergey Shakhnazarov, >>>> Akvelon developer. >>>>=20 >>>>=20 >>>> = --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org >>>> For additional commands, e-mail: dev-help@cordova.apache.org >>>>=20 >>>>=20 >>>=20 >>=20 --Apple-Mail=_D330B47C-60C9-4C81-AF9F-4AA4513D93CA--