From f0745281a04961f217e3c530998fa67f069f3d8a Mon Sep 17 00:00:00 2001 From: Demehin Ibukunoluwa George Date: Mon, 5 Aug 2024 14:58:57 +0100 Subject: [PATCH] Update with-aws-storage-upload App.js mediaTypes key The possible options that can be assigned to the mediaType of the launchCameraAsync function now come from MediaTypeOptions props, which I have updated in this commit --- with-aws-storage-upload/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/with-aws-storage-upload/App.js b/with-aws-storage-upload/App.js index 42f38b5a..c758d80b 100644 --- a/with-aws-storage-upload/App.js +++ b/with-aws-storage-upload/App.js @@ -33,7 +33,7 @@ export default function App() { const takePhoto = async () => { let result = await ImagePicker.launchCameraAsync({ - mediaTypes: "Images", + mediaTypes: ImagePicker.MediaTypeOptions.Images, aspect: [4, 3], });