Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android. GcmNetworkManager on Firebase SDK?

After Firebase was announced at Google I/O 2016 I've read about migration of some changes that will affect my code, GCM to FCM, Analytics related changes etc... but I didn't found any information about GcmNetworkManager , what happens with it ?

We have a new Task Scheduler ?

Remains the old one?

Thanks in advance.

like image 697
koleanu Avatar asked Jun 29 '16 13:06

koleanu


Video Answer


1 Answers

I'll offer the little that I know and hopefully a Firebase engineer with provide a more authoritative answer.

There seems to be work underway for a Firebase replacement to GcmNetworkManager. It's Firebase Android JobDispatcher:

The Firebase Android JobDispatcher is a library that provides a high-level wrapper around job scheduling engines on Android, starting with the GCM Network Manager.

This replaces the old GCM Network Manager library.

A note in the description states: This library is actively supported by Google engineers.

I haven't used it yet. I'm still using GcmNetworkManager. My app includes the play-services-gcm library along with most of the Firebase libraries. That doesn't appear to cause any conflicts. My GCM tasks work as they did before I added Firebase.

like image 112
Bob Snyder Avatar answered Oct 02 '22 16:10

Bob Snyder