media_scanner
2.2.1, released 8 months ago by lazycatlabs.com
Scan and refresh newly saved media files into the Android gallery
What it does
Allows your app to trigger a media scan on Android so that newly saved photos or videos appear immediately in the device gallery without needing a reboot.
AI-written summary of version 2.2.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You save photos or videos on Android and need them to show up in the gallery immediately
- You are developing an Android-specific media management or capture application
Skip it when
- You need iOS support
- You are not saving new media files that require a gallery refresh
Strengths
- Solves the specific problem of refreshing the Android media store
- Simple and straightforward API
Weaknesses
- Only works on Android
- Very minimal functionality with no iOS implementation
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Only works on Android; no special native configuration documented beyond standard plugin setup.
MediaScanner.loadMedia(path: "media_path");Alternatives
Packages that do the same job and could replace media_scanner.
- adaptive_media_picker
Flutter package to pick images or videos with permissions, source sheet, cropping and validation on all platforms.
66Compare - image_downloader_web
A Flutter plugin for downloading images from URL or bytes to the user's device on Flutter Web.
53Compare - flutter_gallery_assets
Images and fonts for the Flutter gallery app
44Compare