Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a library as an external library without NPM #22589

Closed
Gshock1 opened this issue Dec 10, 2018 · 1 comment
Closed

Adding a library as an external library without NPM #22589

Gshock1 opened this issue Dec 10, 2018 · 1 comment
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot. Type: Question Issues that are actually questions and not bug reports.

Comments

@Gshock1
Copy link

Gshock1 commented Dec 10, 2018

Hi all,

I have a question, hope someone will help me cause I'm starting to lose my mind here.
I have a library that I was imported it to my android solution just fine.
Now, I would like to add it to my iOS solution, but no success so far.

I've updated the headers path in the xCode, as well as, add the xcodeproj file to the libraries folder,
but I'm keep getting: "module not found" error in the runtime.

Any help?
Thanks.

index.js

import QuickActions from '../node_modules/react-native-quick-actions'

package.json:
{
  "name": "Guy",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "start": "node node_modules/react-native/local-cli/cli.js start",
    "test": "jest"
  },
  "dependencies": {
    "babel-preset-es2015": "^6.24.1",
    "entypo": "^2.0.0",
    "google-places": "0.0.2",
    "moment": "^2.19.1",
    "react": "16.0.0-beta.5",
    "react-native": "0.49.1",
    "react-native-display": "^1.0.8",
    "react-native-elements": "^0.17.0",
    "react-native-fbsdk": "^0.6.0",
    "react-native-firebase": "^3.1.0",
    "react-native-google-places-autocomplete": "^1.3.6",
    "react-native-localization": "^0.2.1",
    "react-native-maps": "^0.16.4",
    "react-native-modal": "^4.1.1",
    "react-native-quick-actions" : "0.3.7",
    "react-native-modal-datetime-picker": "^4.13.0",
    "react-native-modal-picker": "0.0.16",
    "react-native-modal-selector": "0.0.22",
    "react-native-ratings": "^4.1.0",
    "react-native-restart": "0.0.6",
    "react-native-slider": "^0.11.0",
    "react-native-snap-carousel": "^3.4.0",
    "react-native-vector-icons": "^4.4.0",
    "react-navigation": "^1.0.0-beta.13"
  },
  "devDependencies": {
    "babel-jest": "22.2.0",
    "babel-preset-react-native": "4.0.0",
    "jest": "22.2.1",
    "react-test-renderer": "16.0.0-beta.5"
  },
  "jest": {
    "preset": "react-native",
    "transformIgnorePatterns": [
      "node_modules/(?!(.*-)?react-(.*-)?native(-.*)?)"
    ],
    "setupFiles": [
      "./jest-setup.js"
    ]
  }
}
@Gshock1 Gshock1 added the Type: Question Issues that are actually questions and not bug reports. label Dec 10, 2018
@react-native-bot
Copy link
Collaborator

We are automatically closing this issue because it does not appear to follow any of the provided issue templates.

Please make use of the bug report template to let us know about a reproducible bug or regression in the core React Native library.

If you'd like to propose a change or discuss a feature request, there is a repository dedicated to Discussions and Proposals you may use for this purpose.

@react-native-bot react-native-bot added Ran Commands One of our bots successfully processed a command. 📋No Template labels Dec 10, 2018
@facebook facebook locked as resolved and limited conversation to collaborators Dec 10, 2019
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Dec 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot. Type: Question Issues that are actually questions and not bug reports.
Projects
None yet
Development

No branches or pull requests

2 participants