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
Error throwing on Answers call #4
Comments
Are you certain that you have the native files added to your project? Unfortunately I broke my arm just below the shoulder a few days ago so I'm fairly useless at the moment and can't help too much |
I'm getting the same error, even after having dragged over the |
Strange, wondering if its picking up the native module correctly. Can you test this and see what it prints out? var { NativeModules, Platform } = require('react-native');
var SMXAnswers = NativeModules.SMXAnswers;
console.log('SMXAnswers');
console.log(SMXAnswers);
console.log('-----------------');
` |
I'll give it a try and report back. |
That seemed to do the job, thanks. On Sat, Feb 20, 2016 at 11:46 AM, Sercan Demircan notifications@github.com
|
I'm guessing those files weren't properly added to the Compile Sources build phase when they were first included |
@kevando This still an issue? If so can you try making sure that the .m files are in the Compile Sources build phase, and if not add them? |
I'm very excited to get this module working in my project.
However, I load in the Answers code exactly as you have:
var Fabric = require('react-native-fabric');
var { Answers } = Fabric;
Answers.logCustom('Performed a custom event', { bigData: true });
And I am getting this error
I have only js experience, so not sure where to begin debugging this. Any help is appreciated. thanks!
The text was updated successfully, but these errors were encountered: