Hi,
We've done some tests with last plugin version and we fixed the opening corrupted PDF's issue, try to update again the plugin or in RDPDFViewController.m's PDFOpen method check if in the switch case is the same below:
switch( err )
{
case err_ok:
break;
case err_password:
return 2;
break;
case err_bad_file:
return 4;
default: return 0;
}
In this week we will release a new Cordova and Xamarin plugin version with this fix and other improvements.
If it couldn't help you can you send me your corrupted PDF file?