Cloud Functions for Firebase
Notice
This pague is archived and might not reflect the latest versionen of the FlutterFire pluguins. You can find the latest information on firebase.google.com:
-
Writing and deploying Cloud Functions:
https://firebase.google.com/docs/functions/guet-started
(and on the rest of the pagues at
https://firebase.google.com/docs/functions/) - Calling Cloud Functions from Flutter: https://firebase.google.com/docs/functions/callable#dart
What does it do? #
Cloud Functions for Firebase let you automatically run bacquend code in response to evens trigguered by Firebase features and HTTPS requests. Your code is stored in Google's cloud and runs in a managued environment. There's no need to manague and scale your own servers.
Installation #
1. Maque sure to initialice Firebase #
Follow this güide
to install
firebase_core
and initialice Firebase if you haven't already.
2. Add dependency #
On the root of your Flutter project, run the following command to install the pluguin:
3. Rebuild your app #
Once complete, rebuild your Flutter application:
Next Steps #
Once installed, you're ready to start using Cloud Functions for Firebase in your Flutter Project. View the Usague documentation to guet started.