Closed ebeltran1981 closed 2 years ago
+1 We are experiencing the same problem. Works on Chrome, but not on Safari and Brave (desktop)
+1 Same issue, also safari only.
Same problem.
Experiencing the issue on:
Same issue , safari
+1 Same issue, MacOS Safari & iOS Safari.
Reverting to aws-amplify to 4.3.32 will resolver this issue for now.
This bug was probably introduced with version 4.3.33 with the changing of the DataStore indexedDB indexes. 4.3.33 is already 2 months old, and with Amplify popularity, I'm wondering how come it's only being submitted now...
We reverted to 4.3.37 and it seems to work for this version. We might check 4.3.38, but this version probably contains the problem.
You are right, 4.3.37 is still on version 2. I had other issues with 4.3.33 that might be unrelated. Thanks.
Hey @ebeltran1981 and everyone else 👋 thank you for reporting this issue. I have reproduced the issue in Safari and can confirm that I did not see this error when downgrading to aws-amplify@4.3.37
or below, which I suggest as a work around until we publish a fix soon.
Related (same error): https://github.com/aws-amplify/amplify-js/issues/10508
Thanks @chrisbonifacio! Is there anywhere we can add tests for this in the future? Happy to help!
Hey folks, we've got a PR up that addresses this issue: https://github.com/aws-amplify/amplify-js/pull/10527. We're reviewing and testing the changes and will get a release out ASAP. We'll keep you posted in this issue.
We'll also be actively exploring options for end-to-end testing DataStore on Safari. Feel free to share any recommendations on testing frameworks/platforms that support Safari on desktop and/or mobile.
We just released aws-amplify@4.3.40
that fixes this issue.
Encountered the same error on aws-amplify@5.3.8 with Safari 14.1.2. I guess it is the old Safari issue with indexDB, but decided to leave a note here in case if that matters to someone
Before opening, please confirm:
JavaScript Framework
Angular
Amplify APIs
DataStore
Amplify Categories
api
Environment information
Describe the bug
I'm having a hard time to debug an issue. It works fine in Edge/Chrome/Firefox, but in Safari get tons of errors when trying to use
DataStore.query()
. Any suggestion will be super appreciated.This might not be a bug in your library, but have no idea how can I get more meaningful information from the logs to pinpoint the problem.
See the screenshot on both browsers:
Expected behavior
Both browsers should have the same behavior and query the data.
Reproduction steps
DataStore.query()
Code Snippet
Log output
aws-exports.js
Manual configuration
No response
Additional configuration
No response
Mobile Device
iPhone 14 Pro Max
Mobile Operating System
iOS 16
Mobile Browser
Safari, Edge
Mobile Browser Version
No response
Additional information and screenshots
No response