flutter_ios_voip_kit icon indicating copy to clipboard operation
flutter_ios_voip_kit copied to clipboard

Calling api from background when clicking reject button on callkit screen

Open PhuHoaJC opened this issue 5 years ago • 4 comments

Did you test on release mode? I don't know why my app enable to call api on debug mode, but for release mode, it does not work Is there any way to call api once clicking reject button on callkit screen from backgound?

image

PhuHoaJC avatar Dec 08 '20 04:12 PhuHoaJC

@PhuHoaJC

  • If you use a device iOS14 on debug mode, you have a problem like https://flutter.dev/docs/development/ios-14#launching-debug-flutter-without-a-host-computer.

masashi-sutou avatar Dec 10 '20 06:12 masashi-sutou

i mean in comming call of callkit screen when i press reject button, i want to call the api from my server to end call can i call api request from server once click reject button on callkit screen from background? @masashi-sutou for now, it can't. it just works on forceground

PhuHoaJC avatar Dec 10 '20 06:12 PhuHoaJC

i mean in comming call of callkit screen when i press reject button, i want to call the api from my server to end call can i call api request from server once click reject button on callkit screen from background? @masashi-sutou for now, it can't. it just works on forceground

  • I have no idea.
  • I think it is better to set a limit of incoming call time(ex: 100 seconds).

masashi-sutou avatar Dec 10 '20 07:12 masashi-sutou

i mean in comming call of callkit screen when i press reject button, i want to call the api from my server to end call can i call api request from server once click reject button on callkit screen from background? @masashi-sutou for now, it can't. it just works on forceground

I got the same problem. Do you have any solution?

nguyenxuankiet262 avatar Dec 29 '21 15:12 nguyenxuankiet262