Skip to content

FIRInAppMessagingDisplay: protocol method called from a background thread #5972

Closed
@airspeed

Description

[REQUIRED] Step 1: Describe your environment

  • Xcode version: 11.6 beta
  • Firebase SDK version: 6.27.0
  • Firebase Component: InAppMessaging
  • Component version: 0.21.0
  • Installation method: CocoaPods

[REQUIRED] Step 2: Describe the problem

Steps to reproduce:

The docs for FIRInAppMessagingDisplay#displayMessage:displayDelegate: at https://firebase.google.com/docs/reference/ios/firebaseinappmessaging/api/reference/Protocols/FIRInAppMessagingDisplay.html#-displaymessage:displaydelegate: state:

Method for rendering a specified message on client side. It’s called from main thread.

But when overriding
FIRInAppMessagingDisplay#displayMessage:displayDelegate: on a custom message display component, the method will be invoked on a background thread.
Could you please update the behavior to match the documentation - or reverse?
Thanks! :)

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions