[permissions] rename checkCameraAuthorizationStatus to checkVideoAuthorizationStatus
This commit is contained in:
parent
c981675636
commit
cfac209da8
|
@ -113,7 +113,7 @@ export default class Camera extends Component {
|
|||
};
|
||||
|
||||
static checkDeviceAuthorizationStatus = CameraManager.checkDeviceAuthorizationStatus;
|
||||
static checkVideoAuthorizationStatus = CameraManager.checkCameraAuthorizationStatus;
|
||||
static checkVideoAuthorizationStatus = CameraManager.checkVideoAuthorizationStatus;
|
||||
static checkAudioAuthorizationStatus = CameraManager.checkAudioAuthorizationStatus;
|
||||
|
||||
setNativeProps(props) {
|
||||
|
|
|
@ -173,7 +173,7 @@ RCT_EXPORT_METHOD(checkDeviceAuthorizationStatus:(RCTPromiseResolveBlock)resolve
|
|||
}
|
||||
|
||||
|
||||
RCT_EXPORT_METHOD(checkCameraAuthorizationStatus:(RCTPromiseResolveBlock)resolve
|
||||
RCT_EXPORT_METHOD(checkVideoAuthorizationStatus:(RCTPromiseResolveBlock)resolve
|
||||
reject:(__unused RCTPromiseRejectBlock)reject) {
|
||||
__block NSString *mediaType = AVMediaTypeVideo;
|
||||
|
||||
|
|
Loading…
Reference in New Issue