We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 685ac5c commit 8fbf1f2Copy full SHA for 8fbf1f2
src/plugins/sms.ts
@@ -60,6 +60,15 @@ export class SMS {
60
phoneNumber: string | string[],
61
message: string,
62
options?: SmsOptions
63
- ): Promise<any> { return; }
+ ): Promise<any> { return; }
64
+
65
+ /**
66
+ * This function lets you know if the app has permission to send SMS
67
+ * @return {Promise<boolean>} returns a promise that resolves with a boolean that indicates if we have permission
68
+ */
69
+ @Cordova({
70
+ platforms: ['Android']
71
+ })
72
+ static hasPermission(): Promise<boolean> { return; }
73
74
}
0 commit comments