Skip to content

Commit 1b46310

Browse files
committed
update installation docs
1 parent 40f56fa commit 1b46310

File tree

1 file changed

+26
-3
lines changed

1 file changed

+26
-3
lines changed

docs/gettingstarted.md

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22

33
Add the library to your existing React Native project.
44

5-
65
```bash
76
npm install react-native-mmkv-storage
87
```
98

10-
or
9+
or
1110

1211
```bash
1312
yarn add react-native-mmkv-storage
@@ -19,7 +18,31 @@ Run the following inside ios folder in your project to add the MMKV.framework
1918
pod install
2019
```
2120

22-
**Read Next:** [Creating an MMKV Instance](creatinginstance.md)
21+
## >=0.5.0 Installation Steps
22+
23+
### Android
24+
25+
Add this to your `android/app/build.gradle` file.
26+
27+
```
28+
android {
29+
30+
...
31+
packagingOptions {
32+
pickFirst '**/*.so'
33+
}
2334
35+
}
36+
```
37+
38+
### iOS
2439

40+
1. Update your project deployment target to `11.0`
2541

42+
2. Update your deployment target in project Podfile
43+
44+
```
45+
platform :ios, '11.0'
46+
```
47+
48+
**Read Next:** [Creating an MMKV Instance](creatinginstance.md)

0 commit comments

Comments
 (0)