Error: The registration token is not a valid FCM registration token, while validate token returns valid

Created on 13 October 2024, 2 months ago

Problem/Motivation

I installed the module following the documentation. I think everything is fine, because no errors are thrown about connection. When I go to "/admin/config/system/firebase_php/validate_token", and paste the token from my test-client, it reports as "Valid". But when I try to send a test-message to this token, I reports the token is invalid.

Steps to reproduce

Try to send a test-message.

Proposed resolution

In the submitForm function the "device_token" value is not send as the first parameter, so it won't work.

🐛 Bug report
Status

Active

Version

7.0

Component

Code

Created by

🇳🇱Netherlands joshahubbers

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024