- Fix package android.support.v4.content does not exist
- Fix line breaks (\r\n) on Android
- [feature:] Added
getClients
that returns a list of available email clients (Android) - [change]: Replace
isAvailable
throughhasClient
andhasAccount
. - [change]: Plugin does not add any permissions by itself like
GET_ACCOUNTS
orREAD_EXTERNAL_STORAGE
. - [change]:
isAvailable
does not request for missing permission (GET_ACCOUNTS
). - [change]:
hasPermission
takes 3 arguments now. The first one has to be a value ofcordova.plugins.email.permission
. - [change]:
requestPermission
takes 3 arguments now. The first one has to be a value ofcordova.plugins.email.permission
. - [change]: Remove support lib from being installed (Android).
- [change]: Remove deprecated namespace
plugin.email
. - [change]: Remove deprecated support for
isHTML
. - [change]: Change default value for
isHtml
tofalse
. - [change]: Remove Android specific
type
property. - [enhancement]: Skip chooser if there's only the default app (#302)
- [enhancement]: Improve chooser to only display email clients.
- [enhancement]: Add
from
to specify the sending email account. - [bugfix:] Do not open old email draft [fixes #303]
- Fix iOS not working if
app:
wasn't specified. - Fix
attachments:
to accept a string.
- Fix wrong uri encoding for browser platform.
- Fix potential wrong result for isAvailable on iOS+OSX by using scheme other then
mailto:
- Fix open app from background thread by using scheme other then
mailto:
- Internal code refactoring
- Added
type
property to specify the content type (#283)
- Apply URL encoding when constructing mailto: link (#273)
- Open gmail on ios and macos [fixes #272]
- Added alias for outlook
- Fix warnings with iOS 11
- Fix opening email with file attachment causes app crash on Android 8 (#270)
- Fix crash on iOS if attachment could not be found
- Fix wrong plugin ID in package.json
- Add support for an app:// URL #158 (Android)
- Add support for an app:// (iOS, OSX, Windows)
- Fixed issue with Android 4.x
10 commits including bug fixes and enhancements:
- [enhancement]: Support for osx platform
- [enhancement]: Added
isAvailable2
which works equal except the callback args are in reverse order. - [enhancement]: Fixed possible attachment issues some Android email clients.
25 commits including bug fixes and enhancements:
- [change]: Skip availability checks with
email.open()
- [change]: Upgrade minimum required engine versions
- [enhancement]: Treat callback functions as optional
- [enhancement]: Support for Android API 23 Permission API
- [enhancement]: Test the account name if they match the email pattern (#180)
- [enhancement]: Support newest cordova platform versions
- [enhancement]: Use @synthesize to prevent EXC_BAD_ACCESS errors with non-ARC code (#207)
- [bugfix]: res:// uri not resolved on cordova-android@6 (6334d0)
- [bugfix]: Require old plugin id for windows platform (#176)
- [bugfix]: Memory leak for iOS
63 commits including bug fixes and enhancements:
- [change:] New plugin ID: cordova-plugin-email-composer
- [enhancement:] Published on npm
- [enhancement:] Allowed the chooser header text to be configured (#113)
- [enhancement:] Plain mailto: support
- [enhancement:] Specify email client using
app:
flag - [enhancement:] More samples in Sample-App
- [bugfix:] Build issues with iOS and Android
- [bugfix:] Compatibility with newest OS and cordova platform versions
- [bugfix:] Crash on iOS when presenting view controller from background (#169)
- [bugfix:] Crash on iOS when no email account is setup
- [bugfix:] Resolved issues with attachments on all platforms
- ...
- Added new namespace
cordova.plugins.email
Note: The formerplugin.email
namespace is now deprecated and will be removed with the next major release. - [change:] Unified
absolute:
andrelative:
tofile:
- [change:] Renamed
isServiceAvailable
toisAvailable
- [feature:]
app:
allows to specify target mail app on Android - [feature:]
res:
prefix for native ressource attachments - [enhancement:] Support attachments on Windows Phone 8.1
- [enhancement:]
open
supports callbacks - [enhancement:]
isHTML
can be used nextisHtml
- [enhancement:] Set mime type to binary if unknown
- [bugfix:] Defaults were ignored
- [enhancement:] Make use Cordovas NSData+Base64 extension.
- [enhancement:] Log error message if attachment path does not exist.
- [feature:] Add support for amazon fire
- [bugfix:] Fix INSTALL_FAILED_CONFLICTING_PROVIDER error
- [bugfix:]
relative://
attachment path wasnt working due to a missing permission. - [bugfix:]
base64://
attachment path looked up in the wrong directory. - [enhancement:]
relative://
supports now any file types and not only images. - [change:]
relative://
URI's even for Android need a file extension.
- [enhancement:] New
absolute://
andrelative://
attachment prefixes. - [feature:] New
base64://
prefix to attach base64 encoded data streams.
- [enhancement:] Attachments are added with their real name.
- [bugfix:] Only the last attachment was added to the email composer on android.
- Release under the Apache 2.0 license.
- [change:] Removed the
callback
property from theopen
interface. - [change:] Renamed the properties
recipients
,ccRecipients
,bccRecipients
. - [bugfix:] Plugin under WP8 throws an error, if recipients were given as arrays.
- [enhancement:]
open
does not block the ui thread on iOS & Android anymore.
- Added WP8 support
- [deprecated:] The
callback
property will be removed with v0.7.0.
- [feature:] Added alias
openDraft
to theopen
interface.
- [bugfix]: On Android, the
isServiceAvailable()
interface has returned string values instead of boolean values. - [bugfix]: Sometimes the device said that no email app is available because of the missing mime type.
- Added Android support
Based on the EmailComposerWithAttachments Android plugin made by guidosabatini
- [bugfix]: Email was not send in HTML format, if the
isHtml
flag was set. - [bugfix]:
email.open()
without a parameter throw an error.
- Added iOS support
Based on the EmailComposer(WithAttachments) iOS plugin made by Randy McMillan and guidosabatini