Anirudh Agarwal

Results 14 comments of Anirudh Agarwal
trafficstars

Can you help me with the mmapId I should use to get the instance used by RN? Is mmapId same as instance id?

In RN - ``` const storage = new MMKVStorage.Loader().initialize(); storage.setInt('tempInt', 100); ```

I did. Got the same instance with default. But got the incorrect value. Writing this on Android - ``` MMKV instance = MMKV.mmkvWithID("default"); instance.containsKey("tempInt"); // returns true instance.decodeInt("tempInt"); // return...

> > I did. Got the same instance with default. But got the incorrect value. > > Writing this on Android - > > ``` > > MMKV instance =...

> Use `decodeDouble` method of mmkv. I am using 0.6.12 of the library and there seems to be no function like that. Am I missing something here?

@ammarahm-ed I was talking about the native side itself. There seems to be no method called decodeDouble. Only method available are - There is no method to decode string as...

Yep. Got it. Any plans to get those methods added in the near future?

Awesome. Thanks @ammarahm-ed I would have loved to create a PR myself but have never worked on JNI myself. Any estimate on when the next version is coming out?