open_mail 1.1.0 copy "open_mail: ^1.1.0" to clipboard
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.

[0.0.5] - 2024-11-19 #

Added #

  • Improved documentation for better clarity on package usage.

Fixed #

  • Minor typos and formatting issues in the README file.

[0.0.4] - 2024-11-19 #

Updated #

  • Enhanced documentation with additional examples.

[0.0.3] - 2024-11-19 #

Changed #

  • Updated README with clearer instructions and added Key Features section.

Fixed #

  • Resolved minor inconsistencies in the example code.

[0.0.2] - 2024-11-19 #

Updated #

  • Improved documentation with better usage guidelines.

[0.0.1] - 2024-11-19 #

Initial Release #

  • First release of open_mail, providing basic functionality to open mail applications on supported platforms.
13
likes
140
points
6.41k
downloads

Publisher

verified publishercuboidinc.com

Weekly Downloads

A Flutter package to query the device for installed email apps and open them programmatically.

Repository (GitHub)

Topics

#mail #open-mail #app #mail-app

Documentation

API reference

License

MIT (license)

Dependencies

collection, flutter, platform, url_launcher

More

Packages that depend on open_mail