When I tried to display a selected gif from GiphyDialog, my app crashes and the error displayed is that GiphyMediaView cannot be casted to android.view.ViewGroup.
This bug only appears to happen in Android, not in iOS.
I am uploading a gif withe the same actions in android and in iOS to see what happens in each platform.
To Reproduce
(Write your steps here:)
Step 1. Select a Gif from the displayer in GiphyDialog on Android
Step 2. Display selected gif using GiphyMediaView on Android
Expected behavior
When I want to display the gif, it should appear the same way as in iOS.
Actual Behavior
When I display the gif, the app crashes in Android. In the simulator I can see this error popping up:
Your Environment
Giphy React Native SDK version: 2.1.0
React Native version: 0.67.2
Platform(s) (iOS, Android, or both?): Android
Device info (Simulator/Device? OS version? Debug/Release?): Simulator Android API 33
🐛 Bug Report
When I tried to display a selected gif from GiphyDialog, my app crashes and the error displayed is that GiphyMediaView cannot be casted to android.view.ViewGroup. This bug only appears to happen in Android, not in iOS. I am uploading a gif withe the same actions in android and in iOS to see what happens in each platform.
To Reproduce
(Write your steps here:)
Expected behavior
When I want to display the gif, it should appear the same way as in iOS.
Actual Behavior
When I display the gif, the app crashes in Android. In the simulator I can see this error popping up:
Your Environment
Reproducible Demo
Android: https://user-images.githubusercontent.com/111156624/214352796-69296a01-0894-48ad-b9c7-3dc765ef564c.mp4
iOS: https://user-images.githubusercontent.com/111156624/214352878-bcd6e9fe-8b18-4211-84df-a6a46f417a21.mp4