WebViewer Version: 8.1.0
Do you have an issue with a specific file(s)?
Can you reproduce using one of our samples or online demos? no
Are you using the WebViewer server? no
Does the issue only happen on certain browsers? no
Is your issue related to a front-end framework? yes, electron
Is your issue related to annotations? no
Please give a brief summary of your issue:
Error during fetch i18n files in Electron
Please describe your issue and provide steps to reproduce it:
In electron environment, we report the following error when the WebViewer initializes:
The Fetch API cannot load … traslation-en.json the URL schema file is not supported.
This is due to the fact that PDFJSDocumentType attempts a fetch () on the file, but this is not supported.
Is there any way to solve the problem?