Skip to content
pubscout

media_store_plus

0.1.3, released 2 years ago by snnafi.com

Access Android MediaStore API in Flutter for reading and writing files across versions.

$ flutter pub add media_store_plus
Source repository

What it does

Allows Flutter apps to read, write, edit, and delete files using the Android MediaStore API. It handles scoped storage constraints and requests necessary permissions automatically.

AI-written summary of version 0.1.3, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to save or read files in public Android directories like DCIM, Pictures, Music, or Download
  • Your app must support scoped storage on modern Android API levels

Skip it when

  • You are developing primarily for iOS, Web, or Desktop platforms
  • You only need local app-specific storage directory access

Strengths

  • Supports both read and write operations across various Android versions via MediaStore
  • Automatically manages permissions for files not created by the app

Weaknesses

  • Android-specific functionality
  • Requires manual configuration of AndroidManifest.xml and proguard-rules.pro

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
No
Direct dependencies
2

Requires editing AndroidManifest.xml for storage permissions and updating proguard-rules.pro for GSON.

dependencies:
  media_store_plus: ^0.1.3

Alternatives

Packages that do the same job and could replace media_store_plus.

  • safe_local_storage

    Key-value storage library for Dart/Flutter that safely reads and writes local data.

  • prefs

    A static wrapper around shared_preferences for reading and writing app preferences.

Works with

Packages commonly used together with media_store_plus: ones it builds on, ones built on it, and its own family.