I am sending GCM notification to device1 from device2 and then device2 sends an acknowledgement to device again using GCM. But when I had the API key as server key then device2 could not send acknowledgement and in log cat device2 showed error "MismatchedSenderID" .
I fixed it by using "browser key" on device2. Here I had to use "browser key" since it was not working with server key . Now My question is : Why it is working with "browser key" not with "server key" ?