[docs] prettier

This commit is contained in:
Salakar
2019-07-12 15:20:14 +01:00
parent 7e7bcfc51e
commit 50ad72f6aa
79 changed files with 502 additions and 495 deletions

View File

@@ -1,6 +1,6 @@
---
title: Configure via firebase.json
description: Configure your Firebase services via a `firebase.json` file.
description: Configure your Firebase services via a `firebase.json` file.
---
# React Native Firebase JSON Configuration
@@ -13,7 +13,7 @@ These options are here to replace steps where you'd normally have to make native
## Structure
All options for React Native Firebase must be placed inside a wrapping `react-native` object.
All options for React Native Firebase must be placed inside a wrapping `react-native` object.
**Supported Values**: `boolean`, `string`, `number`
@@ -27,14 +27,14 @@ All options for React Native Firebase must be placed inside a wrapping `react-na
"crashlytics_ndk_enabled": true,
"crashlytics_debug_enabled": true,
"crashlytics_auto_collection_enabled": false,
"ml_natural_language_language_id_model" : true,
"ml_natural_language_smart_reply_model" : false,
"ml_vision_face_model" : true,
"ml_vision_image_label_model" : false,
"ml_vision_object_detection_model" : true,
"ml_natural_language_language_id_model": true,
"ml_natural_language_smart_reply_model": false,
"ml_vision_face_model": true,
"ml_vision_image_label_model": false,
"ml_vision_object_detection_model": true,
"messaging_auto_init_enabled": false
}
}
@@ -44,55 +44,55 @@ All options for React Native Firebase must be placed inside a wrapping `react-na
You may find it useful to use it for non-Firebase things in your project, e.g:
- toggling a feature
- injecting values into your Android manifest
- switching Android source sets
- controlling optional dependencies
- controlling native dependency versions
- customising build time logic
- customising runtime logic
- switching which podspec to use based
- toggling a feature
- injecting values into your Android manifest
- switching Android source sets
- controlling optional dependencies
- controlling native dependency versions
- customising build time logic
- customising runtime logic
- switching which podspec to use based
All config items in a `firebase.json` file can be read at every stage of your app's build/run cycle:
- Android
- Inside Gradle build
- Inside native code (e.g. Java)
- iOS
- Inside Script Phases
- Inside Pod install (e.g. can be read inside pod specs)
- Inside native code (e.g. Objective-C)
- JS
- Inside your app bundle
- RN CLI - Project Config (`react-native.config.js`)
- RN CLI - Dependency Config (`react-native.config.js`)
To help you with this we've documented the internal APIs that are accessible at every location:
#### Android - Runtime (Java)
TODO
#### Android - Build time (Groovy)
TODO
#### iOS - CocoaPods (Ruby)
TODO
#### iOS - Script Phases (Bash)
TODO
#### iOS - Runtime (Objective-C)
TODO
#### RN CLI - Project Config (`react-native.config.js`)
TODO
#### RN CLI - Dependency Config (`react-native.config.js`)
TODO
- Android
- Inside Gradle build
- Inside native code (e.g. Java)
- iOS
- Inside Script Phases
- Inside Pod install (e.g. can be read inside pod specs)
- Inside native code (e.g. Objective-C)
- JS
- Inside your app bundle
- RN CLI - Project Config (`react-native.config.js`)
- RN CLI - Dependency Config (`react-native.config.js`)
To help you with this we've documented the internal APIs that are accessible at every location:
#### Android - Runtime (Java)
TODO
#### Android - Build time (Groovy)
TODO
#### iOS - CocoaPods (Ruby)
TODO
#### iOS - Script Phases (Bash)
TODO
#### iOS - Runtime (Objective-C)
TODO
#### RN CLI - Project Config (`react-native.config.js`)
TODO
#### RN CLI - Dependency Config (`react-native.config.js`)
TODO