This plugin is designed for supporting Send & Receive SMS on Cordova based Android apps.
Since Android 4.4+, the Android requires app to be a default SMS app to send and receive SMS, else the sending should silently failed without issues. This Plugin is made to set your Cordova app as default SMS app and give your HTML and Javascript to send and receive SMSs
CheckDefault client action - this will give/return the current SMS app identifier and your app identifier.
SetDefault client action - this will allow you to set your app as default SMS messaging app.
SendSMS client action - This will allow you to send an SMS to a provided mobile number.
SMSReceiverBlock - this will handle the SMS reveived.
Modified the manifest to be able to receive the SMS without making the app as default.
Plugin credits to: rampicosPlugin Link: https://github.com/aliitotz/cordova-sms-plugin-android
- Added Permission checking