I have an android app on google play store, when I try to send push notifications on it, all of sent pushes are reported as "Unauthorized", this is happening while I can send push notifications to my test devices successfully. What could be the problem?
I'm using a GCM Api key
(which I think it's functional as I can send test pushes successfully) and these are my project dependencies:
compile 'com.pushwoosh:pushwoosh:4.10.8'
compile "com.google.android.gms:play-services-gcm:10.2.4"
For those who encounter this problem, i finally generated a new GCM Api key
from google developers console and replaced it with the old one in pushwoosh pannel and it solved my problem and my push notifications were sent successfully from that point. As this question is asked a long time ago, currently if you encountered same problem, create new FCM Api key
and replace it.