right now i am working on PWA, using HTML5 i can able to access Phone dial pad [ <a href="tel:+496170961709">96170961709</a>
]. but, we need to track phone cal duration . in android there is an API called Broadcast receiver , by using that i android we can track phone call duration.
but , is it possible to track phone call duration in PWA?
Even if its a PWA, its still a web app running in browser and limited to web standards. Only thing you can track with pure web solution is to know if the network is active or not.
However, you can achieve this with an additional Android service(has to be installed independently in the device) which can broadcast the same info in a web socket, which can be received in PWA. Hybrid solution like this are the only way you can get native functionality that aren't available in web yet.