Reputation:
My app needs a functionality of internet call so I planned to use webRTC and using firebase as signalling server.
In this feature caller is interested in calling the callee. But in webRTC the user needs to use the code to answer the call by send sdp and ice candidate.
But the problem for me is how to notify the user about the incoming offer call. Can I use FCM for notifying the user?
What are the other ways of notifying the user?
Upvotes: 1
Views: 942
Reputation: 368
As you are already using firestore or firebase real-time database as a signaling medium you should use firebase cloud messaging to notify users about the calls.
You can yous firebase cloud functions for the same. Where by detecting changes in the database you can send notifications to users.
Link for the cloud function part
Upvotes: 1