Using PDFium in cross platform apps

186 views
Skip to first unread message

Dimuthu Upeksha

unread,
Jan 17, 2024, 1:10:12 PM1/17/24
to pdfium
We are planning to evaluate integrating pdfium into our pdf annotation application. We plan to use react native for IOS and Android, and electron js for native apps. Is there any previous integration of PDFium for these platforms? If not, what is the recommended way to bundle PDFium?

Lei Zhang

unread,
Jan 17, 2024, 1:25:04 PM1/17/24
to Dimuthu Upeksha, pdfium
I'm not familiar with the frameworks you mentioned, but Chromium uses
PDFium on Windows/Mac/Linux/ChromeOS. There are apps using PDFium on
Android. While PDFium is not officially supported on iOS, there exists
projects to patch PDFium and make it work.

On Wed, Jan 17, 2024 at 10:10 AM Dimuthu Upeksha
<dimuthu....@gmail.com> wrote:
>
> We are planning to evaluate integrating pdfium into our pdf annotation application. We plan to use react native for IOS and Android, and electron js for native apps. Is there any previous integration of PDFium for these platforms? If not, what is the recommended way to bundle PDFium?
>
> --
> You received this message because you are subscribed to the Google Groups "pdfium" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pdfium+un...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pdfium/f4de954a-a866-44c0-b33a-31483363542an%40googlegroups.com.

Dimuthu Upeksha

unread,
Jan 17, 2024, 9:06:07 PM1/17/24
to pdfium
Hi Lei,

Thanks for the context. Apologies for the open-ended question. Let me narrow it down. All the platforms I mentioned above use some form of JavaScript runtime. Is there any previous work on integrating PDFium with Javascript? For example, someone might have a use case to have a PDF viewer in their React web application and PDFium might be a good candidate if it can be integrated into React's javascript environment.

Thanks
Dimuthu

Justin Pierce

unread,
Jan 24, 2024, 10:12:11 PM1/24/24
to pdfium
Yes we integrate Pdfium into a commercial Javascript software component.

We use gRPC but presumably you could interop directly from Javascript to C++ or perhaps use WASM
Reply all
Reply to author
Forward
0 new messages