Parse updates Android Push API

Facebook_Parse650

Facebook’s Parse on Tuesday updated its Android Push API, a couple weeks after updating for iOS 8. App developers using Parse will have easier setup on Android, as well as more reliability.

Parse Software Engineer Thomas Bouldin detailed the changes in a blog post:

We’re excited to announce today that the Android Push API is getting its biggest facelift since inception. We’ve rethought the API to bring Parse Push better in line with both other Parse APIs and traditional Android development. The new API simplifies developer setup, provides better reliability, and is much more easily extended or customized to override default push behavior.

With the new API, we’ve decoupled the concepts of registration and reaction; the icon and activity which you want push to use are no longer statically bound to a channel. You can replace all calls to

PushService.subscribe(myApplicationContext, “channel”, MyActivity.class, intIconID);

with

ParsePush.subscribeInBackground(“channel”);

Developers: What do you think of this change?