Search docs/
Getting StartedPlugins

SMS

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

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

Stuck on a Cordova issue?

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic’s experts offer premium advisory services for both community plugins and premier plugins.

Contact Us Today!

Installation

ionic cordova plugin add cordova-sms-pluginnpm install @ionic-native/smsnpm install cordova-sms-pluginnpm install @ionic-native/smsionic cap sync
Ionic Enterprise comes with fully supported and maintained plugins from the Ionic Team. Learn More or if you're interested in an enterprise version of this plugin Contact Us

Supported Platforms

  • Android
  • iOS
  • Windows
  • Windows Phone 8

Usage

React

See here.

Angular

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

constructor(private sms: SMS) { }


...


// Send a text message using default options
this.sms.send('416123456', 'Hello world!');
欧美牲交a欧美牲交aⅴ免费真_欧美日韩亚洲第一区在线_欧美日韩无线码免费