Merge in v5 code

This commit is contained in:
Ibby Hadeed
2017-12-28 07:28:44 -05:00
parent d43fe72f7b
commit 0f9c21ab42
255 changed files with 11473 additions and 6501 deletions
@@ -1,5 +1,5 @@
import { Injectable } from '@angular/core';
import { Cordova, Plugin, CordovaCheck, IonicNativePlugin } from '@ionic-native/core';
import { Cordova, CordovaCheck, IonicNativePlugin, Plugin } from '@ionic-native/core';
export interface EmailComposerOptions {
@@ -81,7 +81,7 @@ export interface EmailComposerOptions {
* subject: 'Cordova Icons',
* body: 'How are you? Nice greetings from Leipzig',
* isHtml: true
* };
* }
*
* // Send a text message using default options
* this.emailComposer.open(email);
@@ -148,7 +148,9 @@ export class EmailComposer extends IonicNativePlugin {
successIndex: 0,
errorIndex: 2
})
requestPermission(): Promise<boolean> { return; }
requestPermission(): Promise<boolean> {
return;
}
/**
* Checks if the app has a permission to access email accounts information
@@ -158,7 +160,9 @@ export class EmailComposer extends IonicNativePlugin {
successIndex: 0,
errorIndex: 2
})
hasPermission(): Promise<boolean> { return; }
hasPermission(): Promise<boolean> {
return;
}
/**
* Adds a new mail app alias.
@@ -167,7 +171,8 @@ export class EmailComposer extends IonicNativePlugin {
* @param packageName {string} The package name
*/
@Cordova()
addAlias(alias: string, packageName: string): void { }
addAlias(alias: string, packageName: string): void {
}
/**
* Displays the email composer pre-filled with data.
@@ -180,6 +185,8 @@ export class EmailComposer extends IonicNativePlugin {
successIndex: 1,
errorIndex: 3
})
open(options: EmailComposerOptions, scope?: any): Promise<any> { return; }
open(options: EmailComposerOptions, scope?: any): Promise<any> {
return;
}
}