7i11 / Phonegap-SMS

PhoneGap plugin to send and receive sms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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));

About

PhoneGap plugin to send and receive sms

License:MIT License