thanhbinh84
thanhbinh84

Reputation: 18454

Receive Drive content notifications in an Android app without a backend

I have to use Google Drive REST API due to the limitation of Android Drive API for my android app. Everything works properly until registering for change notification. From the API docs, the workflow is:

Is it possible to receive push notification from Google Drive on an android app without my own backend server?

Upvotes: 3

Views: 227

Answers (1)

Martin Zeitler
Martin Zeitler

Reputation: 76679

you'd have define that push notification URL as a Cloud Function HTTP Trigger's URL - which then pushes a Firebase Cloud Messaging notification to an Android client, whenever it is being triggered. basically, this would be a HTTP push notification sending out a subsequent FCM push notification.

Upvotes: 1

Related Questions