Skip to content

PFEventuallyQueue sync #1181

@ayoze

Description

@ayoze

Hello,

I am using Parse in some of my offline-online projects (apps which needs offline information storing and syncing when possible with the server. Local datastore works good here for me).

The only strange behavior is that the PFEventuallyQueue has no idea about the state of the network connection IMO. The scenario is:

  1. Device with no internet connection
  2. Create the object locally, pin it to the local datastore and call saveEventually
  3. With the app opened, connect to a wifi network
  4. Nothing happens. Data is not synced in the server
  5. Close app and reopen it. Data is now synced in the server

Would be great to have the chance to force the sync to of this queue if the app can detect a working internet connection with Reachability or something.

Many thanks in advance.

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