UPDATED
DESCRIPTION
I have a listener on a Realm Object for getting updates. When there is an update on the server (or in the client) the function provided to the listener calls setState({}).
The strange part is that even if the console says that…
looking for react-native libraries or development approaches to archive the following:
My Use case
In my react-native app I want to sync pictures ( taken by users ) and other files like the user database "realm.db ( from realmjs )" with the user…
I use realm inside my React native application a try to query list of objects from realm db.
function* loadPlaces() {
let realm;
try {
const filter = yield select(getFilter);
realm = yield call(Realm.open, {schema:…
I have data that looks like this
PersonJSONData = {
"key1": {
"name": "odo",
"age": 10,
"favorites": {
"food": ["rice", "chocolate", "sugar"],
"game": [],
"color": ["red"]
},
…
Update
I found the release notes when it comes to v10.0.0 and here's the place where I find the breaking changes. I guess this should be enough?
Initial question
I want to upgrade the realm library version we're using (v6.1.0) to latest stable one…
I want to use Jitsi-Meet (Video calling library) with Realm. When I run the app on iOS, Realm does not work. It shows the following error:
2018-12-28 16:22:34.504 [error][tid:main][RCTModuleData.mm:179] Realm has no setter or ivar for its bridge,…
I am trying to automate my react native app publish to app store by using fastlane. Archiving the app manually using xcode is successful. However when i use Fastlane, the build app step fails with exit status 65.
error: Unable to load contents of…
I've just recently started working with react native and Realm, and it works great.
However up to this point we've only been using the realm file created in the default location, but we want to be able to package a realm file with our app when we…
Description
I'm trying to convert my realm object to an array as can be seen below in the history method.
class RealmStore {
@observable symptoms = {};
@observable meals = {};
@computed get history(){
return…
Background
Framework: React Native
Library: Realm JS
I am writing a query to search whether an ID is included in a collection
following the official doc in https://static.realm.io/downloads/files/NSPredicateCheatsheet.pdf
Left hand expression must…
I am searching for a perfomant way to find the index of a given realm-object in a sorted results list.
I am aware of this similar question, which was answered with using indexOf, so my current solution looks like this:
const sortedRecords =…
Is there a way to list all users for a Realm instance from Realm's API? I wanted to list and delete all regular users with a script, since I can't multi select from Realm studio. They have to be deleted 1 by 1.
React native app freezes when querying big data from realm database.
let list = realm.objects('Messages');
list = list.filtered('dialogue_id = $0 SORT(unixtime ASC)', dialogue_id);
I use
list = list.slice(0, 50);
Realmjs version…
I can successfully use the Realm GraphQL Client with a realm path like myInstance.us1.cloud.realm.io/~/realmName but when trying to use a global path, i.e., myinstance.us1.cloud.realm.io/realmName, I always get a 502 response from the server.
Any…