Skip to content

HTTPSCallable does not invoke completion blocks on the main thread #14653

Closed
@bdaz

Description

@bdaz

Description

Issue: HTTPSCallable's callWithObject:completion does not invoke the completion block on the main thread.

Regression: This appears to be a regression from #14085.

Reproducing the issue

  1. Create an HTTPSCallable function.
  2. Invoke it with callWithObject:completion

Expected results: observe that the completion block is called on the main thread.
Actual results: the completion block is called on a background thread.

Firebase SDK Version

11.11.1

Xcode Version

16.2

Installation Method

CocoaPods

Firebase Product(s)

Functions

Targeted Platforms

iOS

Relevant Log Output

If using Swift Package Manager, the project's Package.resolved

No response

If using CocoaPods, the project's Podfile.lock

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    close