Skip to content

Commit afa99e6

Browse files
committed
Release 1.3.0
1 parent 7028ac2 commit afa99e6

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
Use `SharedPreference` (Android) and `UserDefaults` (iOS) with React Native over a unified interface.
55
All data are stored as String, in case more complex data structure is needed, serialize it (e.g. JSON)
66

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+
712
## Getting started
813

914
`$ npm install react-native-default-preference --save`

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
{
33
"name": "react-native-default-preference",
4-
"version": "1.2.1",
4+
"version": "1.3.0",
55
"description": "Use SharedPreference (Android) and UserDefaults (iOS) with React Native over a unified interface",
66
"main": "index.js",
77
"scripts": {
@@ -15,7 +15,7 @@
1515
"author": "kevinresol",
1616
"license": "MIT",
1717
"peerDependencies": {
18-
"react-native": ">=0.29.0"
18+
"react-native": ">=0.47.0"
1919
},
2020
"homepage": "https://github.com/kevinresol/react-native-default-preference#readme"
2121
}

0 commit comments

Comments
 (0)