-
-
Notifications
You must be signed in to change notification settings - Fork 268
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
Upgrading to 1.3.3 creates compile error #177
Comments
the same problem
|
Hi! Yeah, MMKV 1.3.3 requires RN 0.66 to build. I will fix this to also make it build for RN 0.65 and below when I find some free time! :) |
react-native-mmkv/package.json Lines 69 to 72 in e0527fc
How about removing dirty versions ^^^ and use something valuable |
@mrousavy no stress. I just wanted to report the issue. For me that is not a problem. |
worked like a charm! |
Thanks! Upgraded to React Native 0.66 and worked just fine. |
Those mere mortals that couldn't upgrade to RN |
Should downgrading to 1.3.1 work for RN 0.64? I don't need the newer features, but I'm locked to RN 0.64 by expo (SDK 43). I downgraded to 1.3.1 after reading this thread and now my error is slightly different. I'm using the config plug linked in the other thread, so I'm not sure what else I might be doing wrong.
EDIT: |
Will this ever get fixed? |
As you can read in my previous comment, there is a solution for this problem. Simply use RN 0.66. In said comment, I also said that I will take a look at this when I have some free time. I didn't have free time to fix your issues yet, since I am busy running a company and enjoying life. Instead of rudely asking someone that provides an awesome project for free to fix your issues, why not try to fix it yourself and contribute to the project you are using for free? This open source software is provided as is, and I even included an Example project ( |
@mrousavy totaly agree. Your work is really bringing react-native forward. Some people do not understand what work is put into these kind of libraries and aparently do not appreciate it. This really is a downside of open-source... |
@mrousavy All I did was asking if it was going to be fixed becuase there were no new info after almost 2 months and wanted to know if you are still working on this or just ignoring the error because it works on the latest RN version. Sorry if the message was rude or similar, not my intention. If you have any idea why it's not working with RN <0.66 I can try to fix it and open a PR. Cheers |
All good, I'm sure it's just the form of communication, hard to tell a tone over the internet. No, I am not currently investigating this, since react-native-mmkv is as fast as ever and works great in the If you find a fix that works for you, I am very happy to test your PR if it still works in my apps, and if it does we can get that to master asap. :) Have a nice weekend y'all |
Also, thank you Alex for the Coffee. Much appreciated! 🖤 |
The issue is here RN < 0.66 doesn't need that block, while other libraries like react-native-mmkv-storage
That doesn't work here, no idea why, the I got it working for RN 0.66 with that code but only sometimes, so will use If anyone wants it:
|
Thaks for the solution, @Albermonte |
Hi,
after upgrading to version 1.3.3 I get the following error:
Donwgrading to 1.3.2 again solves this issue.
The text was updated successfully, but these errors were encountered: