Skip to content

RTDB & Message #111

Answered by mobizt
arielba asked this question in Q&A
Discussion options

You must be logged in to vote

You have to use ServiceAuth that can be used for FCM and RTDB.

// ServiceAuth is required for Cloud Messaging.
ServiceAuth sa_auth(timeStatusCB, FIREBASE_CLIENT_EMAIL, FIREBASE_PROJECT_ID, PRIVATE_KEY, 3000 /* expire period in seconds (<= 3600) */);

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by mobizt
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants