Skip to content

FCM 7.0.x+ doesn't receive messages on iOS without notification object in playload #927

@novavision

Description

@novavision

[REQUIRED] Please fill in the following fields:

Unity editor version: 2020.1.17f1
Firebase Unity SDK version: 7.0.x+
Source you installed the SDK: Unity Package Manager
Problematic Firebase Component: FCM
Other Firebase Components in use: none
Additional SDKs you are using: none
Platform you are using the Unity editor on: Mac
Platform you are targeting: iOS
Scripting Runtime: IL2CPP

[REQUIRED] Please describe the issue here:

7.0.0-7.0.2 Cloud Messaging SDK versions don't receive FCM message playload without notification object in json. when app is focused (in foreground).
Android version works well in this case (but there is another bug described here

Steps to reproduce:

Have you been able to reproduce this issue with just the Firebase Unity quickstarts (this GitHub project)?

Yes

What's the issue repro rate? (eg 100%, 1/5 etc)

100% with quickstart project

It's 100% reproducible on iOS build using quickstarts project

What happened? How can we make the problem occur?

  1. setup FCM in Unity iOS project any version from 7.0.0 to 7.0.2
  2. send FCM message playload without notification object while app in foreground
  3. nothing received

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions