0

I am running a Rocket.Chat server of my own and everything works fine with almost all mobile device clients (official 3.5.0) using it. So GCM and gateway (gateway.rocket.chat) work as should and notifications are showing correctly.

Except one phone that has LineageOS 16 flashed is not showing Rocket.Chat notifications although every other aspect do work with the app.

is this a known issue with LineageOS 16? If not how could I find out what is going wrong? So howto fix it or is it even possible?

I did try to search but did not find any relevant information about this issue yet.

  • 1
    Have you installed only LineageOS or also the Open GApps (pico package or more) ? Without the Google Services installed no Firebase Cloud Messaging (FCM/GCM) is possible. See also rocket.chat/docs/administrator-guides/notifications/… – Robert Sep 18 at 18:44
  • @Robert, you got it right. I did some research and understood that there is a need for some impl. for Google services that is not incl. in LineageOS. I ended up to flash LineageOS for microG and with some additional not-so-straightforward configuration it seems to work now. I'll check Open GApps also and try to prepare an answer hoping it helps others. – pirho Sep 18 at 19:19
1

Typical messaging apps like Rocket.Chat use Firebase Cloud Messaging (FCM formerly known as GCM) for retrieving notifications of new messages from the server. An Android side FCM required the Google Play Services app.

However LineageOS does not include any Google apps by default. Therefore all apps that use push notifications via Google/FCM will not work correctly.

If you want to use an app that uses push notification via Google you have to install the Google apps, for example by flashing one of the Open GApps packages - at least the "pico package".

Afterwards you will be able to retrieve push notifications.

  • Flashed latest plain LineageOS 16 and installed GApps pico with TRWP recovery. Could not get GApps App working (maybe needs rooting). It works now. Thanks. – pirho Sep 19 at 14:06
  • @pirho: Google blocks usage of user visible GApps on custom ROMs by default. You have to white-list your device to make it work: phonearena.com/news/… – Robert Sep 19 at 14:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.