IOS 기기를 재부팅 하고 Flutter 앱을 실행하기 전까지 FCM의 데이터 메시지만 수신되지 않는 버그가 있다.
(알림 메시지는 정상적으로 수신된다)
이때 사용자가 앱을 한번 실행 하면 이후부터는 다시 데이터 메시지가 정상적으로 수신 되긴한다.
[firebase_messaging]: onBackgroundMessage() won't work after Reboot on iOS · Issue #12324 · firebase/flutterfire
Is there an existing issue for this? I have searched the existing issues. Are you aware of the differences between iOS and Android background message handling? I understand that iOS and Android bac...
github.com
해당 이슈를 플러터팀에서 인지 하고 있는거 같다.
Data message is not received on iOS device restart until app is opened for the first time after device restart · Issue #627 ·
Hi! I am using data messages from FCM to display notifications locally on my app devices. I use setBackgroundMessageHandler to handle FCM messages when the app is in the background / killed state, ...
github.com
리엑트 네이티브에서도 동일한 문제가 발생하는데 IOS의 OS 문제라고 알림 메시지를 보내라고한다;;;
해당 버그의 조건이 재부팅 후 앱을 실행하기 전이므로 치명적인 버그는 아니라서 무시하고 진행해도 나쁘지는 않을 것 같다.(애초에 IOS 기기는 재부팅 횟수가 갤럭시보다 적으니)
'Flutter' 카테고리의 다른 글
FutureBuilder에서 SetState 에 문제가 있을 때 (0) | 2024.04.05 |
---|---|
Flutter Checkbox padding 없애기 (0) | 2024.03.26 |
Firebase Cloud Messaging(FCM) 구현 - 1 (1) | 2024.03.24 |
Firebase Cloud Messaging(FCM) (0) | 2024.03.21 |
에뮬레이터에서 localhost 접근 url (0) | 2024.01.21 |