Skip to content

[cloud_firestore] disable network for client (enableNetwork / disableNetwork) #211

Description

@EmilHW

Is your feature request related to a problem? Please describe.
I would like to be able to disable a clients network for the cloud_firestore (Like it is possible for the java android version, and other languages. https://firebase.google.com/docs/firestore/manage-data/enable-offline). I would like this possibility, because i would like to have a client that can use the cloud_firestore functionality, but without uploading their data to the cloud, before they purchase the full version of my application. So that when they purchase the full version, then i would simply reenable the network and all data would be synced.

Describe the solution you'd like
The solution should be the one similar to the java android implementation, with the following methods for the instance of Firestore:
disableNetwork() which should disable the network.
enableNetwork() which should enable the network.

Additional context
The documentation that i am refering to when i say the java implementation:
java

Activity

  1. changed the title [-][cloud_firestore] disable network for client.[/-] [+][cloud_firestore] disable network for client (enableNetwork / disableNetwork)[/+] on Apr 21, 2020
  2. gkumarau commented on May 9, 2020

    @gkumarau

    I believe this feature is very important for firestore. Any idea when the feature will be released?

  3. Ehesp commented on May 31, 2020

    @Ehesp
    Member

    Will be supported as part of #2582

  4. Salakar commented on Jul 7, 2020

    @Salakar
    Contributor

    Hey all, as part of our on-going work for #2582, this has been implemented in our Firebase Firestore rework (#2913) - which has now been merged into master. We'll look at publishing some prereleases in the next few days. Thank you

  5. locked and limited conversation to collaborators on Aug 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions