mail_app_launcher 0.0.1
mail_app_launcher: ^0.0.1 copied to clipboard
A Flutter plugin to launch supported email apps on Android and iOS.
mail_app_launcher #
A Flutter plugin to launch supported email apps on Android and iOS.
Features #
- Presents a list of installed email apps
- Supports popular apps like Gmail, Outlook, Yahoo, and more
- Fallback alert if no supported app is found
Installation #
Add the dependency in your pubspec.yaml:
dependencies:
mail_app_launcher: ^0.0.1
Then run:
flutter pub get
Usage #
Call MailAppLauncher.showMailAppPicker(context) anywhere you have access to a BuildContext:
import 'package:mail_app_launcher/mail_app_launcher.dart';
MailAppLauncher.showMailAppPicker(context);
This will show an adaptive action sheet with supported installed email apps.
iOS Configuration #
To allow launching other apps on iOS, add the following to your ios/Runner/Info.plist file:
<key>LSApplicationQueriesSchemes</key>
<array>
<string>whatsapp</string>
<string>fb-messenger</string>
<string>googlegmail</string>
<string>x-dispatch</string>
<string>readdle-spark</string>
<string>airmail</string>
<string>ms-outlook</string>
<string>ymail</string>
<string>fastmail</string>
<string>superhuman</string>
<string>protonmail</string>
</array>
Supported Apps #
- Gmail
- Outlook
- Yahoo Mail
- Spark
- Airmail
- Fastmail
- Superhuman
- ProtonMail
- X Dispatch
- Messenger
License #
MIT © 2025 Efe Apoki