mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-06-16 02:44:36 +08:00
33 lines
689 B
Markdown
33 lines
689 B
Markdown
---
|
|
title: Quick Start
|
|
description: Get to grips with the basics of ML Kit in React Native Firebase
|
|
---
|
|
|
|
# ML Kit Quick Start
|
|
|
|
## Installation
|
|
|
|
Install this module with Yarn:
|
|
|
|
```bash
|
|
yarn add @react-native-firebase/mlkit
|
|
```
|
|
|
|
> Integrating manually and not via React Native auto-linking? Check the setup instructions for <Anchor version group href="/android">Android</Anchor> & <Anchor version group href="/ios">iOS</Anchor>.
|
|
|
|
## Module usage
|
|
|
|
Import the ML Kit package into your project:
|
|
|
|
```js
|
|
import mlkit from '@react-native-firebase/mlkit';
|
|
```
|
|
|
|
The package also provides access to the firebase instance:
|
|
|
|
```js
|
|
import { firebase } from '@react-native-firebase/mlkit';
|
|
```
|
|
|
|
### TODO
|