How to register an Android device to a push channel with parse.com

Janusz

I use parse.com to send push notifications.

I register my device like this in my application class:

Parse.initialize(this, "appId","clientKey");
PushService.setDefaultPushCallback(this, MainActivity.class);
PushService.subscribe(this, "newShirt", MainActivity.class);
ParseInstallation.getCurrentInstallation().saveInBackground();

But in the dashboard no registration for this channel shows up and push notifications sent to this channel are not received.

Janusz

Ok I found my problem.

Capital letters seem to not work as channels with parse. I changed my code like this and it is working like a charm:

Parse.initialize(this, "appId","clientKey");
PushService.setDefaultPushCallback(this, MainActivity.class);
PushService.subscribe(this, "newshirt", MainActivity.class);
ParseInstallation.getCurrentInstallation().saveInBackground();

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How to register an Android device to a push channel with parse.com

From Dev

How to receive parse push notifiactions on an android device using parse.com

From Dev

Parse Push notification not sending from Android to Channel

From Dev

Not able to register my ios device on parse for push notifications

From Dev

Android Push Message to Device using parse

From Dev

Android Parse Push Notification not working - "Outdated device"

From Dev

Getting the 114 error with Parse.com registering an Android Device for Push Notifications

From Dev

Getting the 114 error with Parse.com registering an Android Device for Push Notifications

From Dev

I want to send push notification from one android device to another using my application by Parse.com.

From Dev

how to send push notification to a specific device without creating channels using parse.com?

From Dev

how to fix ["failed to register ","Device does not have package com.google.android.gsf"]

From Dev

Parse.com : Sending Push notification from device?

From Dev

Parse.com Push on Android in Xamarin

From Dev

Error ~ parse.com push notification android?

From Dev

Parse.com Push on Android in Xamarin

From Dev

Not receiving push notification on android with parse.com

From Dev

Parse push notifications appear on Parse.com's Push Notif table but not on actual device

From Dev

Android parse push notification and new GCM generate wrong device token and parse push notification not working

From Dev

How do I get Parse.com Push Notifications working in a Cordova/Phonegap Android app?

From Dev

Send push with parse to certain device?

From Dev

How to use Pusher private channel authorization with Parse.com

From Dev

How to change Parse push notification icon in android?

From Dev

Android Parse Push notification device registration only one time on one device

From Dev

Pushbot Android or IOS how to get a device to register for specific types of Messages

From Dev

Parse.com Only one device session for a user. Android

From Dev

Custom Push Notification coming twice using Parse.com and Android

From Dev

Android, Push notification using parse.com, launches the app automatically

From Dev

Parse.com push notifications not shown in background on android

From Dev

RuntimeException on android app with parse.com push notification

Related Related

  1. 1

    How to register an Android device to a push channel with parse.com

  2. 2

    How to receive parse push notifiactions on an android device using parse.com

  3. 3

    Parse Push notification not sending from Android to Channel

  4. 4

    Not able to register my ios device on parse for push notifications

  5. 5

    Android Push Message to Device using parse

  6. 6

    Android Parse Push Notification not working - "Outdated device"

  7. 7

    Getting the 114 error with Parse.com registering an Android Device for Push Notifications

  8. 8

    Getting the 114 error with Parse.com registering an Android Device for Push Notifications

  9. 9

    I want to send push notification from one android device to another using my application by Parse.com.

  10. 10

    how to send push notification to a specific device without creating channels using parse.com?

  11. 11

    how to fix ["failed to register ","Device does not have package com.google.android.gsf"]

  12. 12

    Parse.com : Sending Push notification from device?

  13. 13

    Parse.com Push on Android in Xamarin

  14. 14

    Error ~ parse.com push notification android?

  15. 15

    Parse.com Push on Android in Xamarin

  16. 16

    Not receiving push notification on android with parse.com

  17. 17

    Parse push notifications appear on Parse.com's Push Notif table but not on actual device

  18. 18

    Android parse push notification and new GCM generate wrong device token and parse push notification not working

  19. 19

    How do I get Parse.com Push Notifications working in a Cordova/Phonegap Android app?

  20. 20

    Send push with parse to certain device?

  21. 21

    How to use Pusher private channel authorization with Parse.com

  22. 22

    How to change Parse push notification icon in android?

  23. 23

    Android Parse Push notification device registration only one time on one device

  24. 24

    Pushbot Android or IOS how to get a device to register for specific types of Messages

  25. 25

    Parse.com Only one device session for a user. Android

  26. 26

    Custom Push Notification coming twice using Parse.com and Android

  27. 27

    Android, Push notification using parse.com, launches the app automatically

  28. 28

    Parse.com push notifications not shown in background on android

  29. 29

    RuntimeException on android app with parse.com push notification

HotTag

Archive