Improve PushNotificationIOS documentation
Summary: The documentation currently list a few but not all of the steps required. This changes completes that list of required project changes. This addresses #5612 Closes https://github.com/facebook/react-native/pull/7985 Differential Revision: D3414576 Pulled By: nicklockwood fbshipit-source-id: 2c7ea6598ee4cd8b6945d9bb229bed5b592a68f6
This commit is contained in:
parent
e334643592
commit
7e445e6cfa
|
@ -36,9 +36,10 @@ const DEVICE_LOCAL_NOTIF_EVENT = 'localNotificationReceived';
|
|||
*
|
||||
* [Manually link](docs/linking-libraries-ios.html#manual-linking) the PushNotificationIOS library
|
||||
*
|
||||
* - Be sure to add the following to your `Header Search Paths`:
|
||||
* `$(SRCROOT)/../node_modules/react-native/Libraries/PushNotificationIOS`
|
||||
* - Set the search to `recursive`
|
||||
* - Add the following to your Project: `node_modules/react-native/Libraries/PushNotificationIOS/RCTPushNotification.xcodeproj`
|
||||
* - Add the following to `Link Binary With Libraries`: `libRCTPushNotification.a`
|
||||
* - Add the following to your `Header Search Paths`:
|
||||
* `$(SRCROOT)/../node_modules/react-native/Libraries/PushNotificationIOS` and set the search to `recursive`
|
||||
*
|
||||
* Finally, to enable support for `notification` and `register` events you need to augment your AppDelegate.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue