-
-
Notifications
You must be signed in to change notification settings - Fork 190
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
Using custom storage engine on React Native #599
Comments
Same issue after upgrading to v4.0.1, |
I can confirm the same and also AsyncStorage doesn't seem to work. |
Same here with Easy Peasy 4.0.1 |
Same. Just tried to switch over to easy-peasy's |
Does anyone know why |
Hey all; Apologies for the lack of response on this. I've had to take some personal time. I would appreciate it if someone could share a basic repo that I could use to test this. I have an upcoming version that I feel may address this issue. 💜 |
removed useless post |
Hi @ctrlplusb I had to switch back to This is an iOS issue. Here is a Snack reproduction. Run it with the Android emulator and |
Thanks for posting @GollyJer 🙏 |
This is caused by an issue of RN 0.62.2, so requestIdleCallback is never called on iOS. Before it is fixed, you can add this line before your
|
Thanks for the info @duygiangdg! You can see your workaround in affect by running the iOS simulator here. 👍 |
It solved the issue for me! Thanks :) |
any update on this issue ? |
Thanks for the reproduction Snack, @GollyJer! As I don't have a mac to test on, this really helped troubleshooting the issue. This should now be fixed in |
I mean, what's 2 years amongst friends. 😛 Thanks!! |
For some reason I cannot seem to be able to make my custom storage engine working on RN. What works in a clean CRA web project doesn't in a clean CRNA project.
I have created a new project by running
expo init
and choosing the Bare workflow with minimal settings. I've installed theeasy-peasy
package (4.0.1) and modified the App.js as such:As I launch the project in my iOS simulator,
GET_ITEM [EasyPeasyStore][0]
is logged.As I press the button,
STATE CHANGE 2
is logged.However,
SET_ITEM
never gets logged.As mentioned, the same code on a web project works fine and
SET_ITEM...
is logged.Any ideas?
The text was updated successfully, but these errors were encountered: