SMSPlugin

Cordova SMS Plugin to Send and Receive SMS
asanka-x0.2.014
platforms: android
$ cordova plugin add info.asankan.phonegap.smsplugin

Phonegap-SMS

PhoneGap plugin to send and receive sms

Supported Features

  • Send SMS
  • Check SMS feature availability
  • Start Receiving SMSs
  • Stop Receiving SMSs

Supported Platforms

  • Android

Usage

Installation

phonegap plugin add https://github.com/asanka-x/Phonegap-SMS.git

or

cordova plugin add https://github.com/asanka-x/Phonegap-SMS.git

Require the plugin module

var smsplugin = cordova.require("info.asankan.phonegap.smsplugin.smsplugin");

Methods

send

smsplugin.send(number,message,successCallback(result),failureCallback(error));

isSupported

smsplugin.isSupported(successCallback(result),failureCallback(error));

startReception

smsplugin.startReception(successCallback(result),failureCallback(error));

stopReception

smsplugin.stopReception(successCallback(result),failureCallback(error));