FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
98 stars 17 forks source link

App crashes while loading images and videos #2865

Closed anglesjp closed 1 week ago

anglesjp commented 1 week ago

Has your issue been reported?

Current Behavior

The app keeps crashing while loading images and videos on the home page.

Expected Behavior

Loading images and videos smoothly.

Steps to Reproduce

  1. Launch the app 2. Scroll the home page 3. Observe crashing

Reproducible from Blank

Bug Report Code (Required)

IT4oiMn1z4tJpb1J+rn5Ke5WnSQ4H2F/ar8708pBazwbfe+uB4kqevfOTERuQtOkSmw3I06KjWoW0fTKvoT1KfEBAzWbQJx5wc9ydzzzUkWXbpipFJWgdXFQQPhWfRSO3KWjpBJBJsZfWXBm3XGMFd/JfD/DNbr4Oms8Da/LZO4=

Context

This issue is critical to the app's quality and reliability.

Visual documentation

https://github.com/FlutterFlow/flutterflow-issues/assets/138846804/08ba47e2-f206-48b1-8b81-c0adb237407c

Additional Info

No response

Environment

- FlutterFlow version: 4.1
- Platform:iOS
- Browser name and version:Chrome 124.0.6367.118(Official Build) (arm64)
- Operating system and version affected:macOS Sonoma 14.4.1

General

Relative to the time the changes were made, data was lost within

When following my steps to reproduce, data loss happens

rzambroni commented 1 week ago

Hi @angelesjp, I was trying to replicate this issue in a blank project but the images and video widgets seems to be working as expected. The problem you are experiencing is very likely a project specific issue and not a FF issue. One guess could be that you might be loading a lot of images and videos and most Operative Systems will close your app if they consume certain amount of memory.

Some suggestions:

Thanks.

anglesjp commented 1 week ago

Thank you for your precious feedback and suggestions!

I'd like to implement the second suggestion right away, but I don't really know how to set the "progressive loading" on FlutterFLow. Would you please give me a clue? Or is there any documentation available on that?

rzambroni commented 1 week ago

Well, it would deppend on the implementation. See as an example ListView implementation with infinit scroll and pagination.
If you need further advise please ask to the community or reach out to support.

Thanks!