File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
packages/firestore/src/platform/browser Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @firebase/firestore " : patch
3
+ ---
4
+
5
+ Go back using xmlhttprequest for bidi-streams, as fetch streams seem to be having connection issue.
Original file line number Diff line number Diff line change @@ -27,7 +27,8 @@ import {
27
27
EventTarget ,
28
28
StatEvent ,
29
29
Event ,
30
- Stat
30
+ Stat ,
31
+ FetchXmlHttpFactory
31
32
} from '@firebase/webchannel-wrapper' ;
32
33
33
34
import { Token } from '../../api/credentials' ;
@@ -208,7 +209,7 @@ export class WebChannelConnection extends RestConnection {
208
209
}
209
210
210
211
if ( this . useFetchStreams ) {
211
- request . useFetchStreams = true ;
212
+ request . xmlHttpFactory = new FetchXmlHttpFactory ( { } ) ;
212
213
}
213
214
214
215
this . modifyHeadersForRequest (
You can’t perform that action at this time.
0 commit comments