Knowledge Base - Remove "Available memory" debug message

To remove "Available memory" debug message, you need to call RadaeePDFPlugin.setDebugMode before calling open/show methods:


//open pdf from path
open: function() {
console.log("Opening PDF...");

RadaeePDFPlugin.setDebugMode({mode:false});

RadaeePDFPlugin.open(
{
url: "file:///mnt/sdcard/Download/Test.pdf",
password: "" //password if needed
},
function(message) {
console.log("Success: " + message);
},
function(err){
console.log("Failure: " + err);}
);
}

 

 

 

Applies To

RadaeePDF SDK for Cordova

Details

Created : 2017-12-15 10:08:24, Last Modified : 2017-12-15 12:31:23