Hey Everyone! A quick video on how to use the expo image picker! Happy coding Reach out to me on twitter CodeWithRomaen #ReactNative #Expo #imagepicker #expoimagepicker #reactnativeexpo #frontend #mobiledevelopment #UI #uiux
Пікірлер: 19
@kathirkarthik61442 күн бұрын
wonderful bro ! In my entire dev journey i have never seen a tutor who teaches as short and sweet as you ❤
@CodeWithRomaen2 күн бұрын
@@kathirkarthik6144 Hey glad it was helpful!
@MrBEnIbb6 ай бұрын
Thank you! This kind of Tutorial is really helpful to get a brief idea and to check if it works with the possibility to go deeper at some later point
@CodeWithRomaen6 ай бұрын
Glad it helped!
@marvinfok657 ай бұрын
Fast & simple! Solved my issue, thanks!
@CodeWithRomaen7 ай бұрын
Awesome to hear!
@kennethpole27368 ай бұрын
Thank you for this knowledge man. I really appreciated it. Can you create a tutorial about expo router?
@CodeWithRomaen7 ай бұрын
Appreciate it! I would be happy to. Been meaning to as well
14 күн бұрын
Im looking that ImagePicker have this function ImagePicker.launchCameraAsync but when I invoke it, It doesnt launch the camera
@CodeWithRomaen14 күн бұрын
Yes it does and it should work. If u share your code I can take a look
14 күн бұрын
@@CodeWithRomaen I have this function that I´m triggering through a Button onPress: const handlePhotoPress = async() => { let result = await ImagePicker.launchCameraAsync({ allowsEditing: true, aspect: [1, 1], quality: 1, }) if(!result.canceled){ setImage(result.assets[0].uri) } } it throws me that error: console warning: possible unhandled promise rejection (id 1): Error missing a camera or roll permission. I ve edited the permissions on info.plist that I've found on ./ios/name_of_my_project_info.plist an put that code before ends: NSPhotoLibraryUsageDescription Give $(PRODUCT_NAME) permission to save photos NSCameraUsageDescription Give $(PRODUCT_NAME) permission to access your camera NSMicrophoneUsageDescription Give $(PRODUCT_NAME) permission to use your microphone , and I'm running as this: npx expo run:ios --device and then I select my physical device
@IlliaSedzinАй бұрын
Hey man! Do you know is it possible to customize screen where user crops image?
@CodeWithRomaenАй бұрын
Not using this package no. You will have to build your custom version or look for another package
@bassamsami73194 ай бұрын
nice work thank you , but where is the json file come from and where i can find it ?
@CodeWithRomaen4 ай бұрын
I console logged the result of the image picker that gave me the json file.
@mrakibulislam56286 ай бұрын
i got this error "[TypeError: Cannot read property 'launchImageLibraryAsync' of undefined]"
@CodeWithRomaen6 ай бұрын
When do u get this error. Seems like you may be missing something
@uctuanvu29753 ай бұрын
How to custom cameraPermission text?
@CodeWithRomaen2 ай бұрын
In app.json file you add information to change text. Here is the link docs.expo.dev/versions/latest/sdk/imagepicker/