cordova-plugin-sms-watch
Plugin to operate SMS, send / list / intercept / delete / restore.
How to Use?
Use the plugin with Cordova CLI (v5.x or above):
cordova plugin add cordova-plugin-sms-watch
When use with PhoneGap Build, write following line in your config.xml:
API Overview
Methods
; ;; ; ;
Events
'onSMSArrive'
Quick Start
# create a demo project cordova create test1 com.rjfun.test1 Test1 cd test1 cordova platform add android # now add plugin cordova plugin add cordova-plugin-sms # copy the demo file rm -r www/*; cp plugins/cordova-plugin-sms/test/* www/; # now build and run the demo in your device or emulator cordova prepare; cordova run android; # or import into Xcode / eclipse