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);
}
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);
}