fix(macos): mediaCapturePermissionGrantType is iOS only (#2313)
This commit is contained in:
parent
55b8a7702c
commit
69cafd1d20
|
@ -149,7 +149,9 @@ NSString *const CUSTOM_SELECTOR = @"_CUSTOM_SELECTOR_";
|
|||
_savedAutomaticallyAdjustsScrollIndicatorInsets = NO;
|
||||
#endif
|
||||
_enableApplePay = NO;
|
||||
#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 150000 /* iOS 15 */
|
||||
_mediaCapturePermissionGrantType = RNCWebViewPermissionGrantType_Prompt;
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !TARGET_OS_OSX
|
||||
|
|
Loading…
Reference in New Issue