[v3.1.0] Android crash: TypeError: _animatableImage.default.prefetch is not a function
See original GitHub issueDescribe the bug After update from v3.0.0 to v3.1.0 this library crash when running on Android.
To Reproduce Steps to reproduce the behavior:
- Codes:
<AutoHeightImage
width={Constants.deviceWidth}
source={{ uri: image_url }}
resizeMethod="resize"
fallbackSource={Images.Default}
/>
- react-native run-android
- See error TypeError: _animatableImage.default.prefetch is not a function
Screenshots

Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Android: Crash after Requesting Bundle #10925 - GitHub
' E/ReactNative( 3952): Got JS Exception: TypeError: undefined is not a function (evaluating '(bridgeConfig.remoteModuleConfig||[]).
Read more >Error app.default.object is not a function - android
Everything works fine in vscode but when I run on android, it gives me this error: TypeError:_app.default.objects is not a function. {.
Read more >Consumer Prefetch - RabbitMQ
Consumer prefetch is an extension to the channel prefetch mechanism. ... Unfortunately the channel is not the ideal scope for this - since...
Read more >Unity Issue Tracker - [WebPlatform][Android] App crashes on ...
[WebPlatform][Android] App crashes on launch on some devices with "TypeError: ext.getSupportedProfiles is not a function" error.
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

I just made a PR to fix this. #48
Thanks for the fix guys! And thanks for the package!