Home > Blockchain >  Display incoming call notification when flutter app is terminated or in a background
Display incoming call notification when flutter app is terminated or in a background

Time:01-07

is there a way to display incoming call notifications when the flutter app is terminated or in the background? I tried to use connectyCube package, but too complex. Also, I used the flutter background service to listen to incoming calls with socket.io but the app got crashed when it is launched from the background. I need your guidance.

CodePudding user response:

You can use native code in android for incoming call notification.

For Android you can use HeadsUpNotificationService as we use in native.

And for Ios you can use https://github.com/peerwaya/flutter_call_kit

  •  Tags:  
  • Related