Using output: ImageFormat.webp on file preview causes a crash
i thought you brought this up before already š§
This is the code
bucketId: e.bucketId,
fileId: e.fileId,
height: e.height?.toInt(),
width: e.width?.toInt(),
output: ImageFormat.webp,
quality: 75,
);```
this is the stacktrace
```I/flutter (11114): type 'ImageFormat' is not a subtype of type 'Iterable<dynamic>'
I/flutter (11114): #0 _Uri._makeQueryFromParametersDefault.<anonymous closure> (dart:core/uri.dart:2382:18)
I/flutter (11114): #1 _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:633:13)
I/flutter (11114): #2 _Uri._makeQueryFromParametersDefault (dart:core/uri.dart:2378:21)
I/flutter (11114): #3 _Uri._makeQueryFromParameters (dart:core-patch/uri_patch.dart:85:12)
I/flutter (11114): #4 _Uri._makeQuery (dart:core/uri.dart:2353:12)
I/flutter (11114): #5 new _Uri (dart:core/uri.dart:1654:13)
I/flutter (11114): #6 ClientMixin.prepareRequest (package:appwrite/src/client_mixin.dart:52:13)
I/flutter (11114): #7 ClientIO.call (package:appwrite/src/client_io.dart:370:32)
I/flutter (11114): #8 Storage.getFilePreview (package:appwrite/services/storage.dart:217:30)```
No that's different
this is broken because of the new enums
the api request doesn't even get sent
ahh i see
would you please create an issue for this?
Recommended threads
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...
- I'm experiencing a critical bug on Appwr...
Hey <@870607367597850624> team / support š I'm experiencing a critical bug on Appwrite Cloud that's blocking my production Flutter app. I've already filed GitH...