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.

CommentFileSizeAuthor
#4 3480415-patch-for-alpha2.patch690 bytesjoshahubbers
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

joshahubbers created an issue. See original summary.

joshahubbers’s picture

I see this is already fixed in the develop branch. ;-) Sorry for reporting.

joshahubbers’s picture

Status: Active » Closed (duplicate)
joshahubbers’s picture

StatusFileSize
new690 bytes

(I add the patch anyway to include in composer)