Skip to content
pubscout

open_app_file

4.0.5, released 5 months ago by an unverified publisher

Open files with default system-provided applications.

$ flutter pub add open_app_file
Source repository

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.

Works with

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