Skip to content

Instantly share code, notes, and snippets.

@xtarx
Last active August 29, 2015 14:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xtarx/2d841991753b521dcf59 to your computer and use it in GitHub Desktop.
Save xtarx/2d841991753b521dcf59 to your computer and use it in GitHub Desktop.
Cordova File Choose issue on Android 4.4.2 and 4.3

Cordova File Choose issue on Android 4.4.2 and 4.3

Issue

openFileChooser not called when <input type="file"> is clicked on android 4.4 webview

Official

Possible Solutions

Unfortunately no solutions were officially provided from cordova or android. The following solutins are based on community efforts.

  • solA - Solution A : Using Android's FileChooser Native plugin
  • solB - Solution B :Using Android's FileChooser workaround specific for this issue

Drawbacks

  • Solution A is 2 years old
  • Solution B is poorly Documented and lots of ambiguity in instructions
  • Both Solutions are not widely tested
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment