hankersyan / cordova-examples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cordova issues and examples

Software Architecture

Cordova hybrid app

Description

  1. file-input-issue

     Issue: Input-file-control of webview does not show the "Take picture" or "Photo library" menu in iOS some versions and Android all versions.
    
  2. take-photo-and-pick-pictures-for-file-issue is a demo about taking photo and picking pictures for input-file issues on ios and android.

     Run "create-take-pick-vue.sh", and see the form page.
    
     Issue 1: In iOS 12.2-12.4 clicking on input-file control does not work, you need double click it.
     Issue 2: In android, webview does not support both of taking photo and picking pictures, but it does in mobile browsers.
     Issue 3: cordova-plugin-ionic-webview is not recommended because of some potential issues.
     So use cordova-plugin-media-capture to take photo and cordova-plugin-image-picker to pick pictures including resizing.
    
     NOTES: you need change the URL_PREFIX to your web server for demo uploading.
    

About


Languages

Language:Java 37.7%Language:Vue 31.3%Language:JavaScript 14.6%Language:HTML 11.7%Language:Shell 4.7%