#Android push notifications

6 messages · Page 1 of 1 (latest)

verbal cave
#

I get this error on appwrite console

Failed sending to targets with error: Utopia\Messaging\Helpers\JWT::encode(): Argument #2 ($key) must be of type string, null given, called in /usr/src/code/vendor/utopia-php/messaging/src/Utopia/Messaging/Adapter/Push/FCM.php on line 61

  1. Push notifications provider works
  2. I see on Auth user target is successfully registered
#

I get this error sending a push message from cloud console

candid osprey
#

Did you upload the Service account JSON file? Make sure its a valid json file and is not corrupted.

verbal cave
#

do you mean file "google-services.json"?

#

yes, just downloaded from google and uploaded to appqwrite

verbal cave
#

I used the wrong file, my fault