How does mobile Firefox still have no integrated PDF viewer but instead make you download and shell out to a dedicated PDF app (requiring you to find one you trust and waste storage space each time you view a PDF)?!
Conversation
Replying to
GrapheneOS has a security-focused PDF viewer based on using pdf.js in the WebView. Can use it elsewhere:
* play.google.com/store/apps/det
* github.com/GrapheneOS/Pdf
Apps can directly open a PDF with it without saving it as a download but browsers may not commonly have support for that.
1
1
6
It's currently very barebones but we plan on improving it quite a lot in the near future. Our focus was making a privacy/security focused Camera app but now that app is quite mature and we plan on shifting focus over to making the PDF viewer into a modern app with more features.
It's more secure than browser integrated pdf.js because we disable dynamic scripts/styles and each PDF is rendered in a separate stateless WebView instance with no access to the network, etc.
It's fairly quick but portable support for higher zoom is tricky due to memory limits.
2
Thanks! I just installed it. It works much better than the one that came with my Pixel 4.
2
1
Main reason I don’t have installed on it is that is not knowing how to securely install the Play Store afterwards. (The other is that I don’t want to have to re-verify safety numbers with everyone.)
1
Show replies
Replying to
Yes, at github.com/GrapheneOS/Cam.
It isn't available on the Play Store because they started enforcing using Play App Signing so we would need to make a separate build with a different app id for the Play Store. We'll probably release it there when CameraX is a bit more mature.
1
Show replies


