[Android SDK] Parse Push: Can’t find any registered devices yet

I’ve followed the Parse Push start guide, and it doesn’t include the subscribing to Parse Push part. That’s why I was getting this message.

Code to solve it:

ParsePush.subscribeInBackground("", new SaveCallback() {
   public void done(ParseException e) {
      if (e == null) {
         Log.d(getPackageName(), "Subscribed OK!");
      } else {
         Log.e(getPackageName(), "Could not subscribe: "+e.getMessage());

On Application start.

You should be able to send Push notifications from Parse control panel now 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s