mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-04-22 02:34:01 +08:00
parent
685ac5c7a0
commit
8fbf1f2b34
@ -60,6 +60,15 @@ export class SMS {
|
|||||||
phoneNumber: string | string[],
|
phoneNumber: string | string[],
|
||||||
message: string,
|
message: string,
|
||||||
options?: SmsOptions
|
options?: SmsOptions
|
||||||
): Promise<any> { return; }
|
): Promise<any> { return; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function lets you know if the app has permission to send SMS
|
||||||
|
* @return {Promise<boolean>} returns a promise that resolves with a boolean that indicates if we have permission
|
||||||
|
*/
|
||||||
|
@Cordova({
|
||||||
|
platforms: ['Android']
|
||||||
|
})
|
||||||
|
static hasPermission(): Promise<boolean> { return; }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user