Skip to content

1.13.0 Enabling/disabling Firestore network causes a crash on iOS #552

@kaidotarma

Description

@kaidotarma

Looks like version 1.13.0 created a new issue where:
Firebase.firestore.enableNetwork()
or
Firebase.firestore.disableNetwork()
would cause an app to crash:
*** Terminating app due to uncaught exception 'FIRIllegalStateException', reason: 'Firestore instance has already been started and its settings can no longer be changed. You can only set settings before calling any other methods on a Firestore instance.'

The reason seems to be that firestoreSettings gets recreated when this function is called.

This was not an issue in version 1.12.0.
The issue does not reproduce in Android app (1.13.0).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions