-
Notifications
You must be signed in to change notification settings - Fork 34
Adding Third Party Libraries
Mikunj Varsani edited this page Jul 13, 2018
·
1 revision
Generally the third party libraries have installation instructions, however there are some which require you to link iOS and Android libraries to the project.
This is generally done by using react-native link
, but the problem with this is that it will divert iOS dependencies to Cocoapod. So instead of linking the files in the *.xcodeproject
file, it will add a line in the Podfile
. This can sometimes be a pain in the butt and thus there are 2 options if you want to avoid this behaviour.
- Link manually
- Delete
Podfile
. Runreact-native link
. RestorePodfile
.
The second option is fully automated and is probably the easiest, but i recommend going with option 1 as react-native link
sometimes has problems linking libraries properly.