Platform API to request sending push notifications on behalf of our BE server, or vice versa

플러터로 모바일 앱을 개발하고 있으며, 웹뷰에 @sendbird/uikit-react를 사용하고 있습니다.

문의 사항은 Push Notification 관련 내용입니다. 저희 쪽 BE에서 보내는 FCM 메시지 요청과 Sendbird 쪽에서 보내는 APNs/FCM 메시지 요청 이렇게 두 소스에서 Push Notification을 요청하다보니 iOS 환경에서 Badge 개수가 맞지 않는 이슈가 있습니다. Push Notification 요청을 한 쪽에서 하는 방안을 알아보고 있습니다.

- 저희 측 BE에서 이벤트 발생 시, Sendbird측에 Push Notification 메시지 보내기 요청
- sendbird 이벤트 발생 시(새 메시지 수신 시), 저희 측 BE로 Push Notification 메시지 보내기 요청

이를 위한 서버 플랫폼 API가 있는 지 확인 요청드리며, 있다면 관련 내용 확인 할 수 링크를 알고 싶습니다.

I’m developing a mobile app with Flutter and using @sendbird/uikit-react for webview.

The inquiry is related to Push Notification. As Push Notification is requested from two sources: an FCM message request from our BE and an APNs/FCM message request from Sendbird, there is an issue where the number of badges does not match in the iOS environment. We are looking into ways to make a Push Notification request from one side.

  • When an event occurs in our BE, request to send a Push Notification message to Sendbird.
  • When the sendbird event occurs (when a new message is received), request to send a Push Notification message to our BE.

I would like to ask you to confirm whether there is a server platform API for this, and if so, I would like to know a link where I can check related information.

@tech_quinvir

센드버드 커뮤니티에 오신걸 환영합니다!

Sendbird Push Server로 직접 메세지를 발송하는 API는 제공하지 않습니다. 하지만, Message API로 메세지를 송신하실때, send_push, push_message_template, ‘apns_bundle_id’, ‘apple_critical_alert_options’ 등 해당 정보를 추가하여 메세지를 전송하시면, 센드버드의 푸시서버는 FCM와 APNs로 푸시 메세지를 구분하여 직접 전송합니다.(link)
현재, 고객님의 백엔드에서 직접 푸시노티피케이션 시스템을 구축하시려고 한다면, Webhook을 이용하실 수 있을것 같습니다. 웹훅을 이용하시면 별도로 FCM과 APNs를 사용하지 않으셔도 됩니다.