Skip to content
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

GIF not working in Android - React Native 0.76 #47408

Open
sujathasperi2022 opened this issue Nov 5, 2024 · 10 comments
Open

GIF not working in Android - React Native 0.76 #47408

sujathasperi2022 opened this issue Nov 5, 2024 · 10 comments
Labels
Needs: Author Feedback Newer Patch Available Platform: Android Android applications. Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@sujathasperi2022
Copy link

Description

GIF not working in Android - React Native 0.76.
But it is correctly working in iOS.

android/app/build.gradle is updated with gif support library
implementation 'com.facebook.fresco:animated-gif:3.1.3'

Steps to reproduce

  1. nom install
  2. npx react-native run-android

React Native Version

0.76.0

Affected Platforms

Runtime - Android

Output of npx react-native info

System:
  OS: macOS 14.4.1
  CPU: (8) arm64 Apple M1
  Memory: 92.86 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 21.2.0
    path: /opt/homebrew/bin/node
  Yarn: Not Found
  npm:
    version: 10.2.3
    path: /opt/homebrew/bin/npm
  Watchman:
    version: 2023.09.25.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.15.2
    path: /Users/amithsnair/.rbenv/shims/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.4
      - iOS 17.4
      - macOS 14.4
      - tvOS 17.4
      - visionOS 1.1
      - watchOS 10.4
  Android SDK: Not Found
IDEs:
  Android Studio: 2021.3 AI-213.7172.25.2113.9014738
  Xcode:
    version: 15.3/15E204a
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.4.1
    path: /usr/bin/javac
  Ruby:
    version: 2.7.5
    path: /Users/amithsnair/.rbenv/shims/ruby
npmPackages:
  "@react-native-community/cli":
    installed: 15.0.0
    wanted: 15.0.0
  react:
    installed: 18.3.1
    wanted: 18.3.1
  react-native:
    installed: 0.76.1
    wanted: 0.76.1
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: true
  newArchEnabled: true

Stacktrace or Logs

Not getting any errors or logs

Reproducer

https://github.com/sujathasperi2022/testapp.git

Screenshots and Videos

Screenshot_1730790418

@react-native-bot
Copy link
Collaborator

⚠️ Newer Version of React Native is Available!
ℹ️ You are on a supported minor version, but it looks like there's a newer patch available - 0.76.1. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases.

@react-native-bot react-native-bot added the Platform: Android Android applications. label Nov 5, 2024
@react-native-bot
Copy link
Collaborator

⚠️ Newer Version of React Native is Available!
ℹ️ You are on a supported minor version, but it looks like there's a newer patch available - undefined. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases.

@shubhamguptadream11
Copy link
Collaborator

@sujathasperi2022 Is this issue started coming from 0.76.0?

@sujathasperi2022
Copy link
Author

@shubhamguptadream11 I recently started a new project with RN version 0.76.0 in which I noticed this in Android in iOS is working properly
I created a Testapp which i linked above to see if any package in my project is causing this but NO. The teat app only has basic template of a RN project.
I have a old project in RN version 0.70.1 in that the gif is working correctly in both platforms

@shubhamguptadream11
Copy link
Collaborator

@sujathasperi2022 Your fresco library version is outdated. Try upgrading it to 3.4.0. It's possible that current fresco version you are using is not compatible with 0.76 RN.

@sujathasperi2022
Copy link
Author

Will check with that and let you know

@cortinico
Copy link
Contributor

Will check with that and let you know

Also could you please check if your same setup but with RN 0.75.x is working or not?

@nianxiongdi
Copy link
Contributor

@cortinico i am on RN version 0.75.2, and gif cannot be played either.

@nianxiongdi
Copy link
Contributor

@sujathasperi2022 Has it been resolved?

@react-native-bot
Copy link
Collaborator

This issue is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days.

@react-native-bot react-native-bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Author Feedback Newer Patch Available Platform: Android Android applications. Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

5 participants