As we have seen, cordova push plugin only provides access to notification action when we click on notification from status bar, but if we want to perform that action without clicking on notification we have to add some extra code.
1. First of all open
GCMIntentService.java file under
com.plugin.gcm from eclipse project
2. you will find the below method:
public void createNotification(Context context, Bundle extras)