firebase / firebase/firebase-ios-sdk

Functions: callable.stream batching behaviour

Open
#15,808 0 comments 0 reactions 1 assignee Claimed by @ncooke3 View on GitHub
api: functions
Dominant language
C++
Stars
6.7k
Forks
1.8k
Avg merge
2d 14h
Merged PRs (30d)
72

Description

### Description

Hey there iOS team, coming here from React Native Firebase. We recently implemented callable streams in our package and encountered strange behaviour. In our test app we will see the chunks do come sequentially as intended but gets picked up in a batch on the app as if it came in one go. I went on to test it on here and it seemed to reproduce.

### Reproducing the issue

https://github.com/MichaelVerdon/callable-stream-batching-repro/tree/main
here is the repro

and on React Native Firebase
https://github.com/invertase/react-native-firebase/blob/main/tests/local-tests/functions/streaming-callable.tsx

### Firebase SDK Version

12.9.0

### Xcode Version

16.4

### Installation Method

Swift Package Manager

### Firebase Product(s)

Functions

### Targeted Platforms

iOS

### Relevant Log Output

```shell

```

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

Expand Package.resolved snippet

```json

Replace this line with the contents of your Package.resolved.

```

### If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet

```yml

Replace this line with the contents of your Podfile.lock!

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.