[webphone-discuss] Re: Update to Angular 5; ServiceWorker needs backend support

  • From: Nicolas Pace <nico@xxxxxxxx>
  • To: webphone-discuss@xxxxxxxxxxxxx
  • Date: Thu, 01 Mar 2018 12:43:32 -0300

There are two stages afaik:
Waking up the service worker... that happens in background 
Waking up the main js, that happens in foreground 

On March 1, 2018 12:40:19 PM GMT-03:00, Emil Kroymann <emil.kroymann@xxxxxxxxx> 
wrote:

On Thu, Mar 1, 2018 at 4:01 PM Nicolas Pace <nico@xxxxxxxx> wrote:



On March 1, 2018 11:53:23 AM GMT-03:00, k@xxxxxxxxxxxxxxx wrote:


On 01/03/18 15:48, Nicolas Pace wrote:
Afaik The push sends a ping, the service worker awakes and does an
http req that receives the message and displays the notification
without having to wake up the full app.

That would seem to me kind of pointless.
In the case of an incoming call, we absolutely HAVE to wake up the
app.

Waking the app means that it appears on front-end, and also that it
has a
delay in between the app awaking and the screen appearing... so it is
tricky.
The companion app would deal with this... but it is not yet among us 
:)


Are you really sure that waking up the app means, that a window is
openend.
If not I would put some research effort in it, to be sure.

Emil

-- 
Enviado desde mi dispositivo Android con K-9 Mail. Por favor, disculpa mi 
brevedad.

Other related posts: