Android Question Send Push Notifications (GCM) much confusion

coslad

Well-Known Member
Licensed User
Longtime User
Hi

I' have seen that there is much confusion how configure the push notifications service.

1) Erel said that the sender id is the Project id , but even google then the user "rwblinn" said that the sender id is the "project number" .
2) is It necessary to set the ip address of the server into google development console ? Can i leave 0.0.0.0/0 ?
3) I followed step by step the instruction , but , when i try to register a device with "sender id" = "project id" it comes out an error " Invalid sender" , if the "sender id" is = "project number", comes out another error : "Error sending request" ,if i put into "sender id" a random string it comes out the error " Invalid sender" , so i think Erel is wrong.
how can i solve it ?
Thanks
 

coslad

Well-Known Member
Licensed User
Longtime User
Solved !!!

looking into the b4a push example source code i found that the "Error sending request" was about the SMTP and not the CGM registration .
Now it works !
 
Upvote 0
Top