Users are uploading images from the web to Fire Storage. I want to send a notification to the client app when the image is uploaded. Is there a way?
Asked
Active
Viewed 255 times
1 Answers
1
Is there a way to send a notification to the app (using FCM or token) when an image file is added to Firebase Storage?
Yes, you can trigger a function on Cloud Storage changes:
Use functions.storage to create a function that handles Cloud Storage events.
Alternatively, you can store the URL of the image you have uploaded to Firebase Storage into the Cloud Firestore, and again trigger a function on document update, as explained in the following answer:

Alex Mamo
- 130,605
- 17
- 163
- 193