Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
katzer committed Sep 23, 2019
1 parent c0038f5 commit 7c51118
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions README.md
Expand Up @@ -50,7 +50,7 @@ document.addEventListener('deviceready', function () {
}, false);
```

All properties are optional. After opening the draft the user may have the possibilities to edit the draft from the UI.
All properties are optional. After opening the draft the user may have the possibilities to edit the draft from the UI. The callback comes without arguments.

```javascript
cordova.plugins.email.open({
Expand Down Expand Up @@ -172,17 +172,14 @@ To check for a specific mail client, just pass its uri scheme on iOS, or the pac
cordova.plugins.email.hasClient('gmail', callbackFn);
```

For Android, it's possible to get a list of all installed email clients:
For Android only, it's possible to get a list of all installed email clients:

```javascript
cordova.plugins.email.getClients(function (apps) {
cordova.plugins.email.open({ app: apps[0] });
});
```

__Note:__ Please keep in mind that these functions might return false results and the support is not fully given for all platforms. Its wise to consider these functions as optional.


## Permissions

Some functions require permissions on __Android__. The plugin itself does not add them to the manifest nor does it ask for by itself at runtime.
Expand Down

0 comments on commit 7c51118

Please sign in to comment.