Skip to content

[Bug]: Stop rendering in hybrid mobile app. Warning: Setting up fake worker. #20316

@jackjtr

Description

@jackjtr

Attach (recommended) or Link to PDF file

Any PDF file

Web browser and its version

Safari 13, Chronium 83

Operating system and its version

iOS, Android

PDF.js version

4.10.38

Is the bug present in the latest PDF.js version?

No

Is a browser extension

Yes

Steps to reproduce the problem

  1. setup a hybrid app
  2. open the demo in hybrid app

What is the expected behavior?

pdf can be currectly loaded in app

What went wrong?

How to set up fake worker in hybrid webview currectly?
We got error messages as below
Using vue-pdf-embed@2.1.3
While it works fine on PC

Warning: Setting up fake worker.

Thanks

Link to a viewer

demo

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions