-
-
Notifications
You must be signed in to change notification settings - Fork 313
Open
Description
I’m trying to use react-native-mmkv inside an iOS Notification Service Extension, sharing data with the main React Native app via an App Group.
While MULTI_PROCESS is documented conceptually, there’s no clear example of how to properly initialize and use MMKV within an iOS extension target — especially for v3 and v4 versions.
❓Questions
- Are there any extra setup steps needed to make MULTI_PROCESS fully reliable on iOS (e.g., file locks, flush timing, synchronization)?
- Could you please include a minimal working example in the docs for iOS multi-process setups (main app + extension)?
- I tried connecting the following pods:
# For v4
pod "NitroMmkv", :path => "../node_modules/react-native-mmkv"
# For v3
pod "react-native-mmkv", :path => "../node_modules/react-native-mmkv"— but in both cases I couldn’t find a way to interact with MMKV from the Swift / Objective-C class of the Notification Service Extension.
🙏 Thanks
The library works great in standard app contexts — it would be incredibly helpful to have a minimal working iOS example or Pod setup for extensions using MULTI_PROCESS.
Metadata
Metadata
Assignees
Labels
No labels