I as wondering how the Android knows which app to send a push to. I'm guessing that when the app itself (client) registers for c2dm that the key returned is what identifies it as being for THIS app specifically. Is this right? I'm also guessing that the server side script actually sending the push doesn't need to know which application to send to. This would all be in the key that the client provided I'm assuming.
The reason I ask this is because we have one app so far on the MarketPlace, pushes work fine. But we are soon releasing our second app and I wanted to know if I could use the same credentials (email and password) and same script to send pushes to the new app without changing the script's code.
So if all the info on which app to send the pushes to resides in the client key (sent to our server from the device of course) then I would assume that no, I wouldn't have to change the script code or use new credentials.
On iPhone I'm pretty sure that one APN Push certificate is only good for one application, hopefully not so on Android.
Thanks.