-
Notifications
You must be signed in to change notification settings - Fork 456
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
Android getItem() doesn't return anything and app becomes unresponsive (RN 0.66.1) #694
Comments
Hey @ricardonazario |
@krizzu Thanks for checking It may be related at some level but all the values in my async storage are either timestamp strings or boolean strings, so not actually large. |
This sounds similar to what was blocking us and we finally found the culprit. We are still not sure what the exact issue is, but what "fixes" it for now. React-native enabled this by default recently: metro.config.js file change: |
I was able to solve the issue for my app. I may have been one of two things.
@andyhmi my app already had inlineRequires: false |
I removed the package "react-combine-reducers" from my app and the issue was solved. |
This issue has been marked as stale due to inactivity. Please respond or otherwise resolve the issue within 7 days or it will be closed. |
@MichDreby Did you manage to solve this issue? I'm still facing it in 2023 :D |
What happened?
I just upgraded to RN 0.66.1 and react-native-async-storage 1.15.9. Everything seems good on iOS but app is hanging on android whenever i call getItem.
Version
1.15.9
What platforms are you seeing this issue on?
System Information
Steps to Reproduce
If i run the above function, it logs 'get item' but then doesn't log 'GOT ITEM' or the error. Just hangs.
I tried downgrading react-native-async-storage and the issue persists.
The text was updated successfully, but these errors were encountered: