Installation and getting started with ML.
This module requires that the
@react-native-firebase/app module is already setup and installed. To install the "app" module, view the
Getting Started documentation.
# Install & setup the app module yarn add @react-native-firebase/app # Install the ml module yarn add @react-native-firebase/ml # If you're developing your app using iOS, run this command cd ios/ && pod install
This package is mostly discontinued since these APIs are no longer available in the latest Firebase SDKs. To call the Cloud Vision API from your app the recommended approach is using Firebase Authentication and Functions, which gives you a managed, serverless gateway to Google Cloud Vision APIs. For an example Functions project see the vision-annotate-images sample project.
Firebase has introduced a custom model downloading API, but the module does not have support for it yet. PRs always welcome!
The table below outlines the current module support for each available service, and their support status here
|Custom Model Downloading||❌|
Current no public APIs