push notification

0 votes

Hello!

 

It's my first time to deal with push notifications. I have some questions:

1. do I have to upload my app first (ex. Googleplay) before I can test push messages?

2. Why am I receiving this error User by the name '@userName' does not have any device registered

asked Mar 19, 2015 in App42 Cloud API-BaaS by jvfiel (35 points)

2 Answers

0 votes
will this "pushService->RegisterDeviceToken(deviceToken, userName, deviceType, app42callback(Sample_Class::onPushRequestCompleted, this));" solve #2 ? and what should I put in deviceToken? can it be random generated characters? and should it be unique?
answered Mar 19, 2015 by jvfiel (35 points)
0 votes

Hello John,

 
The exception message which you have shared  occurred when you have no device to send the message. Kindly have a look at the below links which will help you to register your device for push notification and let us know if it helps:
Thanks,
Himanshu Sharma
answered Mar 19, 2015 by hs00105 (2,005 points)
ok, thank you!
Hi I followed the example but there are some errors:

http://i19.servimg.com/u/f19/18/96/43/79/screen10.png
solved. my manifest was not configured correctly.
Great to hear that your query has been resolved. Let me know if you need further assistance regarding this.
Himanshu Sharma
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...