Closed sumairasaeed closed 7 years ago
I have thought of how desktop communication would communicate to iOS using voip push when iOS is not awake or is in background.
For iOS, the desktop will pool the message that it wants to send to iOS. Then it would ask the server to wake up iOS by sending voip push notification. This time server would also send the unique key of the message that iOS would have to fetch (this unique key would be given by desktop app).
When iOS is awake, it would use the unique key to fetch the message from desktop application. At that time desktop would empty the pool. I have started work on this and it is under construction.
I have done work on this and it is under construction. I am maintaining the array and have written the functions in it to maintain it.
Thanks for the update
I have completed the work on this. Sumaira will need to write the response logic for this on iOS.
Thanks
Desktop app will send the data to mobile when mobile app awakes and make connection.