Cordova camera plugin multiple choices


I am using the cordova plugin camera and everything works fine.
I would like to use either taking picture or choosing from the filesystem but instead of making two buttons i would like to have a pop up where the user can choose.
I have thought to modify a pop up confirm ( and it works) but like that i don’t have anymore the cancel option anymore.

Any ideas?

You can use the second popup here$ionicPopup/
Then you just have to add 1 button in the list of buttons and do whatever you want.
Is the pen what you want ?

1 Like