What does it do?
Firebase Cloud Functions let you automatically run backend code in response to events triggered by Firebase features and HTTPS requests. Your code is stored in Google's cloud and runs in a managed environment. There's no need to manage and scale your own servers.
Before installing the Cloud Functions plugin, ensure that you have followed the Getting Started documentation and have initialized FlutterFire.
1. Add dependency
cloud_functions dependency to your projects
2. Download dependency
Download the dependency by running the following command in your project:
3. (Web Only) Add the SDK
If using FlutterFire on the web, add the
4. Rebuild your app
Once complete, rebuild your Flutter application:
Once installed, you're ready to start using Cloud Functions in your Flutter Project.
Additional documentation will be available once the Cloud Functions plugin update lands as part of the FlutterFire roadmap.