Skip to content

Never get a 'TokenReceived' message #74

Closed
@ESG-Steven

Description

@ESG-Steven

I receive logs for 'Firebase App Initializing' and 'Firebase Cloud Messaging API Initialized.' I do not ever receive a callback for TokenReceived. I need the Token to register to a server that will be sending push notifications. Event when I send a push notification message to all users (which would only be my device seeing as I have not pushed FCM live), I receive a notification while the app is not running but still don't get my Token... I don't even get a MessageReceived if the app was opened through a notification...

How can I get the Token (what I assume is AKA a registration token) on startup? It's clear you can do this with a manual call in the native android library FirebaseInstanceId.getInstance().getToken(), so why not in the Unity library?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions