Firebase shows only notifications sheets and popups when app is open

Hi! I am really sorry for not knowing where exactly to post this. By GOD’S Grace, I made 2 Sheets and 1 Popup to be displayed when a user taps on a notification from Firebase. For some reason, it does not seem to work nor show even a badge when the Notification is sent. They were placed in different files to make the code of the MainActivity tidy. UPDATE The notifiations show now, but only when the app is opened. Can anyone kindly help me, please?

Mar 8, 2025 - 13:22
 0
Firebase shows only notifications sheets and popups when app is open

Hi! I am really sorry for not knowing where exactly to post this.

By GOD’S Grace, I made 2 Sheets and 1 Popup to be displayed when a user taps on a notification from Firebase. For some reason, it does not seem to work nor show even a badge when the Notification is sent. They were placed in different files to make the code of the MainActivity tidy.

UPDATE

The notifiations show now, but only when the app is opened.
Can anyone kindly help me, please?