Skip to content

Animated gif is causing my App to crash on some Android devices and iOS 12. Seems fine on iOS 11 and below. #20998

@mjaffa-figure

Description

@mjaffa-figure

Steps to Reproduce

  1. Initialize a Widget with this
new Container(constraints: BoxConstraints.tightFor(
                              width: width, height: width),
                              child: new Image(
                                  image: new AssetImage("assets/myanimatedgif.gif")))

The animated gif is about 10 MB

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel dev, v0.7.0, on Mac OS X 10.13.6 17G2208, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.1)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
[✓] Android Studio (version 3.1)
[!] VS Code (version 1.26.0)
[✓] Connected devices (1 available)

! Doctor found issues in 1 category.

Metadata

Metadata

Assignees

Labels

c: crashStack traces logged to the consolee: device-specificOnly manifests on certain devicesengineflutter/engine related. See also e: labels.platform-iosiOS applications specificallywaiting for PR to land (fixed)A fix is in flight

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions