Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

백그라운드에서 노티피케이션 상단 배너 이슈 #1

Open
nosorae opened this issue Dec 26, 2021 · 0 comments
Open

백그라운드에서 노티피케이션 상단 배너 이슈 #1

nosorae opened this issue Dec 26, 2021 · 0 comments

Comments

@nosorae
Copy link
Contributor

nosorae commented Dec 26, 2021

서버에서 보내는 fcm api 의 dto 에 data 와 함께 notification 이 있음.
그럴 때 앱이 백그라운드 상태일 시 알림 목록에만 수신되고 FCM 콜백함수는 호출되지 않는 문제

Sol)

  • 안드로이드에서 fcm api 직접 요청하는 방식
  • 기존 서버에서 ios 와 aos 를 구분하여 각 기기에 보내는 방식

두번째를 선택하기로 했다.
로그인 api 에서 ios aos 를 구분하는 프로퍼티를 추가하며 기존로직을 그대로 가져가는 방식

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant