Which product are you using?
PDF.js Express Plus
PDF.js Express Version
8.7.4
Detailed description of issue
After putting the license key into the WebViewer initialization (I am using localhost for develoment), I am still seeing the trial watermark on the displayed PDF. the console output says: ‘Development environment detected. This license key is currently registered to xyz.com’.
Expected behaviour
No trial watermark on the PDF
Does your issue happen with every document, or just one?
All documents
Link to document
{Provide a link to the document in question if possible}
Code snippet
<type=“text/javascript” src=‘${pageContext.request.contextPath}/js/pdfjs-express/webviewer.min.js’>
(removed script)
WebViewer({
path: ‘${pageContext.request.contextPath}/js/pdfjs-express/public’,
licenseKey: ‘UbhGF46esVMRzHmPsXXX’,
}, document.getElementById(‘viewer’))
.then(instance => {