tinyjin / lottie-thorvg

Fast and compact Lottie for Flutter using ThorVG as a renderer. (beta)
https://pub.dev/packages/lottie_thorvg
MIT License
8 stars 0 forks source link

iOS white background issue by Impeller #2

Open tinyjin opened 6 months ago

tinyjin commented 6 months ago

ui.decodeImageFromPixels returns image on white background, it's currently forced by Impeller renderer which is new and default engine from iOS/Flutter v3.10.

(It could effect to android/impeller build. currently no effect because skia is still default for android)

To resolve this issue, the only way for now is turning off Impeller by editing Info.plist.

<key>FLTEnableImpeller</key>
<true/>

Wonder anybody knows about this issue and handles it with flutter team. Probably, should be fixed by Impeller side in next flutter release.

[iOS build with Impeller(default)] Simulator Screenshot - iPhone 15 Pro - 2024-03-14 at 21 05 12

[iOS build with Skia] Simulator Screenshot - iPhone 15 Pro - 2024-03-14 at 21 03 56