Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Crashlytics Fabric multiple targets

I have an app with multiple targets some of which have different bundle ids. I have managed to add Fabric, specifically Crashlytics to apps with the same bundle id in the past but im not sure how to go about multiple targets with different bundle ids.

Any pointers or documentation i might have missed?

like image 870
Return-1 Avatar asked Apr 19 '17 14:04

Return-1


People also ask

Is Crashlytics deprecated?

Old versions of your app still using the Fabric Crashlytics SDK will not break once it's deprecated, however they will no longer submit crash reports. But it seems like it will just continue to work as per normal after this date until further notice. Just leave it the way it is.

What is fabric Crashlytics?

Android Crash Reporting Tools Fabric - Crashlytics Fabric is a modular mobile platform that provides useful kits you can mix to build your application. Crashlytics is a crash and issue reporting tool provided by Fabric that allows you to track and monitor your applications in detail.

How do you integrate Crashlytics in IOS app?

Step 1: Add the Firebase Crashlytics SDK to your app In Xcode, with your app project open, navigate to File > Add Packages. Note: New projects should use the default (latest) SDK version, but you can choose an older version if needed. Choose the Crashlytics library.


2 Answers

You can create Crashlytics for Multiple targets in single app by adding multiple RUN SCRIPT in BUILD PHASES. Fabric will identify based on UNIQUE RUN SCRIPT

I am working on 6 targets in single projects,getting all crashes in Fabric By target wise.

Target-->Build phases-->Add Run script

like image 114
Hari c Avatar answered Sep 18 '22 23:09

Hari c


From Fabric's documentation:

To run Crashlytics with multiple targets, add a Crashlytics Run Script to each target’s Build Phase.

This worked fine for me in my projects where I have Fabric configured for both the main app target, as well on several extensions in their own targets. They ultimately show up as unique "things" in the Fabric web dashboard too which is nice.

like image 43
Andy Obusek Avatar answered Sep 17 '22 23:09

Andy Obusek