diff --git a/Sources/Classes/RSDeviceModeManager.m b/Sources/Classes/RSDeviceModeManager.m index 2ff99890..84cb358d 100644 --- a/Sources/Classes/RSDeviceModeManager.m +++ b/Sources/Classes/RSDeviceModeManager.m @@ -161,7 +161,6 @@ - (void) handleCallbacks:(NSString*)key withIntegration:(id)nativ callback(nativeInstance); } else { [RSLogger logDebug:[[NSString alloc] initWithFormat:@"RSDeviceModeManager: handleCallbacks: Either underlying instance or callback for %@ factory is nil", key]]; - callback(nil); } } else { [RSLogger logError:[[NSString alloc] initWithFormat:@"RSDeviceModeManager: handleCallbacks: getUnderlyingInstance for %@ factory is not found", key]];