Telegram-FOSS-Team / Telegram-FOSS

Unofficial, FOSS-friendly fork of the original Telegram client for Android
GNU General Public License v2.0
2.87k stars 370 forks source link

[Feature Request] Add FCM support #279

Open cRaZy-bisCuiT opened 5 years ago

cRaZy-bisCuiT commented 5 years ago

MicroG has a FOSS implementation of FCM. It would be nice (to use Telegram FOSS with MicroG) to have FCM push notifications as well for Telegram FOSS.

Telegram drains less battery while using FCM. I tested that with upstream Telegram vs FOSS Telegram. The results a reproducible and do affect different ROMs and devices.

Bubu commented 5 years ago

Last time we checked there is no working app-side library implementation of fcm from microg. They might have the rom level stuff sorted out now but that doesn't help in building a fully floss app using fcm.

Happy to be proven wrong though.

cRaZy-bisCuiT commented 5 years ago

Let's see what the MicroG team says regarding this issue.

@mar-v-in https://github.com/microg/android_packages_apps_GmsCore/issues/678

Bubu commented 5 years ago

I think this is the correct repo? https://github.com/microg/android_external_GmsLib

cRaZy-bisCuiT commented 5 years ago

Oh, yes, my bad. corrected... https://github.com/microg/android_external_GmsLib/issues/14

cRaZy-bisCuiT commented 5 years ago

Maybe the feature request at MicroG is obsolete, since Googles opens the FCM stuff.... or may it just help to implement those things in a library? https://github.com/nextcloud/android/issues/3333#issuecomment-446490133

Peque commented 5 years ago

Is this relevant? https://github.com/firebase

Bubu commented 5 years ago

Is this relevant? https://github.com/firebase

FCM is not (yet?) open source.

mirh commented 5 years ago

The announcements I dumped at https://github.com/Telegram-FOSS-Team/Telegram-FOSS/issues/172#issuecomment-455155009 suggest otherwise.