Open Andrushk opened 8 years ago
I had this problem and changed from int to int64, these type declarations:
multicastID at line 110 (in type HttpResponse struct) multicastID at line 475 (in func sendHttp) mid at line 523 (in func buildRespForMulticast)
which seemed to fix it.
I presume the issue is that for int, Go uses the default int size of the platform, and my server happens to be running on 32 bit Linux.
After attempt to send message:
gcm.SendHttp(apiKey, message)
I'm receiving error:
DebugMode = true:
May be is necessary to change the type of HttpResponse.MulticastId to int64 or string?