Questions tagged [realm-js]

2 votes
2 replies
UI doesn't update until tap on the screen when setState is called inside a realm listener callback
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 funct...
0 votes
0 replies
How to add auto updating timestamps in realm-js
In my React Native app, I am trying to update the updatedAt field of an object automatically. For this I have added a listener on the object and...
asked 2 months ago
1 votes
0 replies
realm multiple classes error opening istance
I have a .realm file with 5 classes and I want to open that .realm file and read a column of one class but when I try to access the database I re...
asked 3 months ago
0 votes
1 replies
How to migrate RealmJS db after change the column type?
I'm using realmjs DB in my react-native app where I have a schema settings. I want to change a property type of that schema from int to string. S...
0 votes
0 replies
Failed to execute 'send' on 'xmlhttprequest': Failed to load deviceip/callbacks_poll
The error image attached here When I try to debug my code using ios in xcode 10 this error happens. Please help. 8083 port is forwarded properl...
0 votes
0 replies
How to clear user data with realmjs
I use realm.deleteAll, but the user cache is still there when I check the app Storage from Setting, It seems the app's storage is getting larger...
asked 5 months ago
0 votes
0 replies
Realm has no setter or ivar for its bridge, which is not permitted
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-...
asked 5 months ago
1 votes
2 replies
How to use realm with async fetch request?
I have meet this situation for my requirements: step 1. save data to local db which in the mobile phone (realm) step 2. upload the local data...
0 votes
0 replies
Export Result of Realm Async Function in Node+Express App
I have an Express route that gets some data and returns some JSON like this: //-- app.js -- app.get('/info', function(req, res){ var realm =...
asked 1 month ago
0 votes
0 replies
Realm usage when a APP receives a background event and the iPhone is locked
So I'm developing an APP in react-native that receives a background event. And when the background event is received the APP crash and doesn't sa...
asked 2 months ago
0 votes
0 replies
Mobile Offline Sync
I'm currently working on a React Native application, the server is already implemented and my app should implement offline sync, I'm planning to...
asked 3 months ago
1 votes
1 replies
How to prevent multi beginTransactions in Realmjs?
I create a function to handle transaction, then I call it to multi places. I got crash when another transaction not yet complete when I open new...
asked 5 months ago
0 votes
0 replies
realm js querying using uuid
Hello All I have these models in realm: export const AddressSchema = { name: ADDRESS_SCHEMA, primaryKey: 'addressid', properties: { ad...
asked 4 months ago
0 votes
0 replies
How To Compact a Realm Using Realm JS
I want to compact a Realm file in my Node JS app, but there is nothing about it in the Realm JS docs. I dug into the JS API reference, but the u...
asked 4 weeks ago