Need cordova solutions


#1

I’m looking for solutions base on cordova plugins of my problems:

  1. I want to click button and then make a phone call directly. I know, that I can use document.location.href but this shows standard phone dialer. Moreover I need to know when a phone call starts and ends (to save duration) and after end, goes back to my app.
  2. I use pdfmake library to generate PDF file (I get base64). I want to show this file base on generated base64, but without saving it. I’ve tried to use windows.open, but nothing happends.

Has anyone met these problems and knows the solutions?