Camera plugin restart app ionic 4

when we use ionic 4 camera plugin, it kill the app as soon as it take a photo, the app is not longer available because it is closed. Is there some way to put the app in foregroud when the camera is in use without change configuration phone?