Skip to content

Game restart required on iOS for push notifications to work #820

@thsbrown

Description

@thsbrown

Please fill in the following fields:

  • Unity editor version: 2018.4.17f1
  • Firebase Unity SDK version: 6.16.0
  • Source you installed the SDK: Unity Package Manager (.unitypackage or Unity Package Manager)
  • Problematic Firebase Component: Cloud Messaging (Auth, Database, etc.)
  • Other Firebase Components in use: Core (Auth, Database, etc.)
  • Additional SDKs you are using: PlayFab (Facebook, AdMob, etc.)
  • Platform you are using the Unity editor on: Mac (Mac, Windows, or Linux)
  • Platform you are targeting: ios (iOS, Android, and/or desktop)
  • Scripting Runtime: IL2CPP (Mono, and/or IL2CPP)

Please describe the issue here:

The issue is pretty much summarized here. Overall though i'm noticing that no matter the configuration it requires me closing the game, reopening it and closing it again in order to get push notifications to be sent through on ios.

Repro Rate: 100%

Steps to reproduce:

  1. Run the unity quickstart Cloud Messages quick start on ios.
    2.When the app/game opens press allow notifications.
    3.Kill the app/game in ios.
    4.Send a notification using "New Notification" button in FIrebase cloud messaging dev console.
    5.Notice no notification comes through.
    6.Open the app/game up again on ios.
    7.Kill app/game again.
    8.Repeat step 4.
    9.Notice notification comes through.

Relevant Code:

All done utilizing code from cloud messaging quickstart here

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions