flutter_cached_network_image icon indicating copy to clipboard operation
flutter_cached_network_image copied to clipboard

Image show pink in color in image view when i open the app from background after sometime : iOS only

Open rajrajputgs opened this issue 3 months ago • 1 comments

🐛 Bug Report

iOS issue: app shows a pink imageview briefly when reopened from the background.

Expected behavior: Should show image properly, and if found error then show the error widget.

Reproduction steps : Put iOS app is in background for a while and after sometime you will get this issue.

Configuration :

return CachedNetworkImage( height: height, width: width, fit: fit, imageUrl: normalizedPath, maxHeightDiskCache: 2000, maxWidthDiskCache: 2000, color: color, placeholder: (context, url) => SizedBox( height: 30, width: 30, child: LinearProgressIndicator( color: Colors.grey.shade200, backgroundColor: Colors.grey.shade100, ), ), errorWidget: (context, url, error) { return Image.asset( placeHolder, height: height, width: width, fit: fit ?? BoxFit.cover, errorBuilder: (context, error, stackTrace) { return const Icon(Icons.broken_image, size: 40, color: Colors.grey); }, ); }, fadeOutDuration: const Duration(seconds: 0), fadeInDuration: const Duration(seconds: 0), );

Usage

return CustomImageView( imagePath: vendorModel.vendorImage, height: 62.adaptSize, width: 62.adaptSize, radius: BorderRadius.circular(100.h), alignment: Alignment.center, );

Image

Version: cached_network_image: 3.4.1

Platform:

  • [x] :iphone: iOS

rajrajputgs avatar Sep 25 '25 07:09 rajrajputgs

https://github.com/Baseflow/flutter_cached_network_image/compare/develop...mutant0113:flutter_cached_network_image:fix_ios_image_upload_failed_due_to_loss_of_GPU_access

Fixed with this fork

Mordtimer avatar Sep 29 '25 12:09 Mordtimer