ImageManipulator.manipulateAsync not working on Android with SDK 31.0.0

See original GitHub issue

Hi, I’m trying to take a picture, resize it and then display it to the user. Currently this is working fine on iOS but on Android the call to ImageManipulator is failing. Here is a Snack (https://snack.expo.io/Byy0BxxGV) where you can reproduce the issue on Android. When selecting an image it should display it above the same as it does on iOS. If you comment out the call to the ImageManupulator you will see that it works as expected on Android and iOS. Thanks for your help!

Environment

  Expo CLI 2.6.13 environment info:
    System:
      OS: Linux 4.4 Ubuntu 16.04.2 LTS (Xenial Xerus)
      Shell: 4.3.48 - /bin/bash
    Binaries:
      Node: 10.12.0 - /usr/bin/node
      Yarn: 1.0.2 - /usr/bin/yarn
      npm: 6.1.0 - /usr/local/bin/npm
    npmPackages:
      expo: ^31.0.4 => 31.0.6
      react: 16.5.0 => 16.5.0
      react-native: https://github.com/expo/react-native/archive/sdk-31.0.1.tar.gz => 0.57.1
      react-navigation: ^2.18.2 => 2.18.3
    npmGlobalPackages:
      expo-cli: 2.6.13

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:13 (3 by maintainers)

github_iconTop GitHub Comments

6reactions
sjchmielacommented, Jan 9, 2019

Fix has been deployed in Expo Client v2.10.3 (should already be available on the Play Store). 🙂

0reactions
brentvatnecommented, Mar 28, 2019

@maxgfr - create a new issue with a minimal reproducible example, the example provided in the original post works just fine on sdk 32, i tried it myself here: https://snack.expo.io/@react-navigation/supportive-graham-crackers

Read more comments on GitHub >

github_iconTop Results From Across the Web

ImageManipulator
expo-image-manipulator provides an API to modify images stored on the local file system. Platform Compatibility. Android Device, Android Emulator, iOS Device ...
Read more >
CHANGELOG.md · 熊刚/Expo
launchImageLibraryAsync not working on iOS 13. (#5434 by @tsapeta); Fixed ImageManipulator.manipulateAsync not working with local paths.
Read more >
31.0.0 is not a valid SDK Version. Option are 26.0. ...
I needed this upgrade to do due iOS version 12 support. Thou after trying to build the Android app it is no longer...
Read more >
How to use the expo-image-manipulator.manipulateAsync ...
Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues...
Read more >
@expo/config-plugins | Yarn - Package Manager
This is the log of notable changes to the Expo client that are developer-facing. Package-specific changes not released in any SDK will be...
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