From dae16136c9ca28640b545624aec568f815767974 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Wed, 1 Apr 2015 15:52:44 +0000 Subject: [PATCH] update website --- docs/linking-libraries.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/linking-libraries.html b/docs/linking-libraries.html index f5a6835ec39..5dbaecc2fbd 100644 --- a/docs/linking-libraries.html +++ b/docs/linking-libraries.html @@ -10,7 +10,7 @@ folder. Drag this file to your project on Xcode (usually under the Libaries group on Xcode);

Step 2 #

Click on your main project file (the one that represents the .xcodeproj) select Build Phases and drag the static library from the Products folder -insed the Library you are importing to Link Binary With Libraries

Step 3 #

Not every library will need this step, what you need to consider is:

Do I need to know the contents of the library at compile time?

What that means is, are you using this library on the native site or just in +insed the Library you are importing to Link Binary With Libraries

Step 3 #

Not every library will need this step, what you need to consider is:

Do I need to know the contents of the library at compile time?

What that means is, are you using this library on the native site or just in JavaScript? If you are just using it in JavaScript, you are good to go!

This step is not necessary for libraries that we ship with React Native with the exception of PushNotificationIOS and LinkingIOS.

In the case of the PushNotificationIOS for example, you have to call a method on the library from your AppDelegate every time a new push notifiation is @@ -18,7 +18,7 @@ received.

For that we need to know the library's headers. To achieve to your project's file, select Build Settings and search for Header Search Paths. There you should include the path to you library (if it has relevant files on subdirectories remember to make it recursive, like React on the -example).

Next →