anvilistas / anvil-extras

Other
76 stars 21 forks source link

Local Storage Import Failing On Mobile Device Browser #479

Closed lewysigns closed 6 months ago

lewysigns commented 6 months ago

Describe the bug I cannot visit my applications on a mobile device because my system is failing to load the local_storage library. It works on a perviously home screen installation of the application, but as soon as I try to visit the app on the browser it fails and yields this error:

ExternalError: TypeError: Importing a module script failed.
at app/anvil_extras/storage.py, line 19

Version Which version of anvil-extras are you using?

v2.5.3

To Reproduce Steps to reproduce the behaviour (including a clone link when applicable):

Here is a URL to visit on a mobile device:

https://spotted-upright-page.anvil.app

Here is clone:

https://anvil.works/build#clone:DZM5VRPAMLCC5KYQ=IWMZQFXBFM3I3MYKKFOPW2JM

Expected behavior Normally it loads fine. It looks like this is affecting my other application as well. Which are using the development branch of anvil extras.

Additional context Nothing has changed in relation to importing this module.

I have an iphone 13 and I attempted to visit using safari and chrome.