-
Notifications
You must be signed in to change notification settings - Fork 989
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
bug: Camera plugin "Unable to create photo on disk" and CameraSource.Prompt missing promptLabelHeader #4514
Comments
This issue may need more information before it can be addressed. In particular, it will need a reliable Code Reproduction that demonstrates the issue. Please see the Contributing Guide for how to create a Code Reproduction. Thanks! |
Hi, I found the Camera error "Unable to create photo on disk" caused by I removed these lines from AndroidManifest.xml to use a Cordova Document Scanner plugin (due to a manifest merge problem):
You can check this case in the sample app. The other problem that the promptLabelHeader is missing from the promt is still exists. |
Yeah, you need the document provider, otherwise the plugin doesn't work. About the promptLabelHeader, it's documented that it's iOS only, same as promptLabelCancel If you update to Capacitor 3-rc.1 and use |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out. |
Bug Report
Using Capacitor Camera plugin with Android:
The test device runs on Android 10.
Capacitor Version
Latest Dependencies:
@capacitor/cli: 2.4.7
@capacitor/core: 2.4.7
@capacitor/android: 2.4.7
@capacitor/electron: 2.4.7
@capacitor/ios: 2.4.7
Installed Dependencies:
@capacitor/ios not installed
@capacitor/cli 2.4.7
@capacitor/android 2.4.7
@capacitor/core 2.4.7
@capacitor/electron not installed
Ionic info
Ionic Framework : @ionic/angular 5.3.2
@angular-devkit/build-angular : 0.1000.8
@angular-devkit/schematics : 10.0.8
@angular/cli : 10.0.8
@ionic/angular-toolkit : 2.3.3
Platform(s)
[ x ] Android (Android 10)
OS of the development machine
[ x ] Windows 10
Code Reproduction
AndroidManifest.xml
req Perm:
import:
import { Plugins, CameraResultType, CameraSource } from '@capacitor/core';
function:
Other Technical Details
npm --version
output:node --version
output:The text was updated successfully, but these errors were encountered: