f-miyu / Plugin.CloudFirestore

MIT License
121 stars 44 forks source link

Reactive #23

Closed Loki606 closed 4 years ago

Loki606 commented 4 years ago

Hello,

I was just wondering if anyone could give an example on how to utilize the Subscribe function to a document as a service so that when there's an update on a certain document, the user can get a notification on their device even if the app is closed or in the background.

I saw the description, but it's unclear to me how I would use this as a service and where my code for the documentupdate event would go. :S