5

I have implemented FCM according to official documentation. I do get the messages while the app is in the background or foreground state, or even if it is swiped out of the recent apps screen.

The problem is, that on Samsung S8, messages are not received at all when the app is in the background. (other devices do not have this issue).

To add to the confusion, this problem takes places only with the RELEASE build version of the app. With debug build version everything works as expected.

If you have encountered something similar, please share your experience.

UPDATE

The problem might be that SHA-1 fingerprint for the RELEASE certificate is not stored in the project in Firebase. It is easy to forget to put it there during development.

Sevastyan Savanyuk
  • 5,797
  • 4
  • 22
  • 34

0 Answers0