Is this possible: app -> make phone call -> return control back to app


Just exploring if Nativescript is right for me. I’ve been reading up on this, but was not clear on what my approach would be to do the following:

  1. The nativescript app initiates a phone call
  2. The user continues talking to the other person and then hangs up
  3. My app pops back up again (gets control back from the phone app) and knows how long the call took

Is the above possible?