Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for fetching Realm #4150

Closed
wants to merge 1 commit into from
Closed

Add support for fetching Realm #4150

wants to merge 1 commit into from

Conversation

austinzheng
Copy link
Contributor

Needs: object server tests need to be updated.

Prereq: realm/realm-object-store#174
Replaces: https://github.com/realm/realm-cocoa-private/pull/269

Changes:

  • Session handles can now wait for uploads/downloads to complete
  • Added API to fetch a Realm and expose it to the user upon download completion
  • Fix Xcode project target membership for certain Sync source files
  • Fix a threading bug
  • Changed the standaloneSession BOOL argument some internal methods took into a purpose enum to more clearly distinguish between fetching Realms, opening Realms, and getting a standalone session

Changes:
- Session handles can now wait for uploads/downloads to complete
- Added API to fetch a Realm and expose it to the user upon download completion
- Fix Xcode project target membership for certain Sync source files
- Fix a threading bug
- Changed the `standaloneSession` BOOL argument some internal methods took into a `purpose` enum to more clearly distinguish between fetching Realms, opening Realms, and getting a standalone session
@austinzheng
Copy link
Contributor Author

I believe this feature is no longer desired? I am closing this PR, since even if we want it the implementation is no longer compatible with the latest code.

@jpsim
Copy link
Contributor

jpsim commented Nov 15, 2016

We definitely still need a "download Realm" API that only makes the Realm available when the entire Realm file has been downloaded, and without automatically creating the file if it doesn't already exist, but I agree that we'd be better off starting fresh to implement that, and I think we're still blocked on a few lower-level sync features to expose that (protocol changes, among other things).

@austinzheng austinzheng deleted the az/fetchrealm branch April 21, 2017 17:33
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants