File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 4
4
Use ` SharedPreference ` (Android) and ` UserDefaults ` (iOS) with React Native over a unified interface.
5
5
All data are stored as String, in case more complex data structure is needed, serialize it (e.g. JSON)
6
6
7
+ ## React Native Version Compatibility
8
+
9
+ Use >= 1.3.0 for RN >= 0.47;
10
+ Use <= 1.2.1 for RN <= 0.46;
11
+
7
12
## Getting started
8
13
9
14
` $ npm install react-native-default-preference --save `
Original file line number Diff line number Diff line change 1
1
2
2
{
3
3
"name" : " react-native-default-preference" ,
4
- "version" : " 1.2.1 " ,
4
+ "version" : " 1.3.0 " ,
5
5
"description" : " Use SharedPreference (Android) and UserDefaults (iOS) with React Native over a unified interface" ,
6
6
"main" : " index.js" ,
7
7
"scripts" : {
15
15
"author" : " kevinresol" ,
16
16
"license" : " MIT" ,
17
17
"peerDependencies" : {
18
- "react-native" : " >=0.29 .0"
18
+ "react-native" : " >=0.47 .0"
19
19
},
20
20
"homepage" : " https://github.com/kevinresol/react-native-default-preference#readme"
21
21
}
You can’t perform that action at this time.
0 commit comments