Cloudkibo / KiboChatDesk

KiboChat for Desktop Application
0 stars 0 forks source link

Send data to mobile when mobile app awakes #40

Closed sumairasaeed closed 7 years ago

sumairasaeed commented 7 years ago

Desktop app will send the data to mobile when mobile app awakes and make connection.

sojharo commented 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.

sojharo commented 7 years ago

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.

jekram commented 7 years ago

Thanks for the update

sojharo commented 7 years ago

I have completed the work on this. Sumaira will need to write the response logic for this on iOS.

jekram commented 7 years ago

Thanks