open_mail_app_plus
0.0.2, released 2 years ago by istoria.app
Query device for installed email apps and open them or present a picker.
What it does
Provides the ability to query a device for installed email applications and open them. On iOS where multiple mail apps might be installed, it allows showing a picker dialog since there is no native default app intent system.
AI-written summary of version 0.0.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to let users choose which installed email app to open on iOS or Android.
- url_launcher's default behavior of only opening the default mail app is insufficient.
Skip it when
- You only need to compose a standard email or open a mailto link using the system default app.
- You are not willing to configure iOS Info.plist application queries schemes.
Strengths
- Allows querying available email apps on the device.
- Provides a built-in mail app picker dialog helper.
- Solves iOS limitation regarding non-default email apps.
Weaknesses
- Requires manual configuration of URL schemes in iOS Info.plist.
- New email apps must be added to both the app's Info.plist and the library source.
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 3
iOS requires you to list the URL schemes you would like to query in the Info.plist file under LSApplicationQueriesSchemes.
var result = await OpenMailApp.openMailApp();
if (!result.didOpen && result.canOpen) {
showDialog(
context: context,
builder: (_) => MailAppPickerDialog(mailApps: result.options),
);
}Alternatives
Packages that do the same job and could replace open_mail_app_plus.
- open_mail_app
Query the device for installed email apps and open them.
30Compare - open_mail
Query device for installed email apps and open them programmatically.
58Compare - open_mail_launcher
Open email applications and compose pre-filled emails on Android and iOS.
71Compare - app_launcher
Launches an installed Android app by its package ID, falling back to Google Play if missing.
46Compare
Works with
Packages commonly used together with open_mail_app_plus: ones it builds on, ones built on it, and its own family.
- platformopen_mail_app_plus depends on itCross‑platform abstraction for querying runtime platform info in Dart.
- plugin_platform_interfaceopen_mail_app_plus depends on itReusable base class for platform interfaces of Flutter federated plugins.
- url_launcheropen_mail_app_plus depends on itFlutter plugin for launching URLs across mobile, desktop, and web platforms.