Skip to content

Feature Request / Question: iOS example for MULTI_PROCESS mode (v3 and v4) #915

@DarWiM

Description

@DarWiM

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

  1. Are there any extra setup steps needed to make MULTI_PROCESS fully reliable on iOS (e.g., file locks, flush timing, synchronization)?
  2. Could you please include a minimal working example in the docs for iOS multi-process setups (main app + extension)?
  3. 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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions