Navigator.mediaDevices.getUserMedia bug on xcode13

Overview

capacitor-getusermedia-test

navigator.mediaDevices.getUserMedia bug on xcode13

This App displays when build with xcode12.5.1 a camera stream. There will be two Permission prompts.

If build with xcode13 a call to navigator.mediaDevices.getUserMedia() gets abortet with: AbortError, what has changed? No Permission prompt will be displayed.

When build on xcode12.5.1 since iOS15 it is also necessary to apply a setTimeout to the video element otherwise it wont get displayed.

Running the App before on iOS 14.8 was perfectly fine the only issue was that the user had to confirm camera permissions two times on first app run.

iosBuild test case

$ npm install

# genrate static files & open xcode 
npx cap sync ios

npx cap open ios

maybe helpfull links: https://developer.apple.com/documentation/webkit/wkuidelegate/3763087-webview#discussion

https://nemecek.be/blog/111/wkwebview-improvements-in-ios-15#apis-for-camera-and-microphone

You might also like...
Two Label Spacer Bug With SwiftUI

TwoLabelSpacerBugSwiftUI // This makes me feel like a fool. NavigationLink(destination: Text("destination")) { Text("\(Image(systemName: "text.align

Example repo for reproduction of a cocoapods bug

CocoapodsBugExample Run a pod install with use_frameworks! un-commented, see how Pods/CoreDataPodSample compile sources includes CoreDataPodSample.xcd

Steps and files needed to reproduce a CSP bug in Safari Web Extensions

CSP Safari bug repro There appears to be a discrepancy between how Safari handles CSP policies for extension pages compared to how other browsers do s

MacOS scrollview nsview scrollbar bug demo

macOS SwiftUI ScrollView Scrollbar Bug Demo If you create a ScrollView that contains an NSView that intersects the scroll view's scrollbars, the scrol

A longstanding annoying bug in our beloved operating system macOS

Houston There is a longstanding annoying bug in our beloved operating system macOS. If you open an application while Mission Control is active, the ap

Demonstrates a memory leak bug SwiftUI's toolbar APIs exhibit on macOS

Mac SwiftUI Toolbar Memory Leak Demo On Big Sur (macOS 11), SwiftUI's APIs for adding toolbar items to a window have (at least) two bugs around view r

Project describes UILabel bug with lineBreakingMode
Project describes UILabel bug with lineBreakingMode

UILabel-LineBreak-Bug This project demonstrates the problem with .lineBreakMode of UILabel in iOS 15.2. This issue is reproduced only in iOS 15.2 and

Buglife-iOS - Awesome bug reporting for iOS apps
Buglife-iOS - Awesome bug reporting for iOS apps

Buglife is an awesome bug reporting SDK & web platform for iOS apps. Here's how it works: User takes a screenshot, or stops screen recording User anno

Simply, Logify provides instant colorful logs to improve log tracking and bug tracing
Simply, Logify provides instant colorful logs to improve log tracking and bug tracing

Logify Simply, Logify provides instant colorful logs to improve log tracking and bug tracing. Why I need to use Logify? As discussed before in a lot o

A tester tool for the bug PoC released by Synacktiv for 15.0 - 15.4 beta 3

SploitTest A tester tool for the bug PoC released by Synacktiv for 15.0 - 15.4 beta 3 iOS 15.4 patched a kernel vulnerability introduced in iOS 15.0 b

Reproduction for long-press, drag & hold bug in XCUITest API.

XCUITest Bug Reproduction press(forDuration:thenDragTo:withVelocity:thenHoldForDuration:) Reproduction for long-press, drag & hold bug in XCUITest API

In-app feedback and bug reporting tool for apps.

Instabug iOS SDK Instabug is an in-app feedback and bug reporting tool for mobile apps. With just a simple shake, your users or beta testers can repor

POC for a bug with react-native-webview crashing on IOS 16.1

POC Shared Worker issues with IOS 16.1 webview Apple Developers post with workaround Webkit confirmed issue Start a simple http server with shared wor

Owner
Samuel Burkhard
Samuel Burkhard
Navigator - A sample custom car navigator with all main opportunities of popular ones

Navigator A sample custom car navigator with all main opportunities of popular o

Neo 1 Apr 4, 2022
Matthew Asaminew 0 Jan 25, 2022
InputMethodKit Sample App with macOS11, Xcode13, Swift5.5 in 2021.

What is this? This is a sample implementation of IMKit App with Swift/SwiftUI. Working Environment macOS 11.5 Swift 5.5 Xcode13 (beta) Procedure to ma

ensan 19 Nov 4, 2022
This plugin defines a global navigator.camera object, which provides an API for taking pictures and for choosing images from the system's image library.

title description Camera Take pictures with the device camera. AppVeyor Travis CI cordova-plugin-camera This plugin defines a global navigator.camera

null 0 Nov 2, 2021
An executable that can be called from a Run Script Build Phase that makes comments such as // TODO: or // SERIOUS: appear in Xcode's Issue Navigator giving them project-wide visibility.

XcodeIssueGenerator An executable that can be called from a Run Script Build Phase that makes comments such as // TODO: or // SERIOUS: appear in Xcode

Wunderman Thompson Apps 143 Oct 11, 2022
Butterfly is a lightweight library for integrating bug-report and feedback features with shake-motion event.

Butterfly is a lightweight library for integrating bug-report and feedback features with shake-motion event. Goals of this project One of th

Zigii Wong 410 Sep 9, 2022
Awesome bug reporting for iOS apps

Buglife is an awesome bug reporting SDK & web platform for iOS apps. Here's how it works: User takes a screenshot, or stops screen recording User anno

Buglife 498 Dec 17, 2022
Aardvark is a library that makes it dead simple to create actionable bug reports.

Aardvark Aardvark makes it dead simple to create actionable bug reports. Aardvark is made up of a collection of frameworks that provide different bug

Square 257 Dec 19, 2022
Flexible bug report framework for iOS

Clue is a simple smart-bug report framework for iOS, which allows your users to record full bug/crash report and send it to you as a single .clue file

Ahmed Sulaiman 279 Nov 3, 2022
Describing a bug with Sheet and Menu

MenuTest Describing a bug with Sheet and Menu This repository is related to a question in Apples developers forum, with id: 692338 Dismiss via Button

Tim 0 Oct 14, 2021