Cordova camera - Choose camera OR photo library


How should I do it?
It’s important to let user choose whatever he want - Camera - OR - Photo library (Image picker).

NgCordova plugins:

  • Image picker - only image picker

  • Camera - developer choose camera or image picker (again, i want the user choose and not developer)

Please help me. It’s important and urgent.


Before you show a camera plugin display a modal window asking the user to select camera or photo library.

Dynamically change option depending on a selected button.


here is a snippet of code I extracted from a project