open_app_file
4.0.5, released 5 months ago by an unverified publisher
Open files with default system-provided applications.
What it does
A plugin that allows opening files using the default applications provided by the system. It supports Android, iOS, Web, Linux, macOS, and Windows platforms.
AI-written summary of version 4.0.5, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to open generated or downloaded files with system applications.
- You want to handle file opening across Android, iOS, Web, and desktop platforms.
Skip it when
- You need to install APK files on Android (does not include REQUEST_INSTALL_PACKAGES permission).
- You rely on broad external storage permissions on Android.
Strengths
- Supports multiple platforms including mobile, desktop, and web.
- Rewritten Android implementation for more robust permission checks without bundling dangerous permissions.
Weaknesses
- Does not handle or request permissions for you; permission denied results must be handled manually.
- On web, files are typically downloaded or opened directly via browser behavior without pre-flight checks.
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 2
No special build tools needed. Platform-specific permission handling may be required depending on where the files are stored.
import 'package:open_app_file/open_app_file.dart';
OpenAppFile.open('/sdcard/example.txt');Alternatives
Packages that do the same job and could replace open_app_file.
- path_provider
Provides Flutter APIs to locate common filesystem directories on Android, iOS, macOS, Linux and Windows.
93Compare - file_system_access_api
Dart library exposing the browser File System Access API for web apps.
45Compare - open_file_manager
A Flutter plugin to open the default system file manager app on Android and iOS.
74Compare - open_filex
Plugin to open files via native apps, returning a string result
88Compare
Works with
Packages commonly used together with open_app_file: ones it builds on, ones built on it, and its own family.