PWA vs Android Native App Communication

2

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

As we only need real-time location only during a certain task, we want to have the power to activate it and disable the feature as needed.

Knowing that PWA does not have the ability to speak directly with other app, what forms of communication do you suggest between the PWA app and the native app?

  • Via push notification do I enable functions in the native app?
  • Is it possible to have an internal http service on Android managed by the app and PWA to communicate with it via http rest on localhost?
asked by anonymous 16.11.2018 / 17:55

0 answers