File Picker for Web App or Device App


#1

I would like to create a button that, when pushed, opens the user’s gallery if on a device, and opens the user’s images folder if on a desktop, so the user can select an image. Hopefully I’m missing something, because this seems surprisingly hard to do. If I only care about a device, then the Cordova camera plugin handles it. But I need the web app functionality also.

There are lots of search engine hits about this, but the solutions seem to depend on details of versions of Angular 2 that sometimes change. Now that Angular 2 and Ionic 2 are both RC, I’m hoping someone knows of a “natural” solution for this. And, if there isn’t one, I’d like to submit a feature request.

Ideas? Advice? Suggestions? Thanks very much!