Jeremie Le Hen
unread,Sep 11, 2012, 1:04:18 PM9/11/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to andro...@googlegroups.com
Hello,
I've written a server-side GCM push application. I have a test version APK developed by a contractor company.
Using Google APIs, I've created a new project and got my Sender ID. Then I've generated the Server Key and got the API Key. Perfect so far!
Now I want to check that what I send from my application is successfully pushed down to my test application.
I don't know anything in Android development, but from what I understood from the GCM documentation, the Android application DOES have to know the Sender ID during registration. Is that correct? (It may seem obvious, but the contractor company said me it is not needed -- which seemed quite weird to me. This is why I checked and now ask.)
Provided I am right on the above topic and I get a new APK with the correct Sender ID compiled in, is that correct that I DO NOT need to put the APK on Google Play in order to test GCM on it? Basically, I just use the API Key in my server-side GCM application and it will work. (Once again, I ask this because the contractor company told me I had to publish the APK on Google Play as "non-public", but I wasn't able see how to do this on "Google Play - Android Developer Console".)
Provided I am right on the above topic (again), and that publication on Google Play is not required to use GCM, what is the purpose of declaring the API Key in Google Play (you give up to 3) for an application? Besides, I tried to declare my API Key here but I get the following error: "GCM API Key or C2DM Client Login Token not valid (Not registered.)". Any idea?
I understand I am requesting much informations, but I hear and read contradictory informations and I have nobody around me to give me clear and right answers. Besides, testing must be done at the end of the week :-).
Thank you very much in advance for your help.
Best regards,
-- Jeremie