Giphy / giphy-react-native-sdk

GIPHY React Native SDK
https://developers.giphy.com
Apache License 2.0
67 stars 25 forks source link

GiphyMediaView not show gif generated from keyword (iOS) #98

Closed danhddao1997 closed 1 year ago

danhddao1997 commented 1 year ago

🐛 Bug Report

(A clear and concise description of what the bug is)

To Reproduce

(Write your steps here:)

  1. Run app, open Giphy Model, type keyword and click on the highlighted place image
  2. Choose one of the generated gif simulator_screenshot_AEFB291B-5F18-42FB-9488-B45D3E8A16E8

Expected behavior

The gif file show below the button (like this) simulator_screenshot_D2F125A1-3C25-4753-A31C-2AFDD33E4D0F

Actual Behavior

The gif file not show below the button

Your Environment

Reproducible Demo

GiphyMediaView API (Basic usage)

pshoniuk commented 1 year ago

Hi @danhddao1997 Thank you for the report. We reproduced the issue on our side. I will let you know as soon as I get more details.

pshoniuk commented 1 year ago

The GiphyMediaView component currently doesn't support Dynamic Text. The reason is that GIFs created by the Dynamic Text service lack a stable GIF id utilized by the GiphyMediaView component. However, this can be quickly resolved by using the standard React Native Image component. For more information on this behavior, please refer to this page.