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.

[v3.1.0] Android crash: TypeError: _animatableImage.default.prefetch is not a function

See original GitHub issue

Describe 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:

  1. Codes:
<AutoHeightImage
  width={Constants.deviceWidth}
  source={{ uri: image_url }}
  resizeMethod="resize"
  fallbackSource={Images.Default}
/>
  1. react-native run-android
  2. See error TypeError: _animatableImage.default.prefetch is not a function

Screenshots Screenshot_1585932766

Issue Analytics

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

github_iconTop GitHub Comments

3reactions
rnikecommented, Apr 3, 2020

I just made a PR to fix this. #48

1reaction
thinklinuxcommented, Apr 7, 2020

Thanks for the fix guys! And thanks for the package!

Read more comments on GitHub >

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

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