[英]voip notification not coming when the app is inactive for around 8 hours
I am building a group calling app and using ionic3 for the same. 我正在建立一个组调用应用程序,并使用ionic3 。 I am using voIP notification when the app is in background on inactive in ios.
当应用程序在ios中处于非活动状态时在后台时,我正在使用voIP通知 。 Everything works fine and as expected.
一切正常,并按预期进行。 The problem I am facing is when the app is in background or inactive for around 8 hours, I do not receive the voIP notification and hence app doesn't wakes up.
我面临的问题是当应用程序在后台运行约8小时或处于非活动状态时,我没有收到voIP通知,因此应用程序无法唤醒。 i am just a beginner in iOS development so It would be a great help if anyone could help me figure out this issue.
我只是iOS开发的初学者,所以如果有人可以帮助我解决这个问题,那将是一个很大的帮助。
Once you receive payload, you have to schedule local notification with sound file. 收到有效负载后,您必须安排带有声音文件的本地通知。
You can also debug is your app crashing in background or killed state. 您还可以调试是您的应用在后台崩溃还是处于死机状态。
About 8 hours or any hours, ideally there is no issue when your integration is perfect. 大约8个小时或任何几个小时,理想情况下,完美的集成是没有问题的。
Keep whatsapp in background for 2 days, then make incoming call to that whatsapp, it will notify you. 将whatsapp在后台放置2天,然后对该whatsapp进行来电,它将通知您。
Refer more information about VOIP integration 参考有关VOIP集成的更多信息
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.