Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Import both PDF.js workers and apply legacy for prev. IOS #45

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

rezkiy37
Copy link
Contributor

@rezkiy37 rezkiy37 commented Feb 3, 2025

Details

Import both PDF.js workers and apply the legacy version for previous iOS versions by obtaining the iOS version. If the user’s age is less than 18, use legacy code; otherwise, use modern code.

Screenshots

Screenshot 2025-02-03 at 17 11 17 Screenshot 2025-02-03 at 17 11 29 Screenshot 2025-02-03 at 17 11 37

Related Issues

Expensify/App#55176

Manual Tests

  1. Launch the example app (especially IOS 17.x).
  2. Open an example PDF file.
  3. Verify that there are no warnings in the console and that the file is displayed properly.

Linked PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant