flutter_ios_voip_kit icon indicating copy to clipboard operation
flutter_ios_voip_kit copied to clipboard

how can I get payload data while accept call from app is not running

Open YuvarajaCPR opened this issue 4 years ago • 4 comments

[onDidReceiveIncomingPush] is not called when the app is not running then how can I get voip notification payload data while incoming accept call.

YuvarajaCPR avatar Nov 24 '20 05:11 YuvarajaCPR

@YuvarajaCPR

  • Do you have two real iPhones(not simulator)?
  • If you have two devices, refer to https://github.com/masashi-sutou/flutter_ios_voip_kit#try-out-example-app.
  • If you don't get the payload on a non-running app when you run curl to test VoIP notifications, please let me know.

masashi-sutou avatar Nov 25 '20 05:11 masashi-sutou

When the app is killed i don't receive any incomming notification. Is that a normal use case? btw, am testing on a real device. When the app is in background / foreground it's working fine.

balamuthu1 avatar Feb 12 '21 21:02 balamuthu1

it worked after building the app in release mode!

balamuthu1 avatar Feb 13 '21 09:02 balamuthu1

You managed to receive a call and get caller_id in the app even if it was killed before the call? @balamuthu1

ilicmilan avatar Apr 18 '21 22:04 ilicmilan