Skip to content

Commit 7a1531b

Browse files
authored
Update README.md (#145)
1 parent 34f0cc6 commit 7a1531b

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,24 @@ React Native Push Notification API for iOS.
1515
yarn add @react-native-community/push-notification-ios
1616
```
1717

18-
### Link
18+
## Link
1919

20-
There are a couple of cases for linking. Choose the appropriate one.
2120

22-
- `react-native >= 0.60`
21+
22+
### React Native v0.60+
2323

2424
The package is [automatically linked](https://github.com/react-native-community/cli/blob/master/docs/autolinking.md) when building the app. All you need to do is:
2525

2626
```bash
2727
npx pod-install
2828
```
2929

30-
- `react-native <= 0.59`
30+
For android, the package will be linked automatically on build.
31+
32+
<details>
33+
<summary>For React Native version 0.59 or older</summary>
34+
35+
### React Native <= v0.59
3136

3237
```bash
3338
react-native link @react-native-community/push-notification-ios
@@ -44,6 +49,8 @@ react-native link @react-native-community/push-notification-ios
4449
- manual linking
4550

4651
If you don't want to use the methods above, you can always [link the library manually](./docs/manual-linking.md).
52+
53+
</details>
4754

4855
### Add Capabilities : Background Mode - Remote Notifications
4956

0 commit comments

Comments
 (0)