Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,24 @@ React Native Push Notification API for iOS.
yarn add @react-native-community/push-notification-ios
```

### Link
## Link

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

- `react-native >= 0.60`

### React Native v0.60+

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:

```bash
npx pod-install
```

- `react-native <= 0.59`
For android, the package will be linked automatically on build.

<details>
<summary>For React Native version 0.59 or older</summary>

### React Native <= v0.59

```bash
react-native link @react-native-community/push-notification-ios
Expand All @@ -44,6 +49,8 @@ react-native link @react-native-community/push-notification-ios
- manual linking

If you don't want to use the methods above, you can always [link the library manually](./docs/manual-linking.md).

</details>

### Add Capabilities : Background Mode - Remote Notifications

Expand Down