Firebase Google

Asked

Viewed 238 times

6

I currently use Google’s Firebase database, ( and other components like, auth, FCM, etc.) for my project. I wonder if there’s a way to create server-side routines. For example: after a period of days the routine searches by users according to a business rule and sends notifications, all done through routine. There is something like this provided by Firebase ?

  • 1

    This forum is in Portuguese, you can ask in Portuguese or use the Stack Overflow in English. Read this: http://answall.com/help/how-to-ask

  • Question corrected, thank you !

  • -1 removed, after correction.

  • I believe not, I tried a time ago and there was no way, only implemented it now.

2 answers

2

0

You can create your routines on the server side using Firebase Database REST API and send your notifications via Curl also. Just create according to your business rule

Firebase Database REST API

  • I read about, do you know if there’s any way I can leave a "always-on engine" on the server side that performs routines on its own ? I guess that’s where I wanted to go.

  • Yes. You can use a cron to schedule your task and run your script on the server by looking at: http://www.infowester.com/linuxcron.php

  • Anyway I would have to have my own server to do the scheduling of tasks ? Firebase does not offer such service ?

  • Yeah, I at least do that. In this case I don’t know if the firebase database has this service, but Notification yes you can schedule when you send the notification

Browser other questions tagged

You are not signed in. Login or sign up in order to post.