Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ionic-native/email-composer

Package Overview
Dependencies
Maintainers
4
Versions
160
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ionic-native/email-composer - npm Package Compare versions

Comparing version 4.6.0 to 4.7.0

14

index.d.ts

@@ -35,2 +35,6 @@ import { IonicNativePlugin } from '@ionic-native/core';

isHtml?: boolean;
/**
* Content type of the email (Android only)
*/
type?: string;
}

@@ -96,3 +100,3 @@ /**

*
* @param [app] {string} App id or uri scheme.
* @param {string} [app] App id or uri scheme.
* @returns {Promise<any>} Resolves if available, rejects if not available

@@ -114,4 +118,4 @@ */

*
* @param alias {string} The alias name
* @param packageName {string} The package name
* @param {string} alias The alias name
* @param {string} packageName The package name
*/

@@ -122,4 +126,4 @@ addAlias(alias: string, packageName: string): void;

*
* @param options {EmailComposerOptions} Email
* @param [scope] {any} Scope for the promise
* @param {EmailComposerOptions} options Email
* @param {any} [scope] Scope for the promise
* @returns {Promise<any>} Resolves promise when the EmailComposer has been opened

@@ -126,0 +130,0 @@ */

@@ -21,3 +21,3 @@ var __extends = (this && this.__extends) || (function () {

import { Injectable } from '@angular/core';
import { Cordova, Plugin, CordovaCheck, IonicNativePlugin } from '@ionic-native/core';
import { Cordova, CordovaCheck, IonicNativePlugin, Plugin } from '@ionic-native/core';
/**

@@ -87,3 +87,3 @@ * @name Email Composer

*
* @param [app] {string} App id or uri scheme.
* @param {string} [app] App id or uri scheme.
* @returns {Promise<any>} Resolves if available, rejects if not available

@@ -119,3 +119,5 @@ */

*/
EmailComposer.prototype.requestPermission = function () { return; };
EmailComposer.prototype.requestPermission = function () {
return;
};
/**

@@ -125,8 +127,10 @@ * Checks if the app has a permission to access email accounts information

*/
EmailComposer.prototype.hasPermission = function () { return; };
EmailComposer.prototype.hasPermission = function () {
return;
};
/**
* Adds a new mail app alias.
*
* @param alias {string} The alias name
* @param packageName {string} The package name
* @param {string} alias The alias name
* @param {string} packageName The package name
*/

@@ -137,7 +141,9 @@ EmailComposer.prototype.addAlias = function (alias, packageName) { };

*
* @param options {EmailComposerOptions} Email
* @param [scope] {any} Scope for the promise
* @param {EmailComposerOptions} options Email
* @param {any} [scope] Scope for the promise
* @returns {Promise<any>} Resolves promise when the EmailComposer has been opened
*/
EmailComposer.prototype.open = function (options, scope) { return; };
EmailComposer.prototype.open = function (options, scope) {
return;
};
EmailComposer.decorators = [

@@ -193,3 +199,3 @@ { type: Injectable },

repo: 'https://github.com/katzer/cordova-plugin-email-composer',
platforms: ['Amazon Fire OS', 'Android', 'Browser', 'iOS', 'Windows']
platforms: ['Amazon Fire OS', 'Android', 'Browser', 'iOS', 'Windows', 'macOS']
})

@@ -196,0 +202,0 @@ ], EmailComposer);

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"EmailComposerOptions":{"__symbolic":"interface"},"EmailComposer":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ionic-native/core","name":"IonicNativePlugin"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Plugin"},"arguments":[{"pluginName":"EmailComposer","plugin":"cordova-plugin-email-composer","pluginRef":"cordova.plugins.email","repo":"https://github.com/katzer/cordova-plugin-email-composer","platforms":["Amazon Fire OS","Android","Browser","iOS","Windows"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"isAvailable":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"CordovaCheck"}}]}],"requestPermission":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"successIndex":0,"errorIndex":2}]}]}],"hasPermission":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"successIndex":0,"errorIndex":2}]}]}],"addAlias":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"}}]}],"open":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"successIndex":1,"errorIndex":3}]}]}]}}}},{"__symbolic":"module","version":1,"metadata":{"EmailComposerOptions":{"__symbolic":"interface"},"EmailComposer":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ionic-native/core","name":"IonicNativePlugin"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Plugin"},"arguments":[{"pluginName":"EmailComposer","plugin":"cordova-plugin-email-composer","pluginRef":"cordova.plugins.email","repo":"https://github.com/katzer/cordova-plugin-email-composer","platforms":["Amazon Fire OS","Android","Browser","iOS","Windows"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"isAvailable":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"CordovaCheck"}}]}],"requestPermission":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"successIndex":0,"errorIndex":2}]}]}],"hasPermission":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"successIndex":0,"errorIndex":2}]}]}],"addAlias":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"}}]}],"open":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"successIndex":1,"errorIndex":3}]}]}]}}}}]
[{"__symbolic":"module","version":3,"metadata":{"EmailComposerOptions":{"__symbolic":"interface"},"EmailComposer":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ionic-native/core","name":"IonicNativePlugin"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Plugin"},"arguments":[{"pluginName":"EmailComposer","plugin":"cordova-plugin-email-composer","pluginRef":"cordova.plugins.email","repo":"https://github.com/katzer/cordova-plugin-email-composer","platforms":["Amazon Fire OS","Android","Browser","iOS","Windows","macOS"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"isAvailable":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"CordovaCheck"}}]}],"requestPermission":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"successIndex":0,"errorIndex":2}]}]}],"hasPermission":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"successIndex":0,"errorIndex":2}]}]}],"addAlias":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"}}]}],"open":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"successIndex":1,"errorIndex":3}]}]}]}}}},{"__symbolic":"module","version":1,"metadata":{"EmailComposerOptions":{"__symbolic":"interface"},"EmailComposer":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ionic-native/core","name":"IonicNativePlugin"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Plugin"},"arguments":[{"pluginName":"EmailComposer","plugin":"cordova-plugin-email-composer","pluginRef":"cordova.plugins.email","repo":"https://github.com/katzer/cordova-plugin-email-composer","platforms":["Amazon Fire OS","Android","Browser","iOS","Windows","macOS"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"isAvailable":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"CordovaCheck"}}]}],"requestPermission":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"successIndex":0,"errorIndex":2}]}]}],"hasPermission":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"successIndex":0,"errorIndex":2}]}]}],"addAlias":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"}}]}],"open":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"successIndex":1,"errorIndex":3}]}]}]}}}}]
{
"name": "@ionic-native/email-composer",
"version": "4.6.0",
"version": "4.7.0",
"description": "Ionic Native - Native plugins for ionic apps",

@@ -5,0 +5,0 @@ "module": "index.js",

@@ -1,2 +0,2 @@

<a style="float:right;font-size:12px;" href="http://github.com/ionic-team/ionic-native/edit/master/src/@ionic-native/plugins/email-composer/index.ts#L45">
<a style="float:right;font-size:12px;" href="http://github.com/ionic-team/ionic-native/edit/master/src/@ionic-native/plugins/email-composer/index.ts#L53">
Improve this doc

@@ -24,4 +24,5 @@ </a>

- Windows
- macOS

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc