Cordova sms plugin not working

im actualy developping an app using ionic in which i must send sms to the new user containing an activation code in order to confirm his registration.

im using cordova sms plugin, and i tested it into many android version and also in windows phone 8 using phonegap developper but nothing is happening. My code is this one:

document.addEventListener(“deviceready”, function(){
//trying sms
$scope.smsTry = function(loginForm){


        var options = {
            replaceLineBreaks: true, // true to replace \n by a new line, false by default
            android: {
                intent: '' // send SMS without open any other app

        $cordovaSms.send($scope.signUpInfo.phoneNumber, 'This is some dummy text', options)
                title: "Ok",
                template: "Xa a marcher"
        }, function(error){
                title: "Error",
                template: "putain"+error



What is this?
Does it include the plugin?

Yes, i installed the plugin like the doc says. other plugins work
perfectly (cordova datepicker, and phonegap barcodescanner). but the
sms plugin doesnt work

Please reread my question and reply to it. I have no idea what “phonegap developper” is. Normally a developer is a person.

phonegap developper is a tool that can be download in the store and installed in a real device(android, wp, iOS) and allow to remotely debug a cordova application from the PC with the command ionic serve or phonegap serve. I use it only on my windows phone because i dont have the windows phone SDK in my PC. I only have the SDK for android but even with windows phone or android the plugin doesnt work(On android i use the command ionic build android --device and run it)


Ah, so you are talking about:

Seems the SMS plugin is not supported:

the problem is that its not also working with a real android device having android 5.1.1 as version

How are you building the app?
What is your ionic info output?

Cordova CLI: 6.4.0
Ionic CLI Version: 2.1.18
Ionic App Lib Version: 2.1.9
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v7.2.1
Xcode version: Not installed

Dear Sujan I have change the scope $scope.signUpInfo.phoneNumber because before i was including the zipcode of the receiver but now i see the the success callback message but the application crash and close itself after and no message is sent! the receiver sim card is in another phone and the app that send is also in another phone.