Skip to content

Commit

Permalink
Disable use of $httpHeaders in Cordova (#2626)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Chen authored Feb 13, 2020
1 parent 2af214a commit fde2314
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/firestore/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# Unreleased
- [fixed] Fixed an issue where auth credentials were not respected in Cordova
environments (#2626).
- [fixed] Fixed a performance regression introduced by the addition of
`Query.limitToLast(n: number)` in Firestore 1.7.0 (Firebase 7.3.0) (#2620).
- [fixed] Fixed an issue where `CollectionReference.add()` would reject
custom types when using `withConverter()`. (#2606)
custom types when using `withConverter()` (#2606).

# 1.9.3
- [fixed] Fixed an issue where auth credentials were not respected in some
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import {
isBrowserExtension,
isElectron,
isIE,
isMobileCordova,
isReactNative,
isUWP
} from '@firebase/util';
Expand Down Expand Up @@ -275,6 +276,7 @@ export class WebChannelConnection implements Connection {
// known to (sometimes) not include an Origin. See
// https://github.com/firebase/firebase-js-sdk/issues/1491.
if (
!isMobileCordova() &&
!isReactNative() &&
!isElectron() &&
!isIE() &&
Expand Down

0 comments on commit fde2314

Please sign in to comment.