apache / cordova-plugin-media-capture

Apache Cordova Media Capture Plugin
https://cordova.apache.org/
Apache License 2.0
307 stars 496 forks source link

App crashes on video request on iOS 15.2 (ionic/angular) #237

Open vadimwe opened 2 years ago

vadimwe commented 2 years ago

Bug Report

Problem

What is expected to happen?

Starts video recording on iOS 15.2

What does actually happen?

App crashes on video request on iOS 15.2

Information

Install plugin and request video recording

Command or Code

Environment, Platform, Device

iOS 15.2 iPhone X

Version information

Ionic:

Ionic CLI : 6.18.1 (/usr/local/lib/node_modules/@ionic/cli) Ionic Framework : @ionic/angular 5.8.4 @angular-devkit/build-angular : 12.2.10 @angular-devkit/schematics : 12.2.10 @angular/cli : 12.2.10 @ionic/angular-toolkit : 4.0.0

Cordova:

Cordova CLI : 10.0.0 Cordova Platforms : android 10.1.0, ios 6.2.0 Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, (and 18 other plugins)

Utility:

cordova-res : 0.15.4 native-run : 1.5.0

System:

Android SDK Tools : 26.1.1 (/Users/vs/Library/Android/sdk) ios-deploy : 1.11.4 ios-sim : 8.0.2 NodeJS : v14.18.1 (/usr/local/bin/node) npm : 6.14.15 OS : macOS Big Sur Xcode : Xcode 13.2.1 Build version 13C100

Checklist

alphagamer7 commented 2 years ago

+1

sajath-45 commented 2 years ago

+1

agbrock commented 2 years ago

+1

jcesarmobile commented 2 years ago

Can you try updating to latest version of the plugin and if the problem still persists provide a sample app where the issue can be reproduced?

Wyndala commented 1 year ago

I experienced the same "problem" ... my issue was, that I didn't provided a NSMicrophoneUsageDescription.

The documentation mentions this for the capture.captureImage part, but it is needed for Audio and Video.