We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de60bee commit 11ecbe7Copy full SHA for 11ecbe7
ios/RNInCallManager/RNInCallManager.m
@@ -714,7 +714,7 @@ - (void)startProximitySensor
714
}
715
716
NSLog(@"RNInCallManager.startProximitySensor()");
717
- //_currentDevice.isProximityMonitoringEnabled = YES;
+ _currentDevice.proximityMonitoringEnabled = YES;
718
719
// --- in case it didn't deallocate when ViewDidUnload
720
[self stopObserve:_proximityObserver
@@ -743,7 +743,7 @@ - (void)stopProximitySensor
743
744
745
NSLog(@"RNInCallManager.stopProximitySensor()");
746
- //_currentDevice.isProximityMonitoringEnabled = false
+ _currentDevice.proximityMonitoringEnabled = NO;
747
748
// --- remove all no matter what object
749
0 commit comments