Skip to content

feat(functions): httpsCallable.stream support#8799

Open
MichaelVerdon wants to merge 146 commits intomainfrom
cloud-functions-streaming
Open

feat(functions): httpsCallable.stream support#8799
MichaelVerdon wants to merge 146 commits intomainfrom
cloud-functions-streaming

Conversation

@MichaelVerdon
Copy link
Collaborator

@MichaelVerdon MichaelVerdon commented Dec 9, 2025

Description

@russellwheatley taken over:

  • I had to create a swift implementation for callables as the Swift firebase-ios-sdk is the only way to set limited app check token.
  • As mentioned internally, the HttpsCallableStreamOptions will only apply to web streaming. Use HttpsCallableOptions for iOS and android http rest calls/streaming.
  • I created an asynciterator for cancelling streams on web as AbortSignal isn't available on any version of RN lower than v.81.
  • refactored android and removed UniversalFirebaseFunctionsModule.java‎. This required making TaskExecutorService constructor public on Firebase App so we can still use it.
  • refactored android, ios and TS to remove code duplications.

Related issues

fixes #8210

Release Summary

Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
    • Yes
  • My change supports the following platforms;
    • Android
    • iOS
    • Other (macOS, web)
  • My change includes tests;
    • e2e tests added or updated in packages/\*\*/e2e
    • jest tests added or updated in packages/\*\*/__tests__
  • I have updated TypeScript types that are affected by my change.
  • This is a breaking change;
    • Yes
    • No

Test Plan


Think react-native-firebase is great? Please consider supporting the project with any of the below:

@vercel
Copy link

vercel bot commented Dec 9, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
react-native-firebase Ready Ready Preview, Comment Feb 3, 2026 11:35am

Request Review

@mikehardy mikehardy changed the title feat(cloud_functions): httpsCallable.stream support feat(functions): httpsCallable.stream support Dec 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐛 [@react-native-firebase/functions] Missing stream implementation for httpsCallable functions

3 participants