Open local pdf file by Cordova open file , which store (www/test.pdf ) in android


#1

how to open local pdf file, which store in path “www/test.pdf” in ionic app, using Cordova open file plugin, what is path inputed in the open file function ?

$cordovaFileOpener2.open(
path, // what path to be inputted
’application/pdf’
).then(function() {
// file opened successfully
}, function(err) {
// An error occurred. Show a message to the user
});

Many thx !