0

I currently have an app that uses google maps, and each marker within the map is associated with a different user. Once a user clicks on a marker, a custom infowindow is displayed with an "Alert" button

Here's my question: Once that Alert button is pressed, how would I send a notification to the user associated with that specific marker that they have been alerted?

My app uses an SQLite database to store all user information

KENdi
  • 7,576
  • 2
  • 16
  • 31
Sakizzle
  • 9
  • 3

2 Answers2

1

Simply get the user's fcm token id from database and make use of fcm for firing notification

Ashish Pardhiye
  • 510
  • 4
  • 13
0
  1. By using FCM/GCM you can send data to any client.
  2. If you have website,you can use libraries like Socket.io(Node.js) or WebSockets or SignarlR
  3. (Don't recommend)Send data from first client to server and set timer from second client to check updates from server
Community
  • 1
  • 1
Yashar Aliabbasi
  • 2,663
  • 1
  • 23
  • 35