Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i wanna send data from google cloud subpub function to firebase realtime database?? your code didn't work for me..any help ? #6

Closed
hanadjerbi1 opened this issue Sep 19, 2018 · 3 comments

Comments

@hanadjerbi1
Copy link

No description provided.

@GabeWeiss
Copy link
Owner

What error messages do you get? Did you confirm the Cloud Function is firing at all? (I usually print out to log, and check StackDriver to see if your logging messages are being written)

@hanadjerbi1
Copy link
Author

well first..did you use the realtime database firebase fromm google cloud platform to store in the firebase or what ?

@GabeWeiss
Copy link
Owner

We used Firestore, which is an option when setting up the real-time DB in the firebase console. It asks you if you want Firebase, or Firestore. The SDK/API is different for the two, so our code will not work with Firebase RTDB, has to be Firestore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants