-1

I am trying to make a group system in my app.

Whenever a user is added to a group by its admin, it should appear that joined group into user's menu.

Should I use push notifications or is there another way to achieve this?

ekad
  • 14,436
  • 26
  • 44
  • 46
Xabi
  • 159
  • 1
  • 3
  • 13

1 Answers1

0

If you want all users know immediately about adding a new user to a group the best way is as you propose, with push notifications. If you do not need to know this information immediately you can make a request to a server when the application is open and know if there are new users.

ARP
  • 531
  • 3
  • 8
  • But if he has the application openned in the app list, will this second option work? – Xabi Apr 05 '16 at 19:08
  • Another possibility is to make a service (program that runs on background even if the app is closed) that makes requests to the server every x seconds/minutes to know if there are new users. – ARP Apr 05 '16 at 19:15