Closed psy-choi closed 1 year ago
for (String userId : userIds) { tokenList.add(tokenRepository.findById(userId) .orElseThrow(() -> new CustomApiException("userId에 해당하는 Token set이 존재하지 않습니다.")).getFirebaseToken()); } Notification notification = Notification.builder() .setTitle("자리:Bean 예약 알림") .setBody("오늘의 예약을 잊지 마세요!") .build(); AndroidNotification androidNotification = AndroidNotification.builder() .setTitle("자리:Bean 예약 알림") .setBody("오늘의 예약을 잊지 마세요!") .setChannelId("jari_bean_alert") .setPriority(Priority.HIGH) .build(); AndroidConfig androidConfig = AndroidConfig.builder() .setNotification(androidNotification) .build();
예약을 알 수 있는 화면으로 갈 수 있는 메세지로 설정함
firebase 메세지 변경
예약을 알 수 있는 화면으로 갈 수 있는 메세지로 설정함