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.

[Android] Regression with animated gifs in react native 0.43 - hard crash

See original GitHub issue

Description

After the upgrade to react native 0.43 from 0.42 our app crashes hard on the display of animated gifs.

Reproduction Steps and Sample Code

In http://facebook.github.io/react-native/releases/0.43/docs/image.html#gif-and-webp-support-on-android you describe how to use animated gifs with react native. Basically it’s adding one line to android/app/build.gradle:

compile 'com.facebook.fresco:animated-gif:0.11.0'

and then just using the Image tag.

As a repro we did that on top of hello world sample:

For repro:

  1. Clone the project
  2. Check out a branch
  3. run npm install
  4. open android emulator
  5. run react-native run-android

Additional Information

  • React Native version: 0.43.1 and 0.43
  • Platform: Android
  • Development Operating System: Windows 10
  • Dev tools: Command line

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:17
  • Comments:14 (5 by maintainers)

github_iconTop GitHub Comments

26reactions
cbjscommented, Apr 9, 2017

fixed by updating dependencies from 0.11.0 to 0.14.1

compile ‘com.facebook.fresco:animated-base-support:0.14.1’ compile ‘com.facebook.fresco:animated-gif:0.14.1’

maybe the doc is outdated.

16reactions
forkicommented, Apr 7, 2017

just to make this clear: the app crashes completely. It’s really serious.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Android] Regression with animated gifs in react native 0.43 - hard ...
After the upgrade to react native 0.43 from 0.42 our app crashes hard on the display of animated gifs. Reproduction Steps and Sample...
Read more >
React native animation crashes with Android - Stack Overflow
Very frustrated with this issue. I am designing a game which requires animation. All works fine with Web part ...
Read more >
react-native-router-flux | Yarn - Package Manager
react -native-router-flux is a different API over react-navigation . It helps users to define all the routes in one central place and navigate...
Read more >
react-native-router-flux/CHANGELOG.md - UNPKG
The CDN for react-native-router-flux. ... 1210, - Application crashes when using tabbar after upgrade react native 0.41 ...
Read more >
Package List — Spack 0.20.0.dev0 documentation
This is a list of things you can install using Spack. ... The Albany repository on the GitHub site contains hundreds of regression...
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