Cloudkibo / CloudKibo

CloudKibo
0 stars 0 forks source link

Use VoiP push for current iOS notifications #520

Open sumairasaeed opened 7 years ago

sumairasaeed commented 7 years ago

Voip push is more efficient than our normal push notifications. It will make our app more efficient if we replace our normal push with Voip push. It will help in executing the logic in background even when app is in background without waiting for it to come in foreground. Also, we will have to do this for sending any received message on mobile to desktop app immediately in realtime even when app is not active. I have discussed this in detail with @sojharo . Here are some advantages of VoIP push:

Server will have to replace normal push notifications with voip push notifications for: -1-1 chat -Group chat -Broadcast messages

sojharo commented 7 years ago

I have started the work on this and it is under construction. There are many places from where we are sending teh push notification to iOS. We need to convert all of them to use voip push notification.

sojharo commented 7 years ago

I have worked on it and pushed the code. There is just one endpoint remaining which I need to use in order to get the device token. This work is remaining. In this part, the server would receive the device token from the iOS. this device token is used to send voip push notifictation.

sojharo commented 7 years ago

I have completed the work on this and pushed the code to server.