flutter_call_kit icon indicating copy to clipboard operation
flutter_call_kit copied to clipboard

App getting crashed when in background

Open sahebsingh416 opened this issue 5 years ago • 3 comments

The app is working fine when it is foreground but when VOIP notification is received the app is getting crashed in background. Can you please help with this.

FYI: All the capabilities are given in Xcode and all the configurations are done as per the documentation. Also the payload coming from the server is also correct.

sahebsingh416 avatar Apr 15 '21 06:04 sahebsingh416

Killing app because it never posted an incoming call to the system after receiving a PushKit VoIP push callback.

You need to call the code below in the same thread. FlutterCallKitPlugin.reportNewIncomingCall

https://stackoverflow.com/questions/56788314/ios-13-killing-app-because-it-never-posted-an-incoming-call-to-the-system-after

jrkim123us avatar May 04 '21 08:05 jrkim123us

My branch bug fix may help you bug Fix

zi6xuan avatar Sep 11 '21 14:09 zi6xuan

Hi @zi6xuan

When getting your fixes, it reports async is used which is not compatible below iOS 15.

Any way we can add this fix which can support from iOS 12 and above?

Thanks

elango avatar Dec 09 '21 13:12 elango