SMS

Contents

Requires Cordova plugin: cordova-sms-plugin. For more info, please see the SMS plugin docs.

https://github.com/cordova-sms/cordova-sms-plugin

Installation

ionic cordova plugin add cordova-sms-plugin npm install @ionic-native/sms

Supported Platforms

  • Android
  • iOS
  • Windows
  • Windows Phone 8

Usage

import { SMS } from '@ionic-native/sms';

constructor(private sms: SMS) { }


...


// Send a text message using default options
this.sms.send('416123456', 'Hello world!');