uri_content 3.1.1 copy "uri_content: ^3.1.1" to clipboard
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 for content 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 to 21 (devices with SDK < 21.0 are no longer supported)
  • iOS deployment target:
    • Updated from 11.0 to 12.0 (devices with iOS < 12.0 are no longer supported)
  • Kotlin version:
    • Updated from 1.7.10 to 1.8.22
  • Gradle version:
    • Updated from 7.4 to 8.9
  • Gradle properties:
    • Updated JVM args and other build properties
  • Android Gradle Plugin:
    • Updated from 7.2.0 to 8.7.0

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 and fromOrNull function

0.0.1 #

  • Experimental release
14
likes
160
points
2.13k
downloads

Publisher

unverified uploader

Weekly Downloads

Get the Uint8List content of a given Uri. Supports file, data, content and http/https

Repository (GitHub)

Topics

#uri #download #content #uint8list

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on uri_content

Packages that implement uri_content