Need help?

Please type a word or phrase into the box below to search all our FAQ and support articles.

ReactNative: [TypeError: undefined is not an object (evaluating 'BlinkIDNative.scanWithCamera')]

Follow

When you open the project in Xcode please check in 'Libraries' folder in the project navigator, if you have MicroblinkModule.xcodeproj

Screenshot_2019-01-11_at_12.44.45.png

 

If you don't, you should add it by going inside node_modules/blinkid-react-native/src/ios/MicroblinkModule and dragging MicroblinkModule.xcodeproj from Finder:

Screenshot_2019-01-11_at_11.40.16.png

into Libraries folder inside Xcode:

Screenshot_2019-01-11_at_12.51.41.png


Also, check in 'General' settings of your target, that the 'libMicroblinkModule.a' is listed there under 'Linked Frameworks and Libraries', if it's not then you can find it in MicroblinkModule.xcodeproj under Products and drag it from Project Navigator to the list of 'Linked Frameworks and Libraries'

Screenshot_2019-01-11_at_12.49.09.png

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments