margelo / react-native-skottie

▶️ Efficient lottie animations using Skia's Skottie module
https://margelo.io
MIT License
868 stars 24 forks source link

Scottie does not display animation if there is a base64 resource in the animation file #50

Open YBeletsky117 opened 5 months ago

YBeletsky117 commented 5 months ago

If the source object has an image value in base64 format, it is not displayed.

But Lottie displays everything perfectly.

Example: (Full example file - https://file.io/Nncoal1QPHtL)

{
  "v": "4.8.0",
  "ip": 0,
  "op": 90,
  "fr": 30,
  "w": 199,
  "h": 288,
  "nm": "M",
  "assets": [
    {
      "h": 372,
      "w": 180,
      "id": "image_0",
      "p": "data:image/webp;base64,UklGRAAAAA",
      "u": "",
      "e": 1
    },
    ...
  ]
  ...
}