question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[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

  1. Call launchCameraAsync with allowsEditing: true.
  2. Take a picture.
  3. Try to drag the picture on the crop area.
  4. 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:closed
  • Created 3 years ago
  • Reactions:7
  • Comments:20 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
WaiiMcommented, Dec 3, 2020

Hey ! The same issue on iOS with launchCameraAsync

5reactions
uvrikcommented, Nov 9, 2020

Hi! I have the same issue.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found