Skip to content

Commit

Permalink
docs: Add docs about App Groups
Browse files Browse the repository at this point in the history
  • Loading branch information
mrousavy committed Jun 23, 2023
1 parent 27362a5 commit 140023f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Expand Up @@ -96,6 +96,11 @@ export const storage = new MMKV()

This creates a new storage instance using the default MMKV storage ID (`mmkv.default`).

#### App Groups

If you want to share MMKV data between your app and other apps or app extensions in the same group, open `Info.plist` and create an `AppGroup` key with your app group's value. MMKV will then automatically store data inside the app group which can be read and written to from other apps or app extensions in the same group by making use of MMKV's multi processing mode.
See [Configuring App Groups](https://developer.apple.com/documentation/xcode/configuring-app-groups).

#### Customize

```js
Expand Down

0 comments on commit 140023f

Please sign in to comment.