I want to display a list of options when a file is gotten by using a type file native input element. The list of options that I usually got when I programming for web is: camera, video, recorder and device directories & files.
This way:
Expected behavior:
It expects that, by using the same code of web the behavior will be the same:
<input type="file" capture />
Example: JSFiddle
Open it in a android device
Actual behavior:
It displays just a device directories and files.
Information about the issue:
Ionic CLI : 5.0.3 (/usr/local/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 4.5.0
@angular-devkit/build-angular : 0.13.9
@angular-devkit/schematics : 7.3.9
@angular/cli : 7.3.9
@ionic/angular-toolkit : 1.5.1
Capacitor CLI : 1.0.0
@capacitor/core : 1.0.0
Steps to reproduce the behavior:
- Create a new tabs template Ionic project.
- Write into tab1.page.html:
<input type="file" capture />
- Build and deploy in android device.
- Press input.