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

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



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  :)

In the case of a text message, we should wake up the app and have it
retrieve the message via SIP.

Doing so will put the app in foreground (that is how pwa works), An undesire 
effect I would say.

If we are currently doing that another
way, we should probably stop now, as the message queue is mSILO on
kamailio.

Don't understand this Last part.

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

Other related posts: