Ionic component to replace ion-input

The component canicompet-file-camera replace the classic <input type= »file »>.

The problem with the classic <input> is with Android :

  • When you use it on ios or on the web browser, a prompt ask the user if he wish to select a file or take a photo.
  • On Android, the prompt does not exists and Android directly open the media manager to select a file.

I have written this component to add a prompt on Android. The component act like a classic <input>.

Source code and more information : https://bitbucket.org/jatton/canicompet-file-camera/src/main/

Feel free to copy it and modify it as your convenient.

Categories:

Tags:

No responses yet

Laisser un commentaire