mozilla-mobile / android-components

⚠️ This project moved to a new repository. It is now developed and maintained at: https://github.com/mozilla-mobile/firefox-android
https://github.com/mozilla-mobile/firefox-android
Mozilla Public License 2.0
2.02k stars 473 forks source link

Create FCM implementation of concept-push #1917

Closed jonalmeida closed 5 years ago

jonalmeida commented 5 years ago

A ~browser-push-fcm~ lib-push-fcm component for Firebase Cloud Messaging.

We should take some ideas from Fennec's implementation but remember that it's still using parts of the old GCM client.

Starting point to read: https://dxr.mozilla.org/mozilla-central/source/mobile/android/services/src/main/java/org/mozilla/gecko/fxa/devices/FxAccountDeviceRegistrator.java

┆Issue is synchronized with this Jira Task

pocmo commented 5 years ago

nit: I suggest using the lib- prefix since they may be useful for other apps like Lockbox too. I assume the push components themselves will have no knowledge of anything "browser"-related?