React-native-firebase: Remove Crashlytics or set this module optional

Created on 22 Jan 2018  路  6Comments  路  Source: invertase/react-native-firebase

After update from 3.1.0 to 3.2.2 I facing with build error - This app relies on Crashlytics. Please sign up for access at https://fabric.io/sign_up, install an Android build tool and ask a team member to invite you to this app's organization.

I don't want use this analytics service because I prefer sentry.
Please remove it or set optionally

Thank you

Build Error Android Docs Waiting for User Response

Most helpful comment

Adding transitive code fixed for me!


This could be more clear in the docs. We use react-native link so we expect this part to be correct already. The docs even says This should be here already instead of Add the transitive line below so our eyes end up skipping this part :)

image

All 6 comments

@6pm can we see your build gradle? If you added the transitive = false as per docs you shouldn't be having Crashlytics included as part of your build.

image

Closing due to lack of response. Please re-open with the information requested if it's still an issue.

Adding transitive code fixed for me!


This could be more clear in the docs. We use react-native link so we expect this part to be correct already. The docs even says This should be here already instead of Add the transitive line below so our eyes end up skipping this part :)

image

Thanks @brunolemos

Seriously our eyes skip this one in docs. Changed and working well.


The file "build.gradle" will have

compile project(':react-native-firebase')

Which needs to be changed to

compile(project(':react-native-firebase')) {
    transitive = false
}

If you run react-native link react-native-firebase then this should be taken care of for you automatically?

@chrisbianca IIRC I did use link and it did not add the transitive part

Was this page helpful?
0 / 5 - 0 ratings