Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

SDK 에서 제공하는 Dialog UI 커스터마이징

Image RemovedImage Added

PushDialogConfig를 변경하여 구독 설명 다이얼로그 UI를 변경할 수 있습니다.

Code Block
languagejava
final PushDialogConfig pushDialogConfig = new PushDialogConfig.Builder()
                .colorConfirm(R.color.colorAccent)
                .colorCancel(R.color.colorPrimary)
                .imageRegisterLogo(R.drawable.benefit_push_dialog_image_logo)
                .imageUnregisterLogo(R.drawable.benefit_push_dialog_image_logo)
                .build();

Service Notification 아이콘 변경

<< 이미지 >>

Code Block
languagejava
public class CustomNotificationWorker extends NotificationWorker {
    @Override
    @NonNull
    public NotificationConfig getNotificationConfig() {
        return new NotificationConfig.Builder()
            .iconResourceId(...)
            .build();
    }
}