Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug report] Azure BlobStorage Network Images are not loading in flutter release apk #730

Open
naninydhruva opened this issue Jan 21, 2025 · 7 comments

Comments

@naninydhruva
Copy link

Version

9.1.0

Platforms

Android

Device Model

OnePlus 9 pro (Android 14)

flutter info

[√] Flutter (Channel stable, 3.27.1, on Microsoft Windows [Version 10.0.22621.4751], locale en-IN)
    • Flutter version 3.27.1 on channel stable at C:\src\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 17025dd882 (5 weeks ago), 2024-12-17 03:23:09 +0900
    • Engine revision cb4b5fff73
    • Dart version 3.6.0
    • DevTools version 2.40.2

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    • Android SDK at C:\Users\61077277\AppData\Local\Android\Sdk
    • Platform android-Baklava, build-tools 35.0.0
    • ANDROID_HOME = C:\Users\61077277\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[X] Visual Studio - develop Windows apps
    X Visual Studio not installed; this is necessary to develop Windows apps.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

[√] Android Studio (version 2024.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11)

[√] VS Code (version 1.96.4)
    • VS Code at C:\Users\61077277\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.102.0

[√] Connected device (4 available)
    • LE2121 (mobile)   • 708e6c11 • android-arm64  • Android 14 (API 34)
    • Windows (desktop) • windows  • windows-x64    • Microsoft Windows [Version 10.0.22621.4751]
    • Chrome (web)      • chrome   • web-javascript • Google Chrome 132.0.6834.84
    • Edge (web)        • edge     • web-javascript • Microsoft Edge 132.0.2957.115

[√] Network resources
    • All expected network resources are available.

How to reproduce?

Pass any network Image url from Azure blob storage and run the flutter app in release mode.

Now the images are not loading, the loaded state is coming as failed

Logs

Example code (optional)

Contact

[email protected]

@zmtzawqlp
Copy link
Member

any log, any demo ?

@naninydhruva
Copy link
Author

Hi ,

Not able to get the logs for it , as it is a release build:

but I have tried to print the error:

error:
Bad State: Failed to load the url: Azure blobstorage url

@zmtzawqlp
Copy link
Member

zmtzawqlp commented Jan 22, 2025

i can't do anything with the information which you provide. please provide me a runnable reproduce demo

@tazik561
Copy link

tazik561 commented Feb 6, 2025

same issue: I can not load images from the Azure blob : [SecureExtendedImage] Image load failed. Error: [object ProgressEvent]
[object ProgressEvent]

@zmtzawqlp
Copy link
Member

could you please test them with official Image.network ?

@tazik561
Copy link

tazik561 commented Feb 6, 2025

I used HtmlElementView, so now I see my image from Azure blob URL.

@zmtzawqlp
Copy link
Member

ExtendedImage is the same as official Image.network , please test it with official Image.network, and provide the log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants