Skip to content

Commit 9d0af7c

Browse files
authored
Set RN69 to be minimum (#4)
* style (example): fix extra space in react-native-fs2 * build: peer to RN69 or above * build: ios deployment target min is 12.4 in RN69 * docs: add section to readme for matching version to rn
1 parent 82f0301 commit 9d0af7c

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ We will continue to support this library for as long as we use it.
2323
yarn add react-native-fs2
2424
```
2525

26+
#### Supported React Native Versions
27+
| react-native-fs2 | react-native |
28+
|------------------|--------------|
29+
| 3.0.x | >=0.69 |
30+
2631
### Changelog
2732
Changes can be found in [CHANGELOG.md](CHANGELOG.md)
2833

RNFS2.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Pod::Spec.new do |s|
1313
"Connor Tumbleson" => "[email protected]"
1414
}
1515

16-
s.ios.deployment_target = '8.0'
16+
s.ios.deployment_target = '12.4'
1717

1818
s.source = { :git => "https://github.com/sourcetoad/react-native-fs2", :tag => "v#{s.version}" }
1919
s.source_files = "ios/*.{h,m}"

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"dependencies": {
1313
"react": "18.1.0",
1414
"react-native": "0.70.6",
15-
"react-native-fs2": "link:../"
15+
"react-native-fs2": "link:../"
1616
},
1717
"devDependencies": {
1818
"@babel/core": "^7.12.9",

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@
7070
"typescript": "^4.9.3"
7171
},
7272
"peerDependencies": {
73-
"react": "*",
74-
"react-native": "*"
73+
"react": ">= 18.0.0",
74+
"react-native": ">= 0.69.0"
7575
},
7676
"eslintConfig": {
7777
"extends": [

0 commit comments

Comments
 (0)