-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Realm where query doesn't give updated results in android. If application crashes it gives correct results. #1769
Comments
Can you share your code so we can see how you get a Realm instance, how you add objects to the Realm, and how you query it? |
hey There are two files... ListenerService.java listens from the mobile code and put the byte array In RealmDbService.java i use realm object instance. and query the contents package com.example.rdhule.myapplication.services; import android.content.Intent; import com.example.rdhule.myapplication.DailyLog; import java.io.BufferedReader; import io.realm.Realm; /**
} RealmDBService.java package com.example.rdhule.myapplication.services; import android.content.Context; import com.example.rdhule.myapplication.DailyLog; import java.io.File; import io.realm.Realm; /**
} On Fri, Nov 13, 2015 at 1:35 PM, Kenneth Geisshirt <[email protected]
|
It is not possible to access a Realm file from two separate processes - see issue #1091. |
But its a where query only... I am not writing any results on wear...??
|
A service can run as a separate process. How is it set up in your manifest? |
Closing due to inactivity. Don't hesitate to reopen or create a new issue if you still experience the issue. |
i have written a file which contains realm objects and entries. But realm query doesn't read from that file in android. But it is able to read if application crashes. I want to ask you how to get newer entries in realm file. My realm file returns null results without app crash and suddenly gives results after app crashes.
The text was updated successfully, but these errors were encountered: