npm install react-native-plugin
coming back to React Native.
This is Obsolete See https://github.com/rnpm/rnpm
Add npm-native
and two simple hooks to plugin's package.json
:
{
"scripts" :
{
"postinstall" : "npm-native --install path_to_lib.xcodeproj",
"uninstall" : "npm-native --uninstall path_to_lib.xcodeproj"
},
dependencies: {
"npm-native": "0.1.x"
}
}
--path_to_lib
— where your XCode project is placed.
E.g. npm-native --install RNGL.xcodeproj
for gl-react-native
.
-
Backup before modify .pbxproj;
-
Validate the final .pbxproj file and if it fails rollback it to the previous state;
-
Allow to copy resources like font files;
-
Android projects support;
Nothing here yet :(