0.1.3 • Published 8 years ago

sms-reader v0.1.3

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

sms-reader

Plugin for reading SMS on cordova-powered mobile apps.

The main focus of this early version is search text on the received messages for automatic sms validation

Feel free to request features on the issues tab

Sample usage

window.cordova.plugins.SmsReader.checkText('what to search', function (ret) {
			if(ret === 'PLUGIN_PERMISSION_REQUESTED') {
			  //Callback for permission request
			  //You need to call the plugin again
			  //This will be removed on a future version
			}
			//param 'ret' value will have the same value of the search param if found something
		}, function (errorMsg) {
			//param errorMsg will have friendly error message
		})