-
Notifications
You must be signed in to change notification settings - Fork 338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: undefined is not an object (evaluating 'ImageResizerAndroid.createResizedImage') in Expo App #89
Comments
I tried to use ImageResizer in my Expo project because it is marked as usable on https://www.native.directory |
Thanks for reporting the error! We're relying on Java and Objective-C native modules so yes that won't work in Expo, unless it's integrated in their SDK :) |
You guys must detach the app before use module out of scope Expo |
You must indeed |
So sad... 👎 |
Any other options to change the size of a picture in expo? |
Hi,
I just tried to use ImageResizer like this in my Expo App on my Moto G4 running Android 7.0 and everytime I try to access the createResizedImage() mehtod I get this error
TypeError: undefined is not an object (evaluating 'ImageResizerAndroid.createResizedImage')
When I log ImageResizer I can see the method, but can't access it.
I used
to install it.
This is the code of my project:
Here are my package.json dependencies:
"dependencies": { "expo": "^18.0.4", "react": "16.0.0-alpha.12", "react-native": "https://github.com/expo/react-native/archive/sdk-18.0.1.tar.gz", "react-native-image-resizer": "^0.1.1" }
Maybe you can help me fix this issue
The text was updated successfully, but these errors were encountered: