If a device is successfully registered with the GCM server and is receiving messages, then if the SIM is changed in the device, will it still receive messages addressed to the reg_id?
I guess this question could be rephrased as ‘by what unique key does GCM identify a device? -Does the key include the phone number?’
As far as I know GCM
reg_idbased on device/account and application package/context. And it’s not associated with sim card. (GCM messaging work’s even on emulator)GCM reg_id can change only if google decide to change it for some reason or when user updates app (link) to new version.