[expo-image-picker][ios] Can't drag the picture around the crop area (bare react-native app)
See original GitHub issue🐛 Bug Report
Summary of Issue
- Call
launchCameraAsync
withallowsEditing: true
. - Take a picture.
- Try to drag the picture on the crop area.
- It doesn’t change
Works well on Android.
Environment - output of expo diagnostics
& the platform(s) you’re targeting
System:
OS: macOS 10.15.7
CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
Memory: 79.11 MB / 8.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 14.8.0 - ~/.nvm/versions/node/v14.8.0/bin/node
Yarn: 1.22.5 - ~/.nvm/versions/node/v14.8.0/bin/yarn
npm: 6.14.8 - ~/.nvm/versions/node/v14.8.0/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.10.0 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.0, DriverKit 19.0, macOS 10.15, tvOS 14.0, watchOS 7.0
Android SDK:
API Levels: 21, 23, 24, 25, 26, 28, 29, 30
Build Tools: 28.0.3, 29.0.2, 30.0.2
System Images: android-24 | Google Play Intel x86 Atom, android-26 | Google APIs Intel x86 Atom, android-26 | Google Play Intel x86 Atom, android-30 | Google APIs Intel x86 Atom, android-30 | Google Play Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 4.0 AI-193.6911.18.40.6626763
Xcode: 12.0/12A7209 - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_272 - /usr/bin/javac
Python: 2.7.16 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: ^16.14.0 => 16.14.0
react-native: 0.63.3 => 0.63.3
react-native-macos: Not Found
npmGlobalPackages:
*react-native*: Not Found
Reproducible Demo
https://github.com/aprilmintacpineda/repro-expo-image-picker-10820
This only happens for launchCameraAsync
but not for launchImageLibraryAsync
.
Sorry, can’t upload GIF, file size way too big for github https://streamable.com/4yfkf6
Steps to Reproduce
Expected Behavior vs Actual Behavior
Issue Analytics
- State:
- Created 3 years ago
- Reactions:7
- Comments:20 (2 by maintainers)
Top Results From Across the Web
Use an image picker - Expo Documentation
expo -image-picker provides the launchImageLibraryAsync() method that displays the system UI for choosing an image or a video from the device's media library....
Read more >Expo - ImagePicker aspect on iOS not working. Square only
I am using create-react-native-app and I don't want to eject and use another package. I need to create three cropping options - Landscape, ......
Read more >expo-image-picker - NPM Package Overview - Socket.dev
Provides access to the system's UI for selecting images and videos from the phone's library or taking a photo with the camera.
Read more >A React Native module that allows you to use native UI to ...
Multiple image selection, more control over the crop tool, and landscape support are things missing from the native iOS functionality - not issues...
Read more >Example of Image Picker in React Native
IOS Permission to use the Camera and to Read the Storage · If you are allowing user to select image/video from photos, add...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hey ! The same issue on iOS with launchCameraAsync
Hi! I have the same issue.