When Integrating two apps it's essential to add Digit Key and secret key. In swift there is a function to do this like :-
Digits.sharedInstance().startWithConsumerKey("your_key", consumerSecret: "your_secret")
I asked this from the Fabric team.Problem is that they didn't clearly mention that we can use digit key and secret in TwitterAuthConfig. and they told me :-
you should use your Twitter or Digits consumer key and secret in TwitterAuthConfig("consumerKey", "consumerSecret") I'll let the team know that this was confusing.
So you can simply add your Digit consumer key and consumer secret in here :-
TwitterAuthConfig authConfig = new TwitterAuthConfig("consumerKey", "consumerSecret"); Fabric.with(this, new TwitterCore(authConfig), new Digits());