voximplant / flutter_callkit

Flutter SDK for CallKit integration to Flutter applications on iOS
MIT License
53 stars 18 forks source link

Where do I put handleIncomingCall method #21

Open evicoach opened 2 years ago

evicoach commented 2 years ago

where will I put the handleIncomingCall method to handle calls when I get voip pushes Future handleIncomingCall(String contactName, String uuid) async { FCXCallUpdate callUpdate = FCXCallUpdate(localizedCallerName: contactName); await _provider.reportNewIncomingCall(uuid, callUpdate); }