-
Notifications
You must be signed in to change notification settings - Fork 47
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
[Upgrade to v3] : [@RNC/AsyncStorage]: NativeModule: AsyncStorage is null. #255
Comments
I have the exact same setup as @christophemenager in my project and 💯 to his point about the docs, they don't make any sense at all. Also, in case anyone needs it, here is the MMVK wrapper that SHOULD work when giving your own storage location but doesn't (since using your own storage in React Native breaks this lib). I can't stop stop development to wait for this to get fixed so I'm going to have to fall back. Thanks for heads up to fallback to v2. Kinda sucks that v3 is broken. const storage = new MMKV({ id: "mixpanel" });
const MMKVStorageAdapter: MixpanelAsyncStorage = {
getItem: async (key) => {
return storage.getString(key) || null;
},
setItem: async (key, value) => {
storage.set(key, value);
},
removeItem: async (key) => {
storage.delete(key);
},
}; |
Yes @thoth-seshat v3 is broken since several months now, but Mixpanel does not seem to care unfortunately... |
I apologize for the inconvenience and frustration caused by the ongoing issues with v3. We are aware of the problem and are working on it, thank you for your patience and understanding. |
@zihejia thanks for your answer. Do you have an ETA to fix the v3 release? It has been broken since 6 weeks now :/ |
@zihejia do you have plan to fix this issue? It has been several months since v3 is broken for many users. |
So the expo support in v3 has been broken for months. Does anyone have an alternative lib to integrate with Mixpanel that works with Expo? |
@its-rav not that I am aware of. I picked mixpanel for analytics because of their react-native integration that sounded great, but I am thinking of switching to Amplitude now |
Any updates on this? We are facing the same issue. |
@Kartik4152 nothing new since v3 was released almost 6 months ago. I am still stuck on v2 because of this. @zihejia said they were working on it 5 months ago and they made releases since then, so I hope a fix will come soon. |
For info I have moved to a competitor : https://posthog.com/docs/libraries/react-native which has an excellent react-native support, that's what I was looking for when I first chose mixpane,l but I was wrong 🤦 Good luck! |
Context
Before (v2)
After (v3)
For now, I keep using 2.4.1 as v3 is not usable.
The text was updated successfully, but these errors were encountered: