개발/Flutter
flutter fcm icon terminated FlutterLocalNotificationsPlugin
dev_caleb
2022. 12. 3. 20:01
728x90
앱이 켜져있을 때는 (포그라운드 상태)-> localNotification Plugin 으로 icon을 넣을 수 있는데,
terminated 되었을 때나 background 일때는 어떻게 하는지 몰랐다.
나 처럼 궁금해하는 사람들이 많았다.
How to show a Local Notification in Flutter, when the app is in Background/Terminated and it receives an FCM notification?
I am trying Implemented push notification service using Firebase Cloud Messaging in my Flutter app. This is how FCM documentation says we should handle notifications, according to the current state (
stackoverflow.com
여기 보니까, cloud message 를 먼저 읽어보라는 문구가 있는데 생각해보니, 내가 FCM은
전문을 본적이 없다는 것을 알았다. 전문을 한 번 봐야겠다.
728x90