diff --git a/src/plugins/sms.ts b/src/plugins/sms.ts index 36640d3a8c..f8cae37b36 100644 --- a/src/plugins/sms.ts +++ b/src/plugins/sms.ts @@ -58,7 +58,10 @@ export class SMS { * @param options {SmsOptions} Options * @returns {Promise} Resolves promise when the SMS has been sent */ - @Cordova() + @Cordova({ + successIndex: 3, + errorIndex: 4 + }) static send( phoneNumber: string | string[], message: string,