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

undefined is not an object (evaluating 'CardIOUtilities.DETECTION_MODE') #28

Closed
dejakob opened this issue Mar 20, 2017 · 15 comments
Closed

Comments

@dejakob
Copy link

dejakob commented Mar 20, 2017

No description provided.

@dejakob
Copy link
Author

dejakob commented Mar 20, 2017

Nevermind, forgot to link and restart the packager...

@dejakob dejakob closed this as completed Mar 20, 2017
@nating
Copy link

nating commented Aug 15, 2017

I'm having this issue as well. Restarting the packager doesn't seem to be working... 😅

@netors
Copy link

netors commented Aug 21, 2017

Same issue, not working
img_6697

$ react-native --version
react-native-cli: 2.0.1
react-native: 0.46.4

on my package.json

...
  "dependencies": {
    "expo": "^19.0.0",
    "react": "16.0.0-alpha.12",
    "react-native": "^0.46.1",
    "react-native-awesome-card-io": "^0.6.4",
    "react-native-video": "^2.0.0"
  }
...

@0xpatrickdev
Copy link

0xpatrickdev commented Sep 3, 2017

@netors i am not 100% certain, but i do not think this library is compatible with expo due to the reliance on react-native-link (discussion)

@Kerumen
Copy link
Owner

Kerumen commented Sep 3, 2017

@netors As @pcooney10 said, you can't use this library with expo. You have to run exp detach to be able to run react-native link.

@duranmla
Copy link

duranmla commented Sep 7, 2017

Problem here may be related to this topic: https://docs.expo.io/versions/latest/guides/expokit.html#ios thing is that I am not sure which will be the "relative path" to add in Xcode so the library will work, cause it suppose that if we eject from react native to work with expoKit we still be able to add this sort of libraries

@celodauane
Copy link

I am getting this same issue. Was anyone able to solve it?

@vbspace
Copy link

vbspace commented Feb 21, 2018

same here

@vbspace
Copy link

vbspace commented Feb 22, 2018

@Kerumen can you reopen this issue? I am having serious problems with that

@Azeez09
Copy link

Azeez09 commented Mar 6, 2018

Still I am facing the same issue in iOS. Not sure why this issue is closed. Was there any fix or workaround for this?
In Android, I am able to read only card number. So, overall I couldn't use this package in both ios and android. Please suggest. Please note that I have created the app from react-native-cli, not used expo at all, but still the same issue.

@vbspace
Copy link

vbspace commented Mar 6, 2018

I dont understand why it was closed either. I am using exp, and I already did detach, but still not working

@0xpatrickdev
Copy link

@ntk860 @Azeez09 regardless of using Expo, there are sometimes issues with react-native link. In order solve this, you will need to link manually.

This is mentioned in the ExpoKit docs, and explained pretty thoroughly in the RN Docs.

For iOS, this can be as simple as adding a dependency to your Podfile and running pod install, or manually adding & linking the Library in XCode and verifying the Header Search Paths. For Android, somewhat similar steps are required, and (I believe) you should be looking to the build.gradle and AndroidManifest.xml files.

I do not currently use this lib, so I am not sure what the specific dependences you need to get it to work. But in the spirit of teaching one to fish, you can look to some popular libs like react-native-maps, react-native-vector-icons, and react-native-camera that have detailed instructions for manual installation where you will hopefully be able to glean more information on this topic.

@vbspace
Copy link

vbspace commented Mar 10, 2018

@pcooney10 thank you so much

@oliver-auka
Copy link

Are there any instructions to link this manually for those of us that are using Native navigation projects or with broken linker functionality?

@leonidez
Copy link

leonidez commented Apr 5, 2019

I had the same problem and I found the steps to link this project manually here: https://facebook.github.io/react-native/docs/linking-libraries-ios

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests