Page 1 of 2
push notifications
Posted: Thu Jun 11, 2015 6:30 pm
by Terry Gilliver
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?
push notifications
Posted: Fri Jun 12, 2015 11:52 am
by Serhii Kulibaba
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
push notifications
Posted: Fri Jun 12, 2015 2:26 pm
by Terry Gilliver
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
2) Push settings in app
3) Push service header settings
As I said since I made the change, it doesn't work at all.
push notifications
Posted: Fri Jun 12, 2015 2:28 pm
by Terry Gilliver
It also doesn't work from the console.
push notifications
Posted: Fri Jun 12, 2015 2:42 pm
by Terry Gilliver
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!
push notifications
Posted: Fri Jun 12, 2015 2:54 pm
by Terry Gilliver
Checked the push console and it has failed with MismatchSenderId
push notifications
Posted: Sat Jun 13, 2015 6:58 pm
by Terry Gilliver
Can you tell me the meaning of 'MismatchSenderId' error in the push console?
push notifications
Posted: Sat Jun 13, 2015 10:07 pm
by Alena Prykhodko
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.
push notifications
Posted: Sun Jun 14, 2015 1:38 pm
by Terry Gilliver
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.
push notifications
Posted: Sun Jun 14, 2015 2:08 pm
by Illya Stepanov
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.