[firebase_messaging] FirebaseMessaging.onBackgroundMessage causes the application crash #5721
-
Before Flutter 2 and null-security, my firebase services were working fine. I wanted to update it according to the documentation. I followed documentation instructions but I get this error and the app is closing immediately. I tried many things but did not get any results.
Error:
flutter doctor -v
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I only deleted "onBackgroundMessage" method. It looks like it is working without it. |
Beta Was this translation helpful? Give feedback.
I only deleted "onBackgroundMessage" method. It looks like it is working without it.