PDFJS Express Shows Watermark in IONIC Project [ Even In Production Build ]

Which product are you using?
PDF.js Express Viewer

PDF.js Express Version

Detailed description of issue
When I am loading up the @pdftron/pdfjs-express-viewer library in my ionic project and deploying it on a device with a license key, it is still showing watermarks. I understand that the viewer will show watermark in localhost, but as an ionic project, the project has to run in localhost even on the user’s device. Could you please help me with this.

Expected behaviour
Expected to not get watermarks after adding the license key

Does your issue happen with every document, or just one?
Every Document

Link to document


Code snippet

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:


Hi there,

Standard PDF.js Express keys do not support mobile frameworks like Ionic because they do not have a domain name.

If you need to support mobile devices, We do have an OEM license key we can get you - please get in touch with our sales team and let them know the situation. They will be able to set you up.


Thank You @Logan, I have contacted the sales team and am awaiting for their reply, also, is there any possibility of restricting the number of pages the library can load.

For example, can I only show the first 4 pages of a document, if yes could you please direct me to a documentation link that can help me with this.

Thank You