This repository was archived by the owner on May 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 459
This repository was archived by the owner on May 1, 2024. It is now read-only.
[Bug] CameraView does not take photos for iOS #1059
Copy link
Copy link
Closed
Labels
bugSomething isn't working. Breaky break.Something isn't working. Breaky break.s/unverifiedThis issue needs verification/reproduction by a team member. PRs cannot be accepted/merged.This issue needs verification/reproduction by a team member. PRs cannot be accepted/merged.
Description
Description
CameraView
does not take photo under iOS. Android is not affected.
Steps to Reproduce
- Put
CameraView
on a page - Trigger
ShutterCommand
Expected Behavior
MediaCaptured
event is triggered
Actual Behavior
MediaCaptured
event is not triggered
Basic Information
Lines 189 to 199 in caa3ebc
public async Task TakePhoto() | |
{ | |
if (isBusy || device == null || photoOutput != null) | |
return; | |
IsBusy = true; | |
// iOS >= 10 | |
if (photoOutput != null) | |
{ | |
var photoOutputConnection = photoOutput.ConnectionFromMediaType(AVMediaType.Video); |
The check photoOutput != null
prevents the further code from processing the photo.
- Version with issue: 1.0.3 and greater
- Last known good version: 1.02
- IDE: Visual Studio 2019
- Platform Target Frameworks:
- iOS: 14.4
AOgai, WebDucer and Gaburiere
Metadata
Metadata
Assignees
Labels
bugSomething isn't working. Breaky break.Something isn't working. Breaky break.s/unverifiedThis issue needs verification/reproduction by a team member. PRs cannot be accepted/merged.This issue needs verification/reproduction by a team member. PRs cannot be accepted/merged.