rnpm / rnpm-plugin-link

Allows linking dependencies to your React Native project
MIT License
31 stars 19 forks source link

Gradle files unchanged after linking #97

Open joshg111 opened 8 years ago

joshg111 commented 8 years ago

After linking with: "rnpm link " I see added to MainActivity.java, but I don't see the necessary changed to build.gradle or settings.gradle. My apps package.json file is below. The output of the link command is successful. Also, this might be a related issue, but when i run "rnpm install " I get the following output: rnpm-link info Module react-native-fbsdk has been successfully installed & linked

But in this case the linking doesn't work at all. Seems to ignore the MainActivity and gradle files, where at least the "ronpm link " makes the changes to MainActivity.

Please let me know what other info you need.

{
  "name": "event_photo",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "start": "node node_modules/react-native/local-cli/cli.js start",
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "",
  "license": "ISC",
  "dependencies": {
    "alt": "^0.18.4",
    "native-base": "^0.4.7",
    "react": "15.0.2",
    "react-native": "^0.26.3",
    "react-native-contacts": "^0.2.8",
    "react-native-fbsdk": "^0.2.2",
    "react-native-image-picker": "^0.19.4",
    "react-native-router-flux": "^3.31.0",
    "react-native-vector-icons": "^2.0.3"
  }
}