plugins icon indicating copy to clipboard operation
plugins copied to clipboard

[@nativescript/camera] Modal loading after taking a picture.

Open sspark3 opened this issue 5 years ago • 1 comments

Have an app created that involves a modal loading after a user takes a picture to edit that picture. Once the picture is taken, if the modal tries to come up before the camera animation finishes, the app loads a blank page and users are forced to re-load the app. Adding a timed delay to remedy this issue, works most of the time as long as the animation does not lag. Is there a way to tell that the camera is fully closed?

sspark3 avatar Feb 26 '21 17:02 sspark3

Also experiencing this issue. Seems like it can be tracked down to the fact that the takePicture promise resolves outside of the dismissViewControllerAnimatedCompletion completion handler. Would be nice if fixed.

ChaseXC avatar Nov 11 '25 18:11 ChaseXC