-1

I have main module where I want to setup Crashlytics and I have separate twitter module with Twitter oauth implementation. So I have 2 different points where I call Fabric.with(..) - first for Crashlytics, second for Twitter core. But when Crashlitycs I enabled, twitter core is disabled. How can I separate this 2 functionality in different modules?

Cœur
  • 37,241
  • 25
  • 195
  • 267
Alex
  • 130
  • 11
  • Possible duplicate of [Lazy initialization of Fabric kits?](http://stackoverflow.com/questions/43284196/lazy-initialization-of-fabric-kits) – Mike Bonnell Apr 17 '17 at 15:17

1 Answers1

1

Mike from Fabric here.

Only the first initialization of Fabric is respected, additional calls to implement Fabric after the first will not work. Currently, you would need to init both elements at the same time.

Mike Bonnell
  • 16,181
  • 3
  • 61
  • 77