How to know “topic” name from Firebase notification on iOS

后端 未结 1 1408
被撕碎了的回忆
被撕碎了的回忆 2021-01-18 13:54

I\'m trying to use Firebase in my iOS application. I successfully integrated it and receiving notifications from all 3 Targets (user segment, topic and single device).

1条回答
  •  别那么骄傲
    2021-01-18 14:33

    I got the answer from Firebase support team.

    It doesn't seem like there's a way to get this info as per documentation. One workaround I can think of is if you would pass the topic name in your data payload, you can then manually handle it from your code and map it to your message_id.

    So looks like this works on Android but on iOS it's not supported today (Dec 2017)

    0 讨论(0)
提交回复
热议问题