masashi-sutou / flutter_ios_voip_kit

One-to-one video call using CallKit and PushKit with flutter iOS app.
MIT License
67 stars 45 forks source link

Triggering incoming call screen from voIPKit.onDidReceiveIncomingPush #12

Closed ghenry closed 4 years ago

ghenry commented 4 years ago

Hi,

In https://github.com/masashi-sutou/flutter_ios_voip_kit/blob/61a93beabf2cbff32321cbab4527335459a75213/ios/Classes/SwiftFlutterIOSVoIPKitPlugin.swift#L113

i.e. voIPKit.testIncomingCall, we don't have to do anything like:

self.voIPCenter.callKitCenter.incomingCall(uuidString: uuid,
                                                   callerId: callerId,
                                                   callerName: callerName) { (error)

or are we triggering the native incoming call UI in onDidReceiveIncomingPush? My understanding is that's where I will be calling my own logic, in this case re-connecting my SIP User Agent.

Thanks.

masashi-sutou commented 4 years ago
ghenry commented 4 years ago

Understood, thanks.