react-native-fabric-digits
react-native-fabric-digits copied to clipboard
Problem to install/build
I'm using react-native 0.25.1 and linked using rnpm
(everything seems correct in the ios version, the .xcodeproj were added and the lib*.a linked --> I suggest to add this option to the README also).
The error log from XCode:
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_DGTAppearance", referenced from:
objc-class-ref in libRCTDigitsManager.a(RCTDigitsManager.o)
"_OBJC_CLASS_$_DGTAuthenticationConfiguration", referenced from:
objc-class-ref in libRCTDigitsManager.a(RCTDigitsManager.o)
"_OBJC_CLASS_$_DGTOAuthSigning", referenced from:
objc-class-ref in libRCTDigitsManager.a(RCTDigitsManager.o)
"_OBJC_CLASS_$_Digits", referenced from:
objc-class-ref in libRCTDigitsManager.a(RCTDigitsManager.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Just one more conceptual question. The android instructions asks for an API KEY and SECRET, but not the ios. How is that?
hey @deoqc -- haven't got time right now but let me have a look at this for you and get back to you. I was getting similar messages for TwitterKit which I've flagged to the Fabric team.. hopefully the fix will be the same.
Which version of DigitsKit are you using?
@jpdriver I mistakeling had not installed the fabric/digits sdk - I had missed this first step.
I installed it now, and doesn't have this problem anymore.
But the basic example in your code throws and error when I click the Login (Do it) button:
undefined is not an object (evaluating 'DigitsManager.launchAuthentication')
Using latest fabric/digits sdk and [email protected]
Odd, it's working for me.. Can you step through as far as possible with the Chrome Debugger? We'll need to know whether DigitsManager
is being exported to your Native Modules..
My guess is something's gone wrong with your linking, and it hasn't actually exported correctly.
I've tested using the latest DigitsKit & React Native..