Remote Server Returned An Error: (401) Unathorized In C# Gcm Response
I have seen this question posted in a thousand places and I have tried all the solutions that have worked for others but I am not able to get this to work for me. I used this post
Solution 1:
If you are using a Browser Key, you should remove the allowed referrers
of that key, so that it would say Any referrer is allowed
. This would allow you to send the notifications from a locally run server.
Otherwise, you'll be able to send GCM messages using that Browser Key only from Web Sites that have the domain specified in allowed referrers
.
Post a Comment for "Remote Server Returned An Error: (401) Unathorized In C# Gcm Response"