简体   繁体   English

Flutter:当应用程序在后台时,如何在 ios 上显示全屏来电?

[英]Flutter: How to display fullscreen incoming call on ios when the app is in background?

I was developing a video call application, and I want to show incoming calls.我正在开发一个视频通话应用程序,我想显示来电。 When The phone is in the foreground I was able to show a full screen in both android and ios.当手机在前台时,我能够在 android 和 ios 中显示全屏。

and when the app is minimized, in android I achieved it by bringing the app to foreground and navigate to the invitation screen.当应用程序最小化时,在 android 中,我通过将应用程序置于前台并导航到邀请屏幕来实现它。

but in ios, I couldn't do that.但在 ios 中,我做不到。 I tried URL scheme but, URL scheme opens the app from other app.我尝试了 URL 方案,但是 URL 方案从其他应用程序打开应用程序。 when I try to call in the app it throws the following exception.当我尝试在应用程序中调用时,它会引发以下异常。

Runner[4647:51243] [default] Failed to open URL exampleapp://: Error Domain=FBSOpenApplicationServiceErrorDomain Code=1 "The request to open "com.exampleapp" failed." Runner[4647:51243] [default] 无法打开 URL exampleapp://:错误 Domain=FBSOpenApplicationServiceErrorDomain Code=1 “打开“com.exampleapp”的请求失败。” UserInfo={BSErrorCodeDescription=RequestDenied, NSUnderlyingError=0x600000acabe0 {Error Domain=FBSOpenApplicationErrorDomain Code=3 "Application com.exampleapp is neither visible nor entitled, so may not perform un-trusted user actions." UserInfo={BSErrorCodeDescription=RequestDenied, NSUnderlyingError=0x600000acabe0 {Error Domain=FBSOpenApplicationErrorDomain Code=3 “应用程序 com.exampleapp 既不可见也没有授权,因此不能执行不受信任的用户操作。” UserInfo={BSErrorCodeDescription=Security, NSLocalizedFailureReason=Application com.exampleapp is neither visible nor entitled, so may not perform un-trusted user actions.}}, NSLocalizedDescription=The request to open "com.exampleapp" failed., FBSOpenApplicationRequestID=0x46fb, NSLocalizedFailureReason=The request was denied by service delegate (SBMainWorkspace) for reason: Security ("Application com.exampleapp is neither visible nor entitled, so may not perform un-trusted user actions" UserInfo={BSErrorCodeDescription=Security, NSLocalizedFailureReason=Application com.exampleapp 既不可见也没有授权,因此不能执行不受信任的用户操作。}}, NSLocalizedDescription=打开“com.exampleapp”的请求失败。, FBSOpenApplicationRequestID=0x46fb, NSLocalizedFailureReason=请求被服务委托 (SBMainWorkspace) 拒绝,原因是:安全性(“应用程序 com.exampleapp 既不可见也无权,因此不能执行不受信任的用户操作”

I searched online but couldn't find anything helpful.我在网上搜索但找不到任何有用的东西。

How to show a full-screen incoming call when the app is in background in ios, like WhatsUp?当应用程序在 ios 中的后台时,如何显示全屏来电,例如 WhatsUp?

I guess that is only possible using IOS Call-Kit, Try to explore IOS Call-Kit Else there is no solution for that我想这只能使用 IOS Call-Kit,尝试探索 IOS Call-Kit 否则没有解决方案

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 当应用程序在后台时如何显示来电? Android - How to show incoming call when the app is in background? Android 当Android Webrtc应用程序在后台启动并且有来电时,如何将来电屏幕显示到前台? - When Android Webrtc app in background, and call comes in, how to bring an incoming call screen to foreground? 当应用程序处于后台或未运行时,在“呼入电话”上不会调用广播接收器 - On Incoming Call when app is in background or app is not running the broadcast receiver is not called 当应用程序在后台flutter时调用onMessage方法 - Call onMessage method when the app is in background in flutter 当应用程序被杀死或不在后台时如何检测来电号码和去电号码 Android 8.0,9.0 - How to detect Incoming call number and Out going call number when app is killed OR not in background Android 8.0,9.0 如何在后台检测来电 - How to detect Incoming call in background 在应用程序处于后台或应用程序未运行时来电时,Lenovo L18021(A5) 中未调用广播接收器 - On Incoming Call when app is in background or app is not running the broadcast receiver is not called in Lenovo L18021(A5) 如何在应用程序被杀死时检测 Android 中的来电电话号码? - How to detect incoming call phone number in Android when app is killed? 来电时如何知道哪个应用正在打开? - How to know which app is opening when an incoming call come? 如何结束connectycube flutter callkit来电 - How to end connectycube flutter callkit incoming call
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM