Firebase ML package for React Native.
Access the firebase export from the ml package:
ml
import { firebase } from '@react-native-firebase/ml';// firebase.ml().X Copy
import { firebase } from '@react-native-firebase/ml';// firebase.ml().X
Using the default export from the ml package:
import ml from '@react-native-firebase/ml';// ml().X Copy
import ml from '@react-native-firebase/ml';// ml().X
Using the default export from the app package:
app
import firebase from '@react-native-firebase/app';import '@react-native-firebase/ml';// firebase.ml().X Copy
import firebase from '@react-native-firebase/app';import '@react-native-firebase/ml';// firebase.ml().X
A class that all React Native Firebase modules extend from to provide default behaviour.
Firebase ML package for React Native.
Example 1
Access the firebase export from the
mlpackage:Example 2
Using the default export from the
mlpackage:Example 3
Using the default export from the
apppackage:Firebase
ml