I assumed that data persisted with react-native-mmkv would automatically be shared between app and share extension, but this is not the case. I missed a small detail in the react-native-mmkv README, according to which we need to set an AppGroup key in the app's and share extension's Info.plist to the value of our app group name. This PR fixes this and adds an example called with-mmkv to demonstrate that this is working now
I assumed that data persisted with
react-native-mmkv
would automatically be shared between app and share extension, but this is not the case. I missed a small detail in thereact-native-mmkv
README, according to which we need to set anAppGroup
key in the app's and share extension's Info.plist to the value of our app group name. This PR fixes this and adds an example calledwith-mmkv
to demonstrate that this is working now