I have a use case where i am receiving some data in android code(native). I want to insert this data into the same realm which is opened or made by my react code.   Or write in the same realm. How can I achieve this? All the help is appreciated. P.S....
I have played around with Realm, got it to work with React-Native - Got the data inserted from JSON file and was able to filter/read it too.  Now the real question, how can i pre-package the data with my react-native app. I have seen some questions,...
I cant seem to store an array from a json to my realm database. Lets say the json that was returned to me is:    contact:        {            name: 'Test Name',           contactDetails: [ '4354354', '099324' ]        },   How...
Importing and using Realm on react native works fine for iOS. Android also works in terms of functionality, however, when using remote debugging on chrome the following error yields.    I've looked around almost everywhere and nobody seems to hav...
I am switching to realm for react native and would like to make use of their built in queries/filtering. I have checkbox filters with 3 possible options, the selected are passed as a array:  var filters = ['complete', 'inProgress', &#...
I make Person class and set some useful methods.  I want to save Person objects to realm-js, and in some situation also want to use not saved, just temporary Person object.  But, when I try to initialize with new operator, it is failed with message E...
I am new in Realm database, it's amazing, and I've few doubts about the relationship thing. Rather than asking each doubt, I prefer to understand it from an example. Below given a sample schema copied from realm javascript docs.  const CarSch...
Im new to React-Native and Im using Realm as my database. Im trying to create a class which holds all my realm queries and I will use it in my components. Today.js and Queries.js are on the same folder. I have this on my Today.js  import Queries from...
I am new to react-native and using realm database for my application. I want to pre-populate my data through json. I tried using componentDidMount() function and using for loop to insert data. Any guidence would be helpful.  Following is my code:  //...
I am using below code in my project to open realm asynchronously and use it with the services.  RmProfile.js:  import Realm from 'realm'; const PrflSchema = {   name: 'Profile',   primaryKey: 'id',   properties: {     id...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.