flutter_email_sender_method_channel 2.0.1
flutter_email_sender_method_channel: ^2.0.1 copied to clipboard
Method channel platform implementation of flutter_email_sender.
2.0.1 #
- Android: keep attachment copies in
filesDir/flutter_email_sender/for three days instead of incacheDir, which Android clears when storage runs low. Gmail failed with "Couldn't send attachment" when the copy was cleared before it uploaded the email, for example while offline (#84).
2.0.0 #
- BREAKING: iOS, macOS: open the
mailto:link built by the Dart side when the native composer is unavailable, and report themailtocomposer fromgetCapabilities(#26, #47, #54, #76). - BREAKING: iOS: complete
sendwhen the composer closes withsent,savedorcancelled, or fail withsend_failed(#72, #77). - BREAKING: fail
sendwhen an attachment file cannot be read, on Android, iOS and macOS. - BREAKING: Android: depend on
androidx.core1.16.0 instead of exposingandroidx.appcompat; raiseminSdkto 24. - Android: send a typed
SEND/SEND_MULTIPLEintent to each email app's own activity instead of using amailto:selector, so Thunderbird-based apps keep a single attachment (#131) and the chooser lists only email apps (#95). - Android: copy attachments into
cacheDir/flutter_email_sender/and expose only that folder through theFileProvider, so files from any readable location work (#48, #100). - Android: declare the package visibility
<queries>in the plugin manifest. - Support in-memory attachments: Android writes them into the attachment folder, iOS passes them to the composer, and macOS writes them to a temporary folder (#119).
- iOS: present the composer from the topmost view controller (#117, #71).
- iOS: derive attachment MIME types from the file extension.
- iOS, macOS: align the podspec deployment targets with Swift Package Manager (iOS 13.0, macOS 10.15).
- Requires
flutter_email_sender_platform_interface1.1.0.
1.0.1 #
- Fix the iOS and macOS podspec
license :filepath to point at the package's own bundledLICENSE, removing a CocoaPods warning on everypod installin consumer apps.
1.0.0 #
- Initial method-channel implementation package for
flutter_email_sender. - Supports Android, iOS, and macOS.