I am building an app (Android and iOS) which should be able to render PDF (amoung other things). There is a specific requirement for the apps. A user should be unable to redistribute PDF. A PDF is loaded from a server and is presented to a user directly from RAM memory, without saving the PDF into filesystem.
I have tried RadaeePDF library and it works great! It can also take PDF data directly from RAM memory and this is exactly what I need.
But I also need to be sure that RadaeePDF does not store PDF data into filesystem temporary under certain condition (e.g. when PDF is quite big).
I have also tried PlugPDF library. The vendor of this library calls it "zero footpring" This is what they write in their website
> Zero footprint
> You can open PDF files directly from the byte array(memory), leaving zero footprint on the device.
> This means you can make your own secure document readers.
All the temp data is saved (by default) in the path assigned to Global.tmp_path, unless you modified the path passed to m_doc.SetCache(Global.tmp_path + "/temp.dat");
then in the onDestroy of your activity, you need to call Global.RemoveTmp(), to delete the content of this path.
I am sorry, it seems I was not clear enough.
Actually, I would like to be sure that the library does NOT write anything into temporary storage.
I need pretty basic PDF viewing functionality, no editing, no annotations.
I did some tests and see that the library has not written anything to temp storage so far. Can I rely on this observation?