# open_file

> Flutter plugin that opens a file in the device's native app

Source: https://talira.ai/catalog/open-file-3jak86by
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [frameworks / mobile / plugins](https://talira.ai/categories/frameworks/mobile/plugins), [languages / dart](https://talira.ai/categories/languages/dart)
- Platforms: ios, android, windows, macos, linux, web[^2][^3]
- Licence: BSD-3-Clause[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [crazecoder](https://talira.ai/orgs/crazecoder.md)

open_file is a [Flutter](https://talira.ai/catalog/flutter-nhwgvsth.md) plugin that opens a file with the platform's native app and returns a result string: DocumentInteraction on iOS, intents on Android, FFI on desktop and dart:html on the web. You can add custom file type mappings (extension to MIME type or UTI), and from version 3.3.0 opening an external file needs storage permission first.

## Links

- GitHub: https://github.com/crazecoder/open_file

## Problems it solves

- open a downloaded PDF in the phone's viewer from Flutter
- launch the default app for a file in Flutter
- open a file with another app on Android and iOS from Flutter

## Features

- open files in the native app on iOS, Android, desktop and web
- result string for success or failure
- custom extension-to-type mappings

## Trust

Overall: 0.31 out of 1.
Signals: maintenance 0.27, adoption 0.49, momentum 0.17, community 0.60, backing 0.30, extensibility 0.00.

- 271 GitHub stars
- 31 contributors
- backed by crazecoder

Warnings:

- last commit 5 months ago

## Related

- Works with [Flutter](https://talira.ai/catalog/flutter-nhwgvsth.md)

## Alternatives

- [flutter_local_notifications](https://talira.ai/catalog/flutter-local-notifications-3k8jrjfe.md): Cross-platform Flutter plugin for displaying and scheduling local notifications
- [url_launcher](https://talira.ai/catalog/url-launcher-dk4edpgm.md): Flutter plugin for opening URLs, phone numbers, SMS and email links
- [file_picker](https://talira.ai/catalog/file-picker-bva4ajp3.md): Native file picker for Flutter apps
- [share_plus](https://talira.ai/catalog/share-plus-cp24m2wh.md): Flutter plugin for sharing text, links and files through the platform share sheet
- [path_provider](https://talira.ai/catalog/path-provider-k60r6596.md): Flutter plugin for finding commonly used locations on the device's file system
- [Flutter Packages](https://talira.ai/catalog/flutter-packages-jfkhbbq0.md): Flutter's first-party packages and plugins, maintained by the Flutter team

## Sources

[^1]: https://github.com/crazecoder/open_file/blob/master/LICENSE (checked 29 Nov 2026)
[^2]: https://github.com/crazecoder/open_file/blob/master/README.md (checked 29 Nov 2026)
[^3]: https://github.com/crazecoder/open_file/blob/master/open_file/pubspec.yaml (checked 29 Nov 2026)
