how to get the image captured by using expo IntentLauncher open device camera to capture the image

I’m using the expo to develop mobile appication, i have a function which allow the user open the device camera by using the Intent Launcher. The problem is that i’m cannot receive back the image captured, when the confirm button of the camera interface is pressed, my application will crash and exit directly, how can i implement correctly?

I’m using the coding below to open the device camera.

let { resultCode , data } = await IntentLauncher.startActivityAsync('android.media.action.IMAGE_CAPTURE'); 
console.log( resultCode , data);