Terry Gilliver
Posts: 0
Joined: Fri Apr 18, 2014 8:45 pm

push notifications

I have created a new app (The Plough Inn) which is basically a copy of a previous app (Sherakbar VIP) with some functionality removed. I have set up a new project in google api for the new app and configured the push notifications in my new app to use the new api keys.

The push notifications work, but the messages are headed with the old app name and not the new one. Why is this? Wher does it pick up the header information from?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

push notifications

Hello Terry,

How do you send push notifications? From appery.io website or servercode/mobile application? Please change X-Appery-App-Id parameter to the new application's id

Terry Gilliver
Posts: 0
Joined: Fri Apr 18, 2014 8:45 pm

push notifications

I am sending from the app. I have changed settings as you suggested. It doesn't send push notifications at all now. See screen shots below.

1) Google Developer API

Image

Image

2) Push settings in app

Image

3) Push service header settings

Image

As I said since I made the change, it doesn't work at all.

Terry Gilliver
Posts: 0
Joined: Fri Apr 18, 2014 8:45 pm

push notifications

It also doesn't work from the console.

Terry Gilliver
Posts: 0
Joined: Fri Apr 18, 2014 8:45 pm

push notifications

Sorry, I just realised you asked me to change the X-Appery-App-Id, what I have corrected is the X-Appery-Push-API-Key. I am not sure where to change the X-Appery-App-Id!

Terry Gilliver
Posts: 0
Joined: Fri Apr 18, 2014 8:45 pm

push notifications

Checked the push console and it has failed with MismatchSenderId

Terry Gilliver
Posts: 0
Joined: Fri Apr 18, 2014 8:45 pm

push notifications

Can you tell me the meaning of 'MismatchSenderId' error in the push console?

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

push notifications

Terry,

Could you please check that there are no extra spaces in Sender ID and API Key? Also please try to recreate them just in a case.

Terry Gilliver
Posts: 0
Joined: Fri Apr 18, 2014 8:45 pm

push notifications

It does not contain any trailing spaces and I have tried creating a new API key. It still won't work. I have turned on the share with support button, so you can check. The app is called 'The Plough Inn'. I doesn't work from the push console, so you can test it from there.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

push notifications

Hi Terry - Please clarify also what device you're using for testing and which Android version?

We will check this, if we have such device available. And please note that this will take some time.

Return to “Issues”