Skip to content

Commit e5df463

Browse files
authored
docs: remove old react-native-screens instructions (react-navigation#720)
Removed instructions to add two lines to the dependencies section in `android/app/build.gradle` as it is no longer required by `react-native-screens` after [this PR](software-mansion/react-native-screens#397). `react-native-screens` removed it from their docs [here](software-mansion/react-native-screens#406). I removed it from v4 and v5 of the docs. I didn't see it in any of the other versions.
1 parent 397884e commit e5df463

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

versioned_docs/version-4.x/getting-started.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,6 @@ Next, we need to link these libraries. The steps depends on your React Native ve
7070
cd ios; pod install; cd ..
7171
```
7272

73-
To finalize installation of `react-native-screens` for Android, add the following two lines to `dependencies` section in `android/app/build.gradle`:
74-
75-
```gradle
76-
implementation 'androidx.appcompat:appcompat:1.1.0-rc01'
77-
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0-alpha02'
78-
```
79-
8073
- **React Native 0.59 and lower**
8174

8275
If you're on an older React Native version, you need to manually link the dependencies. To do that, run:

versioned_docs/version-5.x/getting-started.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,6 @@ If you're on a Mac and developing for iOS, you need to install pods to complete
5050
cd ios; pod install; cd ..
5151
```
5252

53-
To finalize installation of `react-native-screens` for Android, add the following two lines to `dependencies` section in `android/app/build.gradle`:
54-
55-
```gradle
56-
implementation 'androidx.appcompat:appcompat:1.1.0-rc01'
57-
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0-alpha02'
58-
```
59-
6053
To finalize installation of `react-native-gesture-handler`, add the following at the **top** (make sure it's at the top and there's nothing else before it) of your entry file, such as `index.js` or `App.js`:
6154

6255
```js

0 commit comments

Comments
 (0)