How to keep App Engine Servlet Listening to Firebase

后端 未结 2 588
北恋
北恋 2021-01-06 01:22

I am following the tutorial at: https://cloud.google.com/solutions/mobile/firebase-app-engine-android-studio

I have everything working and the email is sending every

2条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-06 01:37

    Simple answer is you can't do that yet. Google cloud endpoints have a timeout of 1 min. Cron jobs also have a timeout.

    What you need is triggers. This feature was demoed at Google io 16. Whenever data changes, a rest request is fired from firebase to a server and path of your choice.

    Even I am waiting for this to arrive soon.

提交回复
热议问题