Introduction

This Tutorial aims to teach the user how to add user Notification and messaging preferences in channels such as WePush , SMS and Email

  1. Add Email channel
    NotificationChannelUtils.addEmailNotificationChannel("email", new NotificationChannelCallBack() {  
          @Override  
          public void onSucces() {  
             //log sucess 
         }  
          @Override  
          public void onFail(@Nullable BaseResponse failure) {  
              // log failure 
         }
    });
  1. Add SMS channel
    NotificationChannelUtils.addSmsNotificationChannel(value, new NotificationChannelCallBack() {  
         @Override  
         public void onSucces() {  
            //log sucess 
         }  
          @Override  
          public void onFail(@Nullable BaseResponse failure) {  
             // log failure
         }
     });
  1. Web
    NotificationChannelUtils.addWebPushNotificationChannel(new NotificationChannelCallBack() {  
         @Override  
         public void onSucces() {  
            //log sucess 
         }  
          @Override  
          public void onFail(@Nullable BaseResponse failure) {  
             // log failure 
         }
    });