Changes

Jump to: navigation, search

Firebase Cloud Functions

99 bytes added, 30 August
no edit summary
});
</pre>
<htmlet>firebase_android</htmlet>
== Realtime Database Functions ==
Once an HTTP cloud function has been deployed, it is assigned a unique URL via which it can be triggered. An example HTTP cloud function will be implemented in the next chapter (Installing the Firebase CLI).
<htmlet>firebase_android</htmlet>
== Cloud Storage Functions ==
});
</pre>
<htmlet>firebase_android</htmlet>
When uploading files to cloud storage from within a cloud function it is important to remember that the upload will trigger another call to the cloud function (since it counts as a change to a file). To avoid a recursive loop, be sure to add some defensive code to exit from the cloud function in the event that the file change was caused by the function itself. An example of how to achieve this will be covered in the chapter entitled [[A Cloud Functions and Firebase Cloud Storage Example]].

Navigation menu