Ad

Is It Possible To Get Apple Push Notifications With Firestore?

Is it possible to implement APNS with Firebase Firestore?

I've managed to send a push notification to devices via Firebase Cloud Messaging from the web console but my app needs to have push notifications for changes in the database, such as when the user receive a like or a friend request.

Is there any workaround?

Thanks for pointing me in the right direction.

Ad

Answer

You need to use Firebase Cloud Functions with the FireStore triggers. The first link has your use case.

There are some great tutorial videos on Firebase's YouTube account. It even includes adding a Firestore Trigger.

Ad
source: stackoverflow.com
Ad