I’m using PDF.js Express Viewer 8.1.1
Detailed description of issue
When I tried to use PDF.js Express Viewer in my Electron application, I found that even though I set the License Key correctly in
WebViewerOptions, Electron still failed to render the document properly and reported the following error.
This is how I set the License Key in WebViewer.
This is the information of License Key in my Profile page.
In addition to the Electron app, I also have a web version built from the same code. The domain name of the web version, which is tied to the License Key, is already registered on the Profile page. The web version can open PDF documents normally, but Electron cannot. So I am wondering if this problem is due to the existence of the domain binding, so that PDF.js Express does not recognize the document open in Electron.