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

Compatibility Issues with iOS Earlier than 15: Invalid Character # #5563

Closed
2 tasks done
abedshamia opened this issue Dec 26, 2024 · 1 comment
Closed
2 tasks done
Labels

Comments

@abedshamia
Copy link

abedshamia commented Dec 26, 2024

Initial checklist

  • I understand this is a bug report and questions should be posted in the Community Forum
  • I searched issues and couldn’t find anything (or linked relevant results below)

Link to runnable example

No response

Steps to reproduce

  1. Use Uppy in a project.
  2. Attempt to run the app in a browser on iOS 14 or earlier.
  3. Observe the error indicating an “invalid character #.”

This issue seems to stem from the use of private fields in the @uppy/* packages, which are not supported by these older iOS versions.

Private fields were introduced in newer JavaScript standards and are unsupported in iOS 14/13 and earlier environments. For reference:

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/Private_properties

Expected behavior

  • The app should function normally on iOS 14 and relatively recent releases

Actual behavior

  • The app fails to load and throws an error about the “invalid character #.”

Would you consider addressing this compatibility issue? iOS 14 and 13 are still relatively recent versions, and supporting them would help ensure broader compatibility for our users. Or if there is a workaround for it I would appreciate that!

@abedshamia abedshamia added the Bug label Dec 26, 2024
@Murderlon
Copy link
Member

We heavily depend on private properties/methods so I don't see us going back.

From the readme:

We aim to support recent versions of Chrome, Firefox, and Safari.

I'm afraid you'll have to use babel to transpile your code.

@Murderlon Murderlon closed this as not planned Won't fix, can't repro, duplicate, stale Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants