open_mail 1.1.0
open_mail: ^1.1.0 copied to clipboard
A Flutter package to query the device for installed email apps and open them programmatically.
Changelog #
#
[1.1.0] - 2025-05-26 #
Added #
- Robust fallback logic for Apple Mail on iOS: always uses
mailto:
for compose, ensuring pre-filled fields work reliably. - Improved compose URL generation for Gmail and other supported apps.
- Comprehensive error handling and fallback to
mailto:
for all mail apps if custom scheme fails.
Changed #
- Cleaned up and productionized code: removed all debug/print statements and development-only code.
- Ready for production release.
All notable changes to this project will be documented in this file.
[1.0.1] - 2025-05-25 #
Bug Fixes #
- Fixed mail app detection in Android release builds.
- Resolved "Abstract classes can't be instantiated!" error caused by GSON serialization issues in release mode.
- Updated the JSON serialization for app data to use JSONObject directly instead of GSON to prevent ProGuard/R8 obfuscation problems.
- Added proper null safety handling in native code for email content fields.
- Updated ProGuard rules to correctly keep necessary classes and their members.
- Ensured consistent creation of
App
objects in Kotlin code.
[1.0.0] - 2025-05-15 #
Major Upgrade #
- Migrated Android plugin to v2 embedding and modern APIs.
- Updated Android build to use AGP 8.2.2, Kotlin 1.8.22, compileSdk 35, and minSdk 26.
- Improved compatibility with latest Flutter and Android versions.
- Fixed platform channel and plugin registration issues.
[0.0.7] - 2025-01-04 #
Fix and Improve Documentation #
- Fix some deprecated dependency and update documentaiton.
[0.0.6] - 2025-01-04 #
Improvement #
- Downgrade platform version from 3.1.6 to 3.1.0 to remove conflict dependecies.