Closed joebernard closed 1 year ago
Hi @joebernard The team is aware of this issue and a fix for this issue is implemented and being released with Amplify@v5 via PR #10546
v5 should be released within the next few weeks
@joebernard Closing this as resolved. The fix for this went out pre-v5 with v4.3.43. Let me know if you are still experiencing this issue after upgrading to 4.3.43 and I will re-open to assess further.
Thank you!
Before opening, please confirm:
JavaScript Framework
React Native
Amplify APIs
Cache
Amplify Categories
storage
Environment information
Describe the bug
Cache
is undefined when importing fromaws-amplify
v4.3.37.The resolution is to roll back to v4.3.33 where this call still works. It appears to have been introduced in this PR: https://github.com/aws-amplify/amplify-js/pull/10305
Expected behavior
Cache
should be defined after importing.Reproduction steps
yarn add aws-amplify@4.3.37
Code Snippet
Log output
aws-exports.js
No response
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response