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 {
2727 EventTarget ,
2828 StatEvent ,
2929 Event ,
30- Stat
30+ Stat ,
31+ FetchXmlHttpFactory
3132} from '@firebase/webchannel-wrapper' ;
3233
3334import { Token } from '../../api/credentials' ;
@@ -208,7 +209,7 @@ export class WebChannelConnection extends RestConnection {
208209 }
209210
210211 if ( this . useFetchStreams ) {
211- request . useFetchStreams = true ;
212+ request . xmlHttpFactory = new FetchXmlHttpFactory ( { } ) ;
212213 }
213214
214215 this . modifyHeadersForRequest (
You can’t perform that action at this time.
0 commit comments