firebase-ios-sdk: RTDB getData Crashes When Offline

[REQUIRED] Step 1: Describe your environment

  • Xcode version: 12.5.1
  • Firebase SDK version: 8.2.0
  • Installation method: `CocoaPods
  • Firebase Component: Database

[REQUIRED] Step 2: Describe the problem

Performing a getData call while not connected to the internet produces the following error: Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: '-[FChildrenNode node]: unrecognized selector sent to instance

Steps to reproduce:

Make any getData call while not connected to the internet

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 22 (17 by maintainers)

Commits related to this issue

Most upvoted comments

@ChristianGoodridgeLVM I’d let @morganchen12 evaluate the correctness of the fix, but yes, from what I can tell it’s just a tiny programming error and not a logic error. So should work as expected still.

created a PR: #8484