Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+13 votes
asked in CSC490_Spring2019 by (1 point)

1 Answer

+4 votes
 
Best answer

I'm not sure that push notifications are the best way to go with that -- instead you can use the Firebase real-time database, or the Firebase Cloud FireStore, and have both apps reading/writing from that database, and subscribing to get event notifications in real-time.

However, if you really need the apps to send push notifications to each other, then I think you may be able to do that using the Firebase "Cloud Functions" service, and have one device trigger a cloud function that sends the push notification to another device.

answered by (5.7k points)
selected by
...