当 flutter 应用程序终止或在后台时显示来电通知
Display incoming call notification when flutter app is terminated or in a background
有没有办法在flutter app
终止或在后台显示来电通知?我尝试使用 connectyCube
包,但太复杂了。另外,我使用 flutter background service
来监听带有 socket.io
的来电,但是应用程序在从后台启动时崩溃了。我需要你的指导。
您可以在 android 中使用本机代码来通知来电。
对于Android,您可以像我们在本机中使用的那样使用 HeadsUpNotificationService。
对于 Ios 你可以使用 https://github.com/peerwaya/flutter_call_kit
有没有办法在flutter app
终止或在后台显示来电通知?我尝试使用 connectyCube
包,但太复杂了。另外,我使用 flutter background service
来监听带有 socket.io
的来电,但是应用程序在从后台启动时崩溃了。我需要你的指导。
您可以在 android 中使用本机代码来通知来电。
对于Android,您可以像我们在本机中使用的那样使用 HeadsUpNotificationService。
对于 Ios 你可以使用 https://github.com/peerwaya/flutter_call_kit