I'm having one issue when accepting the call from background the app in ios dosen't opened but in android opened, and sometimes return this text in console [BackgroundTask] Background Task 120 ("Flutter debug task"), was created over 30 seconds ago. In applications running in the background, this creates a risk of termination. Remember to call UIApplication.endBackgroundTask(_:) for your task in a timely manner to avoid this
我在接受后台来电时遇到了一个问题iOS中的应用程序没有打开,但Android中的应用程序却打开了,有时会在控制台返回这个文本[背景任务]后台任务120(“颤动调试任务”),是30秒前创建的。在后台运行的应用程序中,这会产生终止的风险。请记住为您的任务及时调用UIApplication.endBackround Task(_:)以避免出现这种情况
deposit i used
processing and voip permissions in info.plist
我在info.plist中使用了处理和VoIP权限
note: the process when accept the call it's working in ios
I mean when accept call the app still in background but when open the app i find the changes that did it when accept the call
注意:接听电话的过程在iOS中运行,我的意思是接听电话时,应用程序仍在后台,但打开应用程序时,我会发现接听电话时所做的更改
更多回答
优秀答案推荐
我是一名优秀的程序员,十分优秀!