From 385fa00af882f642bb6e1c9eb4bb98386b69d80f Mon Sep 17 00:00:00 2001 From: Noah Jorgenson Date: Wed, 6 Jan 2016 10:19:09 -0800 Subject: [PATCH] Docs for manual linking in PushNotificationsIOS Summary: close #3831 Closes https://github.com/facebook/react-native/pull/5008 Reviewed By: svcscm Differential Revision: D2794281 Pulled By: bestander fb-gh-sync-id: 7bf367233fa562b5772fae51511b47cd29030ba2 --- Libraries/PushNotificationIOS/PushNotificationIOS.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Libraries/PushNotificationIOS/PushNotificationIOS.js b/Libraries/PushNotificationIOS/PushNotificationIOS.js index aa3e13fd1..45ade9478 100644 --- a/Libraries/PushNotificationIOS/PushNotificationIOS.js +++ b/Libraries/PushNotificationIOS/PushNotificationIOS.js @@ -30,7 +30,13 @@ var NOTIF_REGISTER_EVENT = 'remoteNotificationsRegistered'; * To get up and running, [configure your notifications with Apple](https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/AddingCapabilities/AddingCapabilities.html#//apple_ref/doc/uid/TP40012582-CH26-SW6) * and your server-side system. To get an idea, [this is the Parse guide](https://parse.com/tutorials/ios-push-notifications). * - * To enable support for `notification` and `register` events you need to augment your AppDelegate. + * [Manually link](https://facebook.github.io/react-native/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` + * + * Finally, to enable support for `notification` and `register` events you need to augment your AppDelegate. * * At the top of your `AppDelegate.m`: *