GcmTaskService use for batch event tracking

47 Views Asked by At

I titled my question this way since many people might be using GcmTaskService for tasks such as event tracking which don't need to happen immediately. Tracking is a great example of a task that can be postponed to when the device is charging, or when the radio is awake for other reasons anyway.

However, when it's finally time to send the request, I have quite a bit of tracking data to dispatch to the server, and it doesn't fit inside the OneoffTask extras (10240 bytes). Is there a better way to communicate the parameters for the request? Am I using GcmNetworkManager correctly?

Thanks very much in advance!

0

There are 0 best solutions below