mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-04-22 10:36:26 +08:00
parent
685ac5c7a0
commit
8fbf1f2b34
@ -62,4 +62,13 @@ export class SMS {
|
|||||||
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