mirror of
https://github.com/status-im/react-native-webview.git
synced 2026-08-31 03:31:05 +00:00
fix(macos): mediaCapturePermissionGrantType is iOS only (#2313)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user