-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
TypeError: Promise.allSettled is not a function (it is undefined) calling DataStore.clear() (React Native) #14035
Comments
Hi @talaikis could you confirm the exact version of the react-native package you are using? |
|
Hi @talaikis I was asking for the react-native package version. As far as I know, this error Amplify JS v6 requires react-native 0.70.0 as the lowest supported version at this moment. |
|
+1
|
Closing as |
Before opening, please confirm:
JavaScript Framework
React Native
Amplify APIs
DataStore
Amplify Version
v6
Amplify Categories
No response
Backend
None
Environment information
Describe the bug
Calling DataStore.clear() in React Native latest versions (approx after 6.7+):
Expected behavior
Working
clear()
Reproduction steps
Code Snippet
// Put your code below this line.
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
The text was updated successfully, but these errors were encountered: