Push Notifications are not coming

0 votes
Hi Team ,

                   Why my push notofcations are not coming. i have fulfill all the requirement that we need while implementing push notification.Please help me out. i have stuck in where i am getting wrong .please help me out.It is sending push notifications i have checked under billing and meetering but not able to receive...i think my code is not responding to reciever.but i am not sure.Please help me out.

This is my manifest file :- http://codeshare.io/oKvm6

 

Here is my send nottification class :- http://codeshare.io/3M5eP

 Here is my GCM IntentService class :- http://codeshare.io/oiS8K

 

Please look into this issue...

 

Thanks:-

Sorav
asked May 15, 2014 in App42 Cloud API-BaaS by sarora (56 points)
recategorized Oct 24, 2014 by sushil

1 Answer

+1 vote
Hi Sorav,

Please let me know which type of error you are facing while sending a push notification.

Also i recommend you to check the user is listed in push notification under users grid and push logs when you are sending the message logs will print under push logs either your message is successfully send or if there is some error.
answered May 15, 2014 by hs00105 (517 points)
I am not facing any error or exception it is being successfully sending push message to user but other user is not able to receive push message..Please help me out where i am getting wrong..

Looking forward to your reply..

Thanks:-
Sorav
Sorav ,
Have you checked the Push Logs when you are sending the message is there any message for success or error.
If you have no message in push logs regarding your sended message than i will recommend you that please check you have configure the settings properly in AppHQ Dashboard under settings section.
If you are sending a message on android device than you need to configure the AndroidKey in android settings.
Yes i checked the push logs it is showing push log sent successfully ..i have configurely properly and it is sending push log to user but another user unable to receive notification...

Looking forward to your reply..

Thanks:-
Sourabh.
Hi Sourabh,

Can you please share the push logs messages which you have receiving after sending a message that will help us to know what is exactly going on.

Thanks,
Himanshu Sharma
App42_PushNotification Message Sent to  device: APA91bFtMIsJLQ4rM0VKgoqXuMW0h2JcxaH9Yo0KgBZ3psgklzQ--hs7QkKXxPM5lbtiCUdtp7TGE2BPdKdIee0G9FMp7ocop4xbsNCjgVvTYZpcf2GXOqXDR8VJJ5if28FXn44wSJBr : [ errorCode=MismatchSenderId ]



Can you please tell me why mismatch senderId i copied it from google console....

Thanks:-
SORAV
Hi Sourabh,

Please check it through Google console because your server key is not correct when you are configure Android Settings that's why your users is registered with App42.

But not receiving any message. Please refer the link below and update it.
http://api.shephertz.com/tutorial/Push-Notification-Android/?index=pn-android

Thanks,
Himanshu Sharma
HI himanshu
                         Thanks for your valuable information.i'll get back to you..


Thanks :-
Sourabh
Himanshu.. now i have refered your  link and created a new server key which i place under push notification tab (Android Setting ) also i copied project no and place into my code..But  still giving me an error code mismatch SenderId.

Message Sent to  device: APA91bEs20KFtD2-FQgng5SwgftqaX7rZcudxWRKywwme860JJ-bA8otvBIwewOpeE3rnR44-UvasT973iKXryYLCqiIQI0xGwFNd1tJr00ZKYh9Es4zPquvF_NXhSVtuL7wvgiy_IYB : [ errorCode=MismatchSenderId ]

Again but i  have created new setUp..

Tell me one thing do we need to copy project id or project no..

I have copied project no. and put Server key under push notification..but giving me same error.i know it's silly mistake.

Please help me out...

Thanks:-
Sourabh
Hi Sourabh,

You need to copy the project id and server key. Project id will be required for fetching the device id and server key of same project will be submit under push notification for gcm.
Thanks Himanshu..I have implemented same thing like as u said..but unfortunately not able to receive messages..same error Message Sent to  device: APA91bEs20KFtD2-FQgng5SwgftqaX7rZcudxWRKywwme860JJ-bA8otvBIwewOpeE3rnR44-UvasT973iKXryYLCqiIQI0xGwFNd1tJr00ZKYh9Es4zPquvF_NXhSVtuL7wvgiy_IYB : [ errorCode=MismatchSenderId ]

Dnt Knw why it is happening...    :(:(

Thanks:-
Sourabh
Hi Sourabh,

It is possible to share project code so that we can debug and if there is some issue than we let you know.
send us at support@shephertz.com
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
...