nativescript-camera-plus icon indicating copy to clipboard operation
nativescript-camera-plus copied to clipboard

Allow camera plus (and included image picker) to be used in a modal (enhancement)

Open frey1esm opened this issue 7 years ago • 0 comments

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.

frey1esm avatar May 23 '18 14:05 frey1esm