I'm trying to create Realm database that has a json array of objects with a nested array of objects.  When I try to add using the code below I always get the error: JS value must be of type: object.  Schemas:  import Realm from 'realm';...
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,...
The Realm JavaScript documentation says:  Sorting and find distinct values are possible with functions SORT and DISTINCT, e.g. age > 20 SORT(name ASC, age DESC) DISTINCT(name).   The ordering for sorting can be one of the following case insensitiv...
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 wanted to try out Realm Mobile Platform with an Angular 2 app but it looks like I'm not able to use the Javascript version of Realm in Angular 2. If I were able to include Realm in my Angular 2 app, how would I go about setting that up?  So far...
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...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.