How to completely remove Twitter Fabric SDK from Android project?

I integrated the Twitter SDK Fabric into the android project, and now I would like to completely remove it. As I have seen so far, this SDK is fairly new, therefore, it has a little documentation and functionality that goes beyond the most common use cases. I have not yet found anything related to its removal.

I tried to remove the fabric-related code from the build.gradle file (and, of course, remove the calls in the java classes), although crashlytics-build.properties file appears in the project within a few seconds when creating the project. My IDE is IntelliJ. I am not familiar with gradle and know that this will be nothing more than a superficial method.

So my question is: how to completely remove the tissue without leaving a trace?

+5
source share
1 answer

Besides gradle files, AndroidManifest.xml also contains Fabric related data. Be sure to delete this line from the file:

<meta-data android:name="com.crashlytics.ApiKey" android:value="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"/>

Also, find $PROJECT/android/crashlytics.properties and delete it. This file contains the API private key.

Hope this helps

+4
source

Source: https://habr.com/ru/post/1212546/


All Articles