docs(crashlytics): improve Crashlytics docs in response to #2724 (#3112)

* Improved Crashlytics documentation in response to #2724

* Corrected a typo and made instructions about firebase.json clearer

Co-Authored-By: Mike Diarmid <mike.diarmid@gmail.com>

Co-authored-by: Mike Diarmid <mike.diarmid@gmail.com>
This commit is contained in:
Anderson Addo
2020-01-20 09:30:36 -05:00
committed by Mike Diarmid
parent c66bfc61db
commit bb68cbf125

View File

@@ -119,4 +119,8 @@ Once your user has consented, enable Crashlytics collection via the JavaScript A
await firebase.crashlytics().setCrashlyticsCollectionEnabled(true);
```
To learn more about all the `firebase.json` options, view the <Anchor version group="app" href="/reference/firebasejsonconfig">documentation here</Anchor>.
### Enabling Debug Reports
By default, Crashlytics won't report crashes and logs from builds in debug mode. To enable it, set the `crashlytics_debug_enabled` option to `true` in the `react-native` section of your `firebase.json` config file.
To learn more about all the `firebase.json` options, view the <Anchor version group="app" href="/reference/firebasejsonconfig">documentation here</Anchor>.