react-native-fabric-digits
react-native-fabric-digits copied to clipboard
[Android] Must initialize Fabric before using singleton()
Getting this error when calling DigitsLoginButtonRef.getSessionDetails( callback )
Any idea what may cause this problem?
hey @lsps9150414 -- which version of DigitsKit are you using? it looks like there might have been some recent changes to the initialisation...
have you got something like [Fabric with:@[[Digits sharedInstance]]];
in your AppDelegate.m?
Hey @jpdriver, I'm getting this only in Android. I thing AppDelegate.m is not relevant?
@lsps9150414 ah yeah of course it's not. sorry my bad!
what I meant was have you got
TwitterAuthConfig authConfig = new TwitterAuthConfig(TWITTER_KEY, TWITTER_SECRET);
Fabric.with(this, new TwitterCore(authConfig), new Digits());
in your MainActivity.java
?