You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+69Lines changed: 69 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,75 @@
4
4
5
5
`yarn add react-native-pager-view`
6
6
7
+
## Linking
8
+
9
+
### >= 0.60
10
+
11
+
Autolinking will just do the job.
12
+
13
+
### < 0.60
14
+
15
+
#### Mostly automatic
16
+
17
+
`react-native link react-native-pager-view`
18
+
19
+
#### Manual linking
20
+
21
+
<details>
22
+
<summary>Manually link the library on iOS</summary>
23
+
</br>
24
+
25
+
Follow the [instructions in the React Native documentation](https://facebook.github.io/react-native/docs/linking-libraries-ios#manual-linking) to manually link the framework or link using [Cocoapods](https://cocoapods.org) by adding this to your `Podfile`:
26
+
27
+
```ruby
28
+
pod 'react-native-pager-view', :path => '../node_modules/react-native-pager-view'
29
+
```
30
+
31
+
</details>
32
+
33
+
<details>
34
+
<summary>Manually link the library on Android</summary>
35
+
</br>
36
+
Make the following changes:
37
+
38
+
#### `android/settings.gradle`
39
+
40
+
```groovy
41
+
include ':react-native-pager-view'
42
+
project(':react-native-pager-view').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-pager-view')
0 commit comments