How come Android doesn't have a built in PDF viewer?

https://midwest.social/post/14629110

How come Android doesn't have a built in PDF viewer? - midwest.social

Forgive me for this stupid question. I just transitioned from iPhone to Pixel (GrapheneOS) and I’m curious why there isn’t a built in PDF viewer like on iPhone? It feels like you have to open things externally pretty often, but I figure there’s a reason for that. I haven’t used Android in many years and I recently developed an interest for the technical aspects of things, so again, do forgive this beginners question. Cheers y’all!

The good news is anyone can grab the GrapheneOS PDF viewer. github.com/GrapheneOS/PdfViewer
GitHub - GrapheneOS/PdfViewer: Simple Android PDF viewer based on pdf.js and content providers. The app doesn't require any permissions. The PDF stream is fed into the sandboxed WebView without giving it access to content or files. CSP is used to enforce that the JavaScript and styling properties within the WebView are entirely static.

Simple Android PDF viewer based on pdf.js and content providers. The app doesn't require any permissions. The PDF stream is fed into the sandboxed WebView without giving it access to content or...

GitHub