@Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_login);
    ButterKnife.bind(this);

    JPushInterface.clearAllNotifications(getApplicationContext());
    JPushHelper jPushHelper = new JPushHelper(null, null);
    jPushHelper.cancelAlias();

    ApiClient.userLogout();

    mBtLogin.setOnClickListener(this);
    btGreenChannel.setOnClickListener(this);
  }
 void clearAllNotification(JSONArray data, CallbackContext callbackContext) {
   JPushInterface.clearAllNotifications(this.cordova.getActivity());
   // callbackContext.success();
 }