Revert "chore(package): bump dependencies and lint rules"

This reverts commit 21ad4734fa.
This commit is contained in:
Daniel
2018-03-16 22:04:01 +01:00
parent 21ad4734fa
commit 6c938bfdb7
178 changed files with 4221 additions and 10592 deletions
+10 -7
View File
@@ -1,23 +1,28 @@
import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core';
/**
* Options for sending an SMS
*/
export interface SmsOptions {
/**
* Set to true to replace \n by a new line. Default: false
*/
replaceLineBreaks?: boolean;
android?: SmsOptionsAndroid;
}
export interface SmsOptionsAndroid {
/**
* Set to "INTENT" to send SMS with the native android SMS messaging. Leaving it empty will send the SMS without opening any app.
*/
intent?: string;
}
/**
@@ -52,6 +57,7 @@ export interface SmsOptionsAndroid {
})
@Injectable()
export class SMS extends IonicNativePlugin {
/**
* Sends sms to a number
* @param phoneNumber {string|Array<string>} Phone number
@@ -67,9 +73,7 @@ export class SMS extends IonicNativePlugin {
phoneNumber: string | string[],
message: string,
options?: SmsOptions
): Promise<any> {
return;
}
): Promise<any> { return; }
/**
* This function lets you know if the app has permission to send SMS
@@ -78,7 +82,6 @@ export class SMS extends IonicNativePlugin {
@Cordova({
platforms: ['Android']
})
hasPermission(): Promise<boolean> {
return;
}
hasPermission(): Promise<boolean> { return; }
}