@ReactMethod public void rClearAll(Callback errorCallback,Callback successCallback){
  try {
    mNotificationManager.clearAll();
    successCallback.invoke();
  }
 catch (  Exception e) {
    errorCallback.invoke(e.getMessage());
    Log.e("ReactSystemNotification","NotificationModule: rClearAll Error: " + Log.getStackTraceString(e));
  }
}

@ ReactMethod public void rClearAll ( Callback errorCallback , Callback successCallback ) { try { mNotificationManager . clearAll ( ) ; successCallback . invoke ( ) ; } catch ( Exception e ) { errorCallback . invoke ( e . getMessage ( ) ) ; Log . e ( "ReactSystemNotification" , "NotificationModule: rClearAll Error: " + Log . getStackTraceString ( e ) ) ; } }
react method to clear all notifications of this app .
