diff --git a/src/plugins/sms.ts b/src/plugins/sms.ts index c1b996e3..b674ae00 100644 --- a/src/plugins/sms.ts +++ b/src/plugins/sms.ts @@ -60,6 +60,15 @@ export class SMS { phoneNumber: string | string[], message: string, options?: SmsOptions - ): Promise { return; } + ): Promise { return; } + + /** + * This function lets you know if the app has permission to send SMS + * @return {Promise} returns a promise that resolves with a boolean that indicates if we have permission + */ + @Cordova({ + platforms: ['Android'] + }) + static hasPermission(): Promise { return; } }