Product Version: PDFTron SDK
I had a problem when loading the large file from the server, I had a research document I found Stream PDF File feature, but I don’t know how to can implement with react native?
The PDFTron React Native wrapper uses streaming by default on iOS and Android but how to know it working? Because with document is must be use function mPdfViewCtrl.openUrlAsync but in my code just use Uri fileUri = ReactUtils.getUri(getContext(), path, false); mPdfDoc = openPDFUri(fileUri, "");
What different with 2 method?
Are you able to share a working sample project?
Where are you using that code snippet in your project?
Is there a reason you’re not using the default way to open a document in the React Native wrapper?
In any case, the openPDFUri API does call openUrlAsync under the hood if it’s passed a remote URL as the parameter. So if your fileUri is a link to a remote document then openUrlAsync is being used.