FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
127 stars 26 forks source link

Images not appearing in APK #3565

Closed Adventure-Hunt closed 1 month ago

Adventure-Hunt commented 3 months ago

Can we access your project?

Current Behavior

APK builds appear to be no longer including assets. Build at 15.00 GMT were ok, at 1800 GMT they are not. Link to web images (Firebase) are also not appearing in the build.

The failed APK is also approx 5MB smaller than expected.

Expected Behavior

Images should appear

Steps to Reproduce

Open app on the first page. The should be a scroll background behind the text

Reproducible from Blank

Bug Report Code (Required)

IT4wl/H605NOmN8B15DtbcJKmiURMjs8aI0vie5TYCs8GZT0B4kcYs+kfklUOcPiT2xYemKkpGYX/MrFuN7qUMA6H0iqbIBGyqpqbxXKQXyVRLnQCYS3b3NSHedQGlyk0ZmFmQlDJtV0Slku2FymGOmXQTDfQaLXNWoRR+aeXdeK2SrDX1iXc2URm05KZDPz

Visual documentation

Its really simple. Open the app. It advances to the test page (from Splash). It should have images, but it doesn´t.

Environment

- FlutterFlow version: 4.1.81
- Platform: Android 
- Browser name and version:
- Operating system and version affected:

Additional Information

No response

TheDescar commented 3 months ago

It is the same for web, assets are disconnected from the project, it says: "This asset is not directly used in this project." Even if I reupload asset - the problem persist. Please Help!

Adventure-Hunt commented 3 months ago

It is the same for web, assets are disconnected from the project, it says: "This asset is not directly used in this project." Even if I reupload asset - the problem persist. Please Help!

At least its not just me. I think I will give them a few hours to resolve this.

Adventure-Hunt commented 3 months ago

It seems jpg images are appearing but only very few png ones. Not sure if its related to filename length or file size, though for a network asset I can´t see how that can be an issue.

The images all work fine in the build from 1500, which I reloaded to test the issue, so we can rule out the bucket that the images are sitting in.

Dentiphoto commented 3 months ago

Same problem.

isegal commented 3 months ago

This is likely related:

https://github.com/FlutterFlow/flutterflow-issues/issues/3568

@agreaves you guys are moving too fast and breaking things. I was about to troubleshoot the other iOS crash issues but now I'm blocked by this.

FCMHUB commented 3 months ago

It completely broke our local development after last update. We cannot use the app locally since no assets are being exported.

msusviela commented 3 months ago

Hello. Thanks for all the reports. So sorry you're experiencing this. Our ENG team is deploying a solution for this and this solution will be put into production as soon as possible.

msusviela commented 3 months ago

Hi all. The fix is already deployed. If the assets are gone in your APK, you'll need to export their APK again for the assets to show. If it's web you will need to re-publish your web app.

Let me know if you're still facing this.

TheDescar commented 3 months ago

Thank you, for the update, now in the web looks ok 👍

4SandyD commented 3 months ago

Mine is not fixed.

gspassky commented 3 months ago

I have an issue with web assets - they are working in web (test), but don't load in APK. Maybe you found the solution?

Adventure-Hunt commented 3 months ago

Mine is working now. I did nothing, Flutterflow rolled out the fix and it worked for me.

4SandyD commented 3 months ago

Mine's not working either. It's actually telling me I have an image widget error on a page that has no image widget. Very strange and frustrating and Support has been silent on this so far.

On Fri, Aug 9, 2024 at 6:59 AM gspassky @.***> wrote:

I have an issue with web assets - they are working in web (test), but don't load in APK. Maybe you found the solution?

— Reply to this email directly, view it on GitHub https://github.com/FlutterFlow/flutterflow-issues/issues/3565#issuecomment-2278012646, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF44HBJOWTJAMGEHWSMFXC3ZQTDNZAVCNFSM6AAAAABMCY2B42VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZYGAYTENRUGY . You are receiving this because you commented.Message ID: @.***>

TheDescar commented 3 months ago

Hello, mine also working, 4SandyD did you try to to Publish again or redeploy?

gspassky commented 3 months ago

Finally I found out that my problem exists only if I use SVG images. @4SandyD Try using jpg or png

4SandyD commented 3 months ago

I'm a rank newbie. I thought Publish and deployment was for going live. I'm working in development mode, not production. Should I try to publish anyway?

On Fri, Aug 9, 2024 at 11:28 PM TheDescar @.***> wrote:

Hello, mine also working, 4SandyD did you try to to Publish again or redeploy?

— Reply to this email directly, view it on GitHub https://github.com/FlutterFlow/flutterflow-issues/issues/3565#issuecomment-2279685731, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF44HBPAR7JJ2GKNAMLDQJLZQWXHXAVCNFSM6AAAAABMCY2B42VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZZGY4DKNZTGE . You are receiving this because you commented.Message ID: @.***>

4SandyD commented 3 months ago

I've uploaded both png and jpg. Errors persist.

On Sat, Aug 10, 2024 at 12:16 AM gspassky @.***> wrote:

Finally I found out that my problem exists only if I use SVG images. @4SandyD https://github.com/4SandyD Try using jpg or png

— Reply to this email directly, view it on GitHub https://github.com/FlutterFlow/flutterflow-issues/issues/3565#issuecomment-2279930336, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF44HBIWVGSUM3UQ6VEIT3LZQW46VAVCNFSM6AAAAABMCY2B42VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZZHEZTAMZTGY . You are receiving this because you were mentioned.Message ID: @.***>

EduardoGascaAP commented 3 months ago

I have this error as well

LaVanguard commented 2 months ago

Same issue here.