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.

ImageManipulator.manipulate is deprecated warning

See original GitHub issue

I am getting:

ImageManipulator.manipulate is deprecated in favor of manipulateAsync, which has the same API except for the method name

But when I try with manipulateAsync.manipulate i am getting this:

TypeError: Cannot read property ‘manipulate’ of undefined

What’s the problem?

I am using expo camera and takePictureAsync

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
sjchmielacommented, Dec 3, 2018

Try ImageManipulator.manipulateAsync(args) instead of ImageManipulator.manipulateAsync.manipulate(args) (if I understand correctly that’s what you’re using now). 🙂

1reaction
imasifcommented, Dec 4, 2018

Yes it was, thank you for pointing it out, I’m closing the issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

ImageManipulator - Expo Documentation
A map defining how modified image should be saved. Manipulate the image provided via uri . Available modifications are rotating, flipping (mirroring), resizing ......
Read more >
expo-permissions is now deprecated - You.com - You.com
React Native expo-permission deprecated what to use now? ... expo/expoImageManipulator.manipulate is deprecated warning#2881. Created about 4 years ago.
Read more >
Feature: #65585 - Add TCA type imageManipulation
TCA type imageManipulation brings a image manipulation wizard to the core. This first version brings image cropping with the possibility to ...
Read more >
ImageManipulation - Assets - SilverStripe API
Provides image manipulation functionality. Provides limited thumbnail generation functionality for non-image files. Should only be applied to implementors ...
Read more >
Problem with an Unhandeled Promise Rejection in React Native
ImageManipulator.manipulate...')]" Here are my imports import * as Permissions from 'expo- ...
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