#### `ios/Podfile`:
- [ ] I'm not using Pods
- [x] I'm using Pods and my Podfile looks like:
```ruby
# N/A
```
#### `AppDelegate.m`:
```objc
// N/A
```
Android
Click To Expand
#### Have you converted to AndroidX?
- [ ] my application is an AndroidX application?
- [ ] I am using `android/gradle.settings` `jetifier=true` for Android compatibility?
- [ ] I am using the NPM package `jetifier` for react-native compatibility?
#### `android/build.gradle`:
```groovy
// N/A
```
#### `android/app/build.gradle`:
```groovy
// N/A
```
#### `android/settings.gradle`:
```groovy
// N/A
```
#### `MainApplication.java`:
```java
// N/A
```
#### `AndroidManifest.xml`:
```xml
```
Environment
Click To Expand
**`react-native info` output:**
```
System:
OS: macOS 10.15.3
CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
Memory: 271.43 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.16.0 - ~/.nvm/versions/node/v10.16.0/bin/node
Yarn: 1.21.1 - /usr/local/bin/yarn
npm: 6.9.0 - ~/.nvm/versions/node/v10.16.0/bin/npm
SDKs:
iOS SDK:
Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
Android SDK:
API Levels: 23, 25, 26, 27, 28
Build Tools: 27.0.3, 28.0.2, 28.0.3
System Images: android-27 | Intel x86 Atom_64, android-28 | Google APIs Intel x86 Atom
IDEs:
Android Studio: 3.1 AI-173.4819257
Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
npmPackages:
react: 16.9.0 => 16.9.0
react-native: 0.61.1 => 0.61.1
npmGlobalPackages:
react-native-cli: 2.0.1
```
- **Platform that you're experiencing the issue on**:
- [ ] iOS
- [ ] Android
- [x] **iOS** but have not tested behavior on Android
- [ ] **Android** but have not tested behavior on iOS
- [ ] Both
- **`react-native-firebase` version you're using that has this issue:**
- 6.4.0-rc0
- **`Firebase` module(s) you're using that has the issue:**
- firestore
- **Are you using `TypeScript`?**
- N
Issue
I recently upgraded from
6.2.0
to6.4.0-rc0
.When using a
where
clause withonSnapshot
I am getting this error :Here is my javascript code :
If I remove the
where
line, it works. It used to work fine on6.2.0
.Javascript
Click To Expand
#### `package.json`: ```json { "dependencies": { "@babel/plugin-proposal-class-properties": "^7.1.0", "@babel/plugin-proposal-decorators": "^7.1.6", "@babel/plugin-transform-flow-strip-types": "^7.1.6", "@ptomasroos/react-native-multi-slider": "^1.0.0", "@react-native-community/async-storage": "^1.6.2", "@react-native-community/geolocation": "^2.0.2", "@react-native-community/masked-view": "^0.1.7", "@react-native-firebase/app": "6.4.0-rc0", "@react-native-firebase/auth": "6.4.0-rc0", "@react-native-firebase/database": "6.4.0-rc0", "@react-native-firebase/firestore": "6.4.0-rc0", "@react-native-firebase/functions": "6.4.0-rc0", "@react-native-firebase/messaging": "6.4.0-rc0", "@react-native-firebase/storage": "6.4.0-rc0", "@react-navigation/bottom-tabs": "^5.2.2", "@react-navigation/compat": "^5.1.4", "@react-navigation/native": "^5.1.1", "@react-navigation/stack": "^5.2.3", "@sentry/react-native": "^1.3.3", "add": "^2.0.6", "adm-zip": "^0.4.13", "babel-plugin-transform-remove-console": "^6.9.4", "babel-preset-react-native-stage-0": "^1.0.1", "firebase": "^7.0.0", "i18n-js": "^3.5.1", "plist": "^3.0.1", "progress": "^2.0.0", "react": "16.9.0", "react-native": "0.61.1", "react-native-circular-progress": "^1.0.1", "react-native-deck-swiper": "^1.6.7", "react-native-device-info": "^3.1.4", "react-native-fbsdk": "^1.1.1", "react-native-flags": "^1.0.0", "react-native-gesture-handler": "^1.6.0", "react-native-iap": "^3.5.2", "react-native-image-crop-picker": "^0.28.0", "react-native-image-picker": "^1.1.0", "react-native-image-resizer": "^1.0.1", "react-native-input-scroll-view": "^1.7.4", "react-native-keyboard-spacer": "^0.4.1", "react-native-languages": "^3.0.1", "react-native-linear-gradient": "^2.5.6", "react-native-permissions": "^2.0.0", "react-native-rate": "^1.1.7", "react-native-reanimated": "^1.7.0", "react-native-safe-area-context": "^0.7.3", "react-native-safe-area-view": "^1.0.0", "react-native-screens": "^2.3.0", "react-native-sortable-grid": "https://github.com/ollija/react-native-sortable-grid.git", "react-native-spinkit": "^1.5.0", "react-native-splash-screen": "^3.2.0", "react-native-svg": "^9.9.9", "react-native-swiper": "1.6.0-rc.3", "react-native-vector-icons": "^6.6.0", "react-native-version-number": "^0.3.6", "react-native-view-overflow": "^0.0.4", "react-native-webview": "^7.4.3", "react-redux": "^7.1.1", "redux": "^4.0.1", "redux-logger": "^3.0.6", "redux-mock-store": "^1.5.3", "redux-persist": "^6.0.0", "redux-thunk": "^2.3.0", "scheduler": "0.14.0", "semver": "^6.1.1", "timeago.js": "3.0.0", "xcode": "^1.0.0", "yarn": "^1.19.0" }, "devDependencies": { "@babel/core": "^7.6.2", "@babel/runtime": "^7.6.2", "@react-native-community/eslint-config": "^0.0.5", "babel-jest": "^24.9.0", "babel-preset-react-native": "4.0.0", "eslint": "^6.4.0", "jest": "^24.9.0", "metro-react-native-babel-preset": "^0.56.0", "react-test-renderer": "16.9.0" }, "jest": { "preset": "react-native" } } ``` #### `firebase.json` for react-native-firebase v6: ```json # N/A ```
iOS
Click To Expand
#### `ios/Podfile`: - [ ] I'm not using Pods - [x] I'm using Pods and my Podfile looks like: ```ruby # N/A ``` #### `AppDelegate.m`: ```objc // N/A ```
Android
Click To Expand
#### Have you converted to AndroidX? - [ ] my application is an AndroidX application? - [ ] I am using `android/gradle.settings` `jetifier=true` for Android compatibility? - [ ] I am using the NPM package `jetifier` for react-native compatibility? #### `android/build.gradle`: ```groovy // N/A ``` #### `android/app/build.gradle`: ```groovy // N/A ``` #### `android/settings.gradle`: ```groovy // N/A ``` #### `MainApplication.java`: ```java // N/A ``` #### `AndroidManifest.xml`: ```xml ```
Environment
Click To Expand
**`react-native info` output:** ``` System: OS: macOS 10.15.3 CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz Memory: 271.43 MB / 16.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 10.16.0 - ~/.nvm/versions/node/v10.16.0/bin/node Yarn: 1.21.1 - /usr/local/bin/yarn npm: 6.9.0 - ~/.nvm/versions/node/v10.16.0/bin/npm SDKs: iOS SDK: Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1 Android SDK: API Levels: 23, 25, 26, 27, 28 Build Tools: 27.0.3, 28.0.2, 28.0.3 System Images: android-27 | Intel x86 Atom_64, android-28 | Google APIs Intel x86 Atom IDEs: Android Studio: 3.1 AI-173.4819257 Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild npmPackages: react: 16.9.0 => 16.9.0 react-native: 0.61.1 => 0.61.1 npmGlobalPackages: react-native-cli: 2.0.1 ``` - **Platform that you're experiencing the issue on**: - [ ] iOS - [ ] Android - [x] **iOS** but have not tested behavior on Android - [ ] **Android** but have not tested behavior on iOS - [ ] Both - **`react-native-firebase` version you're using that has this issue:** - 6.4.0-rc0 - **`Firebase` module(s) you're using that has the issue:** - firestore - **Are you using `TypeScript`?** - N