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 have nested realm object defined in my react-native app as:  export const userSchema = {   name: 'User',   primaryKey: 'id',   properties: {     id: 'string',     user_id: 'string',     password: 'string',...
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', &#...
How to store the JSX template of React Native in the database? If stored in string format, how to convert it back to JSX after fetching from the database?  For example: if we store JSX as string format '<Text>test</Text>' in realm...
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...
I've been using realm in my react-native app through javascript API to persist some user data. Now I need to access this realm instance from a native module (react-native bridge in Android) to retrieve this persisted data. Could you tell me how c...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.