-
Notifications
You must be signed in to change notification settings - Fork 24
Description
I tested this on more than 5 Devices (iPad 6. gen, iPhone 5s, iPhone 6, iPhone 7, Pixel 2 XL, an Android Tablet) and the App is crashing after i scroll/swipe once down my gallery-list.
For reproduce, I am only using a simple Grid:
ViewGallery Widget
List<Widget> imageList = new List();
[...]
SliverGrid.extent(
maxCrossAxisExtent:
loadedGallery ? MediaQuery.of(context).size.width / 4 : MediaQuery.of(context).size.width,
children: loadedGallery
? imageList
: [Container(
color: Colors.black54,
child: Center(
child: CircularProgressIndicator(),
))],
)I call the gallery exactly as you're describing in your example code.
The major problem in iOS devices is also, that the images are definetly not 512:512. They're sooo pixely:
I got a workaround for that: targetSize: PHImageManagerMaximumSize. But if I use that parameter (because 512:512 is not working!), I can't use my images! And Most worse is that in the iOS implementation the images are saved to a temporary directory... That slows down my devices...
It's terrible, this plugin is crashing my android devices like so hard, that my preferences like background image is gone!
I mean: did someone ever tested this?
EDIT: I upscaled the ios settings like: 1024:1024 but same image quality...
