Android Question Crashlytics -- installation

Semen Matusovskiy

Well-Known Member
Licensed User
Hi, guys --

Is https://www.b4x.com/android/forum/threads/crashlytics-crash-reports.87510/ actual ?

Why I ask ... I decided to integrate Crashlytics to see problems on user's phones.
I followed fabric.io recommendations and installed plugins in Android Studio.

This plugins offers to add to manifest
B4X:
<meta-data android:name="io.fabric.ApiKey"  android:value="..." />
only.

Meanwhile https://www.b4x.com/android/forum/threads/crashlytics-crash-reports.87510/ offers to add
B4X:
AddApplicationText(
 <provider
            android:name="com.crashlytics.android.CrashlyticsInitProvider"
            android:authorities="$PACKAGE$.crashlyticsinitprovider"
            android:exported="false"
            android:initOrder="100" />
           )
       
CreateResource(values, com_crashlytics_build_id.xml,
<resources xmlns:tools="http://schemas.android.com/tools">
<string tools:ignore="UnusedResources,,TypographyDashes" name="com.crashlytics.android.build_id"
   translatable="false">cc7c8eddb7024f38a1b4491ef214b8f7</string>
</resources>)
[/SIZE]

Why ?
 

Computersmith64

Well-Known Member
Licensed User
Longtime User
You should be using Firebase for Crashlytics. Even Fabric tell you to use Firebase... https://fabric.io/blog

But if you want to keep using Fabric, don't be surprised when it stops working at the end of 2019.



- Colin.
 
Last edited:
Upvote 0

Semen Matusovskiy

Well-Known Member
Licensed User
Colin -

I am a little confused. As I understand, Firebase simply imports results from Fabric.
I linked Firebase and Fabric from the beginning and can see the same results on both sites (console.firebase.google.com and fabric.io).

Do you think that there is a difference in installation process ?
 
Upvote 0

Computersmith64

Well-Known Member
Licensed User
Longtime User

I don't think Firebase imports results from Fabric. I think the Firebase implementation of Crashlytics is completely separate from Fabric. I use Crashlytics (through Firebase) & I don't have a Fabric account.

My understanding is that Crashlytics (& other Fabric functionality) has been integrated into Firebase - so yes, there probably are some differences between how they are implemented in an app. I can confirm (many times over) that the installation instructions Erel provided with the B4A Crashlytics implementation works well.

There doesn't seem to be much point using Crashlytics on Fabric when they have stated themselves that it has been integrated with Firebase & any new features will be implemented in Firebase only (I guess due to Fabric going EOL at the end of 2019).

- Colin.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…