uri_content 3.1.1
uri_content: ^3.1.1 copied to clipboard
Get the Uint8List content of a given Uri. Supports file, data, content and http/https
3.1.1 #
- Optimized cancel logic for
content
scheme reading - Return
content
scheme exceptions from Kotlin to content stream - Fixed out-of-memory handler logic
3.1.0+1 #
- Documentation updates
3.1.0 #
- Updated minimum supported SDK version to Dart 3.0
- Fixed
OutOfMemoryError
crash forcontent
scheme reading - Optimized memory usage for
content
scheme reading
3.0.0 #
Updated the project to use the Flutter 3.29.0 structure #
- Android min SDK version:
- Updated from
16
to21
(devices with SDK < 21.0 are no longer supported)
- Updated from
- iOS deployment target:
- Updated from
11.0
to12.0
(devices with iOS < 12.0 are no longer supported)
- Updated from
- Kotlin version:
- Updated from
1.7.10
to1.8.22
- Updated from
- Gradle version:
- Updated from
7.4
to8.9
- Updated from
- Gradle properties:
- Updated JVM args and other build properties
- Android Gradle Plugin:
- Updated from
7.2.0
to8.7.0
- Updated from
2.2.1 #
- Adapted Android Gradle script to support new AGP versions
2.2.0 #
- Reduced excessive memory usage when reading
content
scheme by reading the next data chunk only after the previous one has been consumed - Minimum SDK version is now Dart 2.17.0
2.1.1 #
- Documentation fixes
2.1.0 #
- Added new
getContentLength
function
2.0.0 #
- Added
org.jetbrains.kotlinx:kotlinx-coroutines-android
dependency for Android - Added new
canFetchContent
function content
scheme reading is now performed in a separate thread to avoid ANRs- Aborted
content
scheme reading when the stream is no longer being listened to - Improved error handling
1.1.0 #
- Support for custom HTTP headers
1.0.0 #
- Stable release
0.0.6 #
- Improved error handling
0.0.5 #
- Fixed false
Unclosed instance of 'Sink'.
warning from pub.dev
0.0.4 #
- Added
getContentStream
method to retrieve buffered data in chunks instead of loading it all at once
0.0.3 #
- Added support for Linux, macOS, and Windows
- Removed
pigeon
dependency
0.0.2 #
- Added
getContentOrNull
getter andfromOrNull
function
0.0.1 #
- Experimental release