Right now I’ve my application server and two ionic 2 applications (for android), one that represents the Physician and other that represents the Patient. I need that the Physician calls the Patient to its consultation room whenever the physician wants. So, I was thinking:
1 - The app Physician sends info about the user to the server (in a HTTP POST) (until here its all good);
2 - The server receives it and sends a message or a notification to the respective user.
My questions are:
How can I identify my app Patient accordingly to each user?? IP?? Is there any url associated with each app?
What I want to do is somehow possible?
It would be better if I create a socket between my two apps. Again, how do I identify the app?
thanks in advance