Cordova push

I am using for
Android, but its not working for me

I have changed senderID to my ID

Below code is not getting executed, I am not even getting the alert
message which I have added

$cordovaPush.register(config).then(function (result) {

        console.log("Register success " + result);

        alert('hey wassup' + result);

        $cordovaToast.showShortCenter('Registered for push 



        // ** NOTE: Android regid result comes back in the 

pushNotificationReceived, only iOS returned here

        if (ionic.Platform.isIOS()) {

            $scope.regId = result;



Kindly suggest what can be done to solve this issue

did you see Push notification using PushPlugin returns OK and not reg id ?