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

Break in iOS 16.2 when upgrading from 1.2.3 to 2.0.1 #232

Closed
code-bunny opened this issue Jan 11, 2024 · 4 comments
Closed

Break in iOS 16.2 when upgrading from 1.2.3 to 2.0.1 #232

code-bunny opened this issue Jan 11, 2024 · 4 comments

Comments

@code-bunny
Copy link

I wasn't too vigilant and bundle updated my rails application which pulled in the 2.0.1 importmaps. This seemed to be perfectly fine until we had iPhone users still running 16.2 reporting that the website was "frozen". It turns out that the error was due to:

TypeError: Module specifier, 'application' does not start with "/", "./", or "../". Referenced from http://localhost:3001/

Replace the from with the production websites domain or indeed any domain with this issue. Reverting to 1.2.3 fixes the issue or upgrading iOS to any of the 17.x releases also fixes the issue.

@code-bunny
Copy link
Author

Of note in 1.2.3 there is a green message reporting that ^^ Module TypeError above is polyfilled and can be ignored ^^

@morgoth
Copy link
Member

morgoth commented Jan 12, 2024

@code-bunny I belive it's because removing the shim from version 2.0, ie #216

In comments you can read how to bring it back to version 2.0 of this gem

@code-bunny
Copy link
Author

@morgoth thanks for the link to the reference! I'll keep myself on the v1 for a while and "encourage" the users to upgrade their iOS versions or push them over to the native app... once I build it.

@morgoth
Copy link
Member

morgoth commented Jan 13, 2024

can you close the issue then?

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

No branches or pull requests

2 participants