diff --git a/ios/RNCallKit/RNCallKit.m b/ios/RNCallKit/RNCallKit.m index fc3439f..191b50c 100644 --- a/ios/RNCallKit/RNCallKit.m +++ b/ios/RNCallKit/RNCallKit.m @@ -299,6 +299,11 @@ - (CXProviderConfiguration *)getProviderConfiguration if (_settings[@"ringtoneSound"]) { providerConfiguration.ringtoneSound = _settings[@"ringtoneSound"]; } + if (_settings[@"includesCallsInRecents"]) { + if (@available(iOS 11.0, *)) { + providerConfiguration.includesCallsInRecents = [_settings[@"includesCallsInRecents"] boolValue]; + } + } return providerConfiguration; }