malhobayyeb
malhobayyeb

Reputation: 2883

How to trace which user has sent FCM notification?

I have integrated with FCM. I have sent notifications to my apps.

I have added multiple users to my Firebase account.

How can I know which of these user has sent given notification?

I tried GCP Logger but it is not listing anything related to Cloud Messaging

Upvotes: 0

Views: 584

Answers (1)

Frank van Puffelen
Frank van Puffelen

Reputation: 598775

There is no way to know which user called the FCM API to send messages that I know of. If you need this, you'll have to implement it in your application code, for example by logging it yourself each time you call the FCM API.

Upvotes: 2

Related Questions