Skip to content

Commit 77fd6fe

Browse files
committed
Update version to 1.2.0 and enhance changelog with breaking changes, updates, fixes, and migration notes.
1 parent 763a0bc commit 77fd6fe

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,33 @@
22

33
#
44

5+
## [1.2.0] - 2025-09-09
6+
7+
### Breaking Changes
8+
9+
- OpenMail.openMailApp: removed the nativePickerTitle parameter. Android now uses the system default chooser title.
10+
- OpenMail.openSpecificMailApp: signature changed to openSpecificMailApp(String name). It now opens the target app’s inbox only and returns OpenMailAppResult, similar to openMailApp.
11+
12+
### Changed
13+
14+
- iOS: Apple Mail inbox scheme switched from mailto:// to message:// for opening the inbox reliably.
15+
- Android: native implementation for openMailApp ignores custom titles and uses Intent chooser with default title.
16+
- Example and tests updated to match new APIs.
17+
18+
### Fixed
19+
20+
- iOS detection of Gmail and other apps: clarified and enforced LSApplicationQueriesSchemes requirements so canOpenURL works and Gmail appears in the list when installed.
21+
22+
### iOS Setup Notes
23+
24+
- Ensure these URL schemes are added to your app’s Info.plist under LSApplicationQueriesSchemes for detection:
25+
- googlegmail, x-dispatch, readdle-spark, airmail, ms-outlook, ymail, fastmail, superhuman, protonmail, message
26+
27+
### Migration
28+
29+
- Replace OpenMail.openMailApp(nativePickerTitle: '...') with OpenMail.openMailApp().
30+
- Replace OpenMail.openSpecificMailApp(name, emailContent) with OpenMail.openSpecificMailApp(name).
31+
532
## [1.1.0] - 2025-05-26
633

734
### Added

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: open_mail
22
description: A Flutter package to query the device for installed email apps and open them programmatically.
3-
version: 1.1.0
3+
version: 1.2.0
44
homepage: https://github.com/Cuboid-Inc/open_mail
55
repository: https://github.com/Cuboid-Inc/open_mail
66

0 commit comments

Comments
 (0)