MystenLabs / walrus-sites

Walrus Sites: Decentralized Websites using Sui and Walrus.
https://docs.walrus.site/walrus-sites/intro.html
Apache License 2.0
10 stars 7 forks source link

Present error message on browsers that don't support service workers (e.g., iOS in-app browser) #91

Closed kkomelin closed 5 days ago

kkomelin commented 2 weeks ago

I tried to open two web apps, hosted on Walrus Sites, in the internal Sui Wallet browser (Apps tab) on iPhone SE 2: 1) https://suidappstarter.walrus.site/ 2) https://flatland.walrus.site/

And experienced the same behavior with both apps. The app is constantly loading with a message "just a moment". See screenshot attached.

IMG_0324

Maybe it's an infinite loop or something like that.

Chrome and Safari on iPhone load the app with no issues.


Since in-app browsers on iOS are not supported, It would be good to display a more descriptive error message.

mlegner commented 2 weeks ago

This is an unfortunate limitation of the in-app browser on iOS, see here.

kkomelin commented 2 weeks ago

Ah, I see. Thank you @mlegner.

Can we display an error message instead of the infinite loading?

mlegner commented 2 weeks ago

Can we display an error message instead of the infinite loading?

That's a good idea! 👍

kkomelin commented 2 weeks ago

Thank you @mlegner