nativescript-camera-plus
nativescript-camera-plus copied to clipboard
Allow camera plus (and included image picker) to be used in a modal (enhancement)
Currently you can't pass a modal page reference when opening camera plus in a modal. Thus, when you try to use the image picker it attempts to attach the image picker view to the parent page of the modal you opened for camera plus.
Here is how nativescript-imagepicker plugin solved the issue.
Currently you open the image picker with:
this.cam.chooseFromLibrary();
It would be great to be able to pass the current modal page reference like this:
this.cam.chooseFromLibrary(thisPage); where thisPage is a reference to the camera plus #modal page.