Giphy / giphy-react-native-sdk

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

Gifs don't play #176

Closed Tarikmnk closed 6 months ago

Tarikmnk commented 7 months ago

Hi, I installed Giphy and used native bottom sheet to select Gif but Gifs don't play. Also I used GiphyMediaView with ID but it didn't play as well.

I configurations are like;

in App.tsx GiphySDK.configure({ apiKey: Constants.giphy_key, });

<GiphyMediaView ref={mediaRef} resizeMode={'contain'} media={{id: 'Ac0fCix8D3oN7DwCEB'}} style={{ width: '100%', aspectRatio: 1, }} />

gif.webm

ALexanderLonsky commented 6 months ago

Hey @Tarikmnk, please refer to this answer

Nav-kr commented 5 months ago

@Tarikmnk is your issue was resolved ? I am facing same issue GIF not playing RN version :- 0.73.4 GIPHY SDK - 3.2.6

Nav-kr commented 5 months ago

the suggest solution not works for me , I have updated this. forcedModules = ['com.giphy.sdk:ui:2.3.13'] inside the build.gradle files . what are the more steps have you done after that

Its occur after updating to RN version :- 0.73.4

Tarikmnk commented 5 months ago

@Nav-kr Hey, yes it solved my problem.