Hi!
I'm developing a wrapper library for MMKV which will be used for the cross-platform framework React Native. Ideally I want to have a single Wrapper <-> MMKV layer, written in C++ which works on Android and iOS. (That's because I'm using JSI and I am somewhat forced to use a shared C++ codebase, so no platform dependent code in Java or ObjC)
I tried to use the MMKVCore pod instead of MMKV:
#include "mmkv-wrapper.h"
#include <MMKVCore/MMKV.h>
But that somehow still imports Obj-C code (NSObject, ..), because I am getting those errors:

Is there a way that I can use MMKV-Core directly to share code between Android and iOS with a single C++ code-base?
Thanks!
Hi!
I'm developing a wrapper library for MMKV which will be used for the cross-platform framework React Native. Ideally I want to have a single Wrapper <-> MMKV layer, written in C++ which works on Android and iOS. (That's because I'm using JSI and I am somewhat forced to use a shared C++ codebase, so no platform dependent code in Java or ObjC)
I tried to use the
MMKVCorepod instead ofMMKV:But that somehow still imports Obj-C code (NSObject, ..), because I am getting those errors:
Is there a way that I can use MMKV-Core directly to share code between Android and iOS with a single C++ code-base?
Thanks!