Communication PWA vs Native Android App

Asked

Viewed 46 times

2

Friends, I have an application for internal use in the company in PWA. And for a new demand we will need geo localization in real time. Features we do not have yet in the service worker and no forecast to be released... And we’re off to the idea of creating a native helper app just for that function.

Since we only need real-time location only during a given task, we want to have the power to turn it on and off as needed.

Knowing that PWA doesn’t have the ability to talk directly to other apps, what forms of communication you suggest between the PWA app and the Native app?

  • Via push notification I can activate functions in the native app?
  • It is possible to have an internal http service on Android managed by the app and PWA communicate with it via http Rest on localhost?
  • I would pass this responsibility to the backend, the PWA or the application would send the information to it and if it was necessary to share it the backend would send it.

  • thank you, but the backend could fire a command to the app, even though it is closed?

  • I believe so, when Whatsapp is closed we keep receiving messages, I just don’t know the details of how it is done kk, but I believe it is possible.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.