KKSINGLA
KKSINGLA

Reputation: 1344

Fabric crashlytics new implementation not working | fabric.properties

The implementation to put the apiSecret and apiKey in the fabric.properties file isn’t working anymore.

Fabric properties file: app/fabric.properties

apiSecret=xx68f6074dxxxxxc11dxxx97c172e8ebf0
apiKey=xxxe76c4xxxx97e8cxxxx0135e9d46f5a2xxx

Add to .gitignore (for open source projects)

Remove the entry at the AndroidManifest.xml:

<meta-data
    android:name="io.fabric.ApiKey"
    android:value="xxx6c41xxx6ec601xxxd4xxxa2" />

Official documentation: https://docs.fabric.io/android/fabric/settings/working-in-teams.html#android-projects

Does anymore know what have changed or why this isn’t working anymore?

Upvotes: 3

Views: 707

Answers (1)

Uwe
Uwe

Reputation: 111

The issue appears to have been fixed (at least for me) with version 1.31.0 (July 24, 2019) of the Fabric Gradle plugin:

classpath 'io.fabric.tools:gradle:1.31.0'

Now when building an App Bundle the AndroidManifest.xml file includes the io.fabric.ApiKey meta-data element.

https://docs.fabric.io/android/changelog.html#july-24-2019

Upvotes: 2

Related Questions