-
Notifications
You must be signed in to change notification settings - Fork 495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App crash on captureVideo()
on android 14.
#300
Comments
What is the output of logcat? You probably need to ask permissions, for example using cordova-diagnostic-plugin
|
I already have Camera and Microphone permission granted. and plugin is working for android 13 only crashing on android 14. |
@Saqib92 the logcat output might be helpful. |
the logs:
|
For me following is the output in Android Studio Logcat: Caused by: java.lang.OutOfMemoryError: Failed to allocate a 196209696 byte allocation with 100663296 free bytes and 110MB until OOM, target footprint 521487856, growth limit 536870912 also android 14 does not supports quality parameter in plugin config |
Bug Report
Problem
captureVideo()
crash app on android 14.What is expected to happen?
it should record video.
What does actually happen?
App Crash
Information
Command or Code
Environment, Platform, Device
Ionic + Capacitor 6
Android 14
Version information
Plugins info:
Capacitor:
"@capacitor/core": "^6.0.0"
Ionic:
"@ionic/angular": "^7.5.0"
Angular:
"@angular/core": "^18.2.0",
AndroidManifest.xml:
Checklist
The text was updated successfully, but these errors were encountered: