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
There are a couple of cases for linking. Choose the appropriate one.
21
+
20
22
-`react-native >= 0.60`
21
23
22
24
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:
23
-
```
25
+
26
+
```bash
24
27
cd ios && pod install
25
28
```
26
29
27
30
-`react-native <= 0.59`
28
-
```
31
+
32
+
```bash
29
33
react-native link @react-native-community/push-notification-ios
30
34
```
31
35
32
36
- upgrading to `react-native >= 0.60`
33
37
34
38
First, unlink the library. Then follow the instructions above.
This module was created when the PushNotificationIOS was split out from the core of React Native. To migrate to this module you need to follow the installation instructions above and then change you imports from:
83
116
84
117
```js
@@ -98,4 +131,4 @@ import PushNotificationIOS from "@react-native-community/push-notification-ios";
0 commit comments