corymsmith / react-native-fabric

A React Native library for Fabric, Crashlytics and Answers
MIT License
1.31k stars 236 forks source link

Testing Locally #220

Open IncredibleMrTim opened 5 years ago

IncredibleMrTim commented 5 years ago

Is it possible to test react-native-fabric crashlytics locally. I have taken a look at the firebase website here: https://firebase.google.com/docs/crashlytics/force-a-crash?platform=android but i cant get any errors to log out.

uyend commented 5 years ago

You can using Crashlytics.crash();. Just make sure your build variant in android studio is release as opposed to debug when building the app.