mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-06-12 17:09:00 +08:00
* 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:
committed by
Mike Diarmid
parent
c66bfc61db
commit
bb68cbf125
@@ -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>.
|
||||
|
||||
Reference in New Issue
Block a user