peerwaya / flutter_voip_push_notification

Flutter VoIP Push Notification - Currently iOS >= 8.0 only
BSD 2-Clause "Simplified" License
28 stars 33 forks source link

new update for IOS 13 - Report incoming call for voip #3

Closed rahimfuad closed 4 years ago

rahimfuad commented 4 years ago

Please update to the new iOS 13 update version.

"On iOS 13.0 and later, incoming Voice over IP calls must be reported when they are received and before the didReceiceIncomingPush() method finishes execution, using the CallKit framework, or the system will terminate your app.

Repeatedly failing to report calls may prevent your app from receiving any more incoming call notifications.

Basically, you can no longer use VoIP pushes for non VoIP messaging, and will need to use regular push notifications for those."

rahimfuad commented 4 years ago

just add this code :

FlutterCallKitPlugin.reportNewIncomingCall(uuid, handle: handle, handleType: "generic", hasVideo: false, localizedCallerName: callerName, fromPushKit: true);

savadmv commented 4 years ago

FlutterCallKitPlugin.reportNewIncomingCall(uuid, handle: handle, handleType: "generic", hasVideo: false, localizedCallerName: callerName, fromPushKit: true);

This note working . Please explain in detail . I am not Ios Developer . So i find some difficulty in doing this