Hey guys,
upgraded an app that uses your pdf-viewer. On Android I'm getting this in the dev console:
viewer.html:1 Uncaught (in promise)
UnknownErrorException {message: "The browser/environment lacks native support for c…ed`); please use an ES5-compatible build instead.", name: "UnknownErrorException", details: "Error: The browser/environment lacks native suppor…ed`); please use an ES5-compatible build instead."}
details: "Error: The browser/environment lacks native support for critical functionality used by the PDF.js library (e.g. `ReadableStream` and/or `Promise.allSettled`); please use an ES5-compatible build instead."
message: "The browser/environment lacks native support for critical functionality used by the PDF.js library (e.g. `ReadableStream` and/or `Promise.allSettled`); please use an ES5-compatible build instead."
name: "UnknownErrorException"
__proto__: Error
In the component it shows:

Continues to work on ios as it did on Android the last year with Capacitor 1.5.
Should I maybe add ES5 build to my output?
Hey guys,
upgraded an app that uses your pdf-viewer. On Android I'm getting this in the dev console:
In the component it shows:

Continues to work on
iosas it did on Android the last year with Capacitor 1.5.Should I maybe add ES5 build to my output?