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

Update realm from another process works only after it's been closed. #3288

Closed
bdelville opened this issue Aug 12, 2016 · 1 comment
Closed

Comments

@bdelville
Copy link

bdelville commented Aug 12, 2016

Goal

Updating the data in the realm from a service in another process and see the result from the activity in the default process

Expected Results

I can retrieve the new data as soon as commit is called in the service

Actual Results

The realm in the service from another process has to be closed for the activity to see the new values.

Steps & Code to Reproduce

  • Create a service in another process and an activity in the default process, and add a single item in the realm
  • Edit this item in the realm from the process. Commit but don't close the realm.
  • Notify the activity by Broadcast
  • From the activity, access the object.

Version of Realm and tooling

Realm version(s): 1.1.0

Android Studio version: 2.1.2

Which Android version and device: Samsung Galaxy Tab A, Android 6.0.1

@beeender
Copy link
Contributor

Still same issue as #1091
Close and dup to #1091

And thanks again for the feedback!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants