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

Support iPad Safari #35

Closed
wants to merge 2 commits into from
Closed

Support iPad Safari #35

wants to merge 2 commits into from

Conversation

zjkmxy
Copy link
Collaborator

@zjkmxy zjkmxy commented Nov 28, 2023

iPad is not supported for now because Safari does not support createWritable.
This affects not only Safari but all browsers on iPad.
There is a work-around to use createSyncAccessHandle. However, this function is only allowed in a dedicated web worker.
This PR tries to do so, but it still does not work on iPad Safari and I don't know why.
Possible problems:

  • Not able to create the WebWorker
  • Not able to post a file handle as a message.
    • I verified that it is possible to do so in Chrome on PC. MDN also says it is allowed.

Help from Apple subscribers is needed. The current webpage works on Android devices.

@zjkmxy
Copy link
Collaborator Author

zjkmxy commented Nov 28, 2023

Or go to use IndexedDB for iPad, which requires significant effort.

@zjkmxy zjkmxy closed this in ce48605 Nov 30, 2023
@zjkmxy zjkmxy deleted the safari branch November 30, 2023 09:27
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