5

I have several customized Apps which have different package name/bundle ID. Crash data will be sent to different apps in Fabric Crashlytics dashboard (I guess they have different package name), even if the crash data are same(same type, same exceptions...). My question is: is that possible or is there a way to get the aggregated crash data from these Apps? Thanks.

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
Huigege
  • 115
  • 1
  • 12

1 Answers1

10

Mike from Crashlytics and Fabric here.

If you want multiple apps to flow into a single "parent" app on your Fabric dashboard, then here's what you need to do.

First ensure that the parent app has been added to your Fabric dashboard. Then you want to use something like this, depending on the kits of Fabric that you're using:

Fabric.with(new Fabric.Builder().kits(new Crashlytics(), ...).appIdentifier("parent app identifier").build());

One important note is that if you're using Proguard or Dexguard, de-obfuscation will not work correctly on crashes from the child app. Second, currently this only supported on Android.

Mike Bonnell
  • 16,181
  • 3
  • 61
  • 77
  • Thank you Mike. I will give it a shot. – Huigege Dec 04 '15 at 19:02
  • It works perfectly. Thank you so much. Just curious: is that possible to send data to both 'parent' app and also to itself dashboard? – Huigege Dec 04 '15 at 23:39
  • Not currently. You can either have it flow to the parent app or it as its own app, but not both. – Mike Bonnell Dec 05 '15 at 19:53
  • Hey @Mike Bonnell. I am adding Fabric Twitter Kit into my project now. Method Fabric.with(Context context, Kit... kits) only takes Kit. However, new Fabric.Builder().kits(new Crashlytics(), ...).appIdentifier("parent app identifier").build() is a Fabric, so I cannot add Twitter Kit. Is there a proper way to add Fabric Twitter? – Huigege Dec 18 '15 at 01:09
  • Hi Mike, it's an old question, but I just read your answer. That's good for Android, but is there a similar method for iOS ? – Gougou Apr 24 '17 at 21:10
  • There isn't a method on iOS that accomplish this currently. – Mike Bonnell Apr 25 '17 at 13:28
  • 1
    @MikeBonnell Is that feature on the roadmap for the iOS SDK? Would love to see that for our white labeled apps to be able to group crashes. – Andreas Astlind Sep 29 '17 at 14:56
  • It's not on the immediate roadmap for the iOS SDK. Thanks for letting me know you're interested in it! – Mike Bonnell Sep 29 '17 at 15:04
  • 2
    @MikeBonnell just wanted to let you know, I would like to see this feature too. we are using different bundle identifiers for staging + production although reporting should be in one single project. – da_berni Oct 13 '17 at 09:44
  • @MikeBonnell we have 66 branded apps that we need aggregated Crashlytics for the code base. So aggregated view or parent app would be a great solution for this. Are there any plans to support this for iOS anytime soon? Why only Android? – chrisva Feb 28 '18 at 13:22
  • 1
    It remains not on our immediate roadmap to add in. I appreciate knowing you'd like to see us do so. – Mike Bonnell Feb 28 '18 at 14:56
  • @MikeBonnell One more user voting for this on iOS. I think this is a must have for branded apps. – Florian Cargoet Mar 21 '18 at 09:16
  • and what about combining iOS and Android apps into one i.e. to have single access to the metrics? – ciekawy Apr 19 '18 at 15:11
  • Not on our immediate roadmap, but you can head to fabric.io/home to see multiple apps in one place. – Mike Bonnell Apr 19 '18 at 17:25
  • @MikeBonnell what about NDK symbolization? Will it work? – Vsevolod Ganin Feb 21 '19 at 14:20
  • NDK is treated as coming from the same Android app. – Mike Bonnell Feb 21 '19 at 19:05