-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
SDK FY21-Q3.
-
3110
I am getin this error when i run : react-native run-android
First the app opens correctly and after 3 sec it shows me this error.
I have never had this before. I am using last realm version 6.0.4
Even with older versions is the same issue.
I have lot of schemas that i import in an index file :
const Realm = require('realm'); class CountriesSchema extends Realm.Object {} CountriesSchema.schema = { name: 'Countries', primaryKey: 'passportId', properties: { passportId: {type: 'string'}, nationName: {type:'string', optional: true, default:''}, code: {type:'string', optional: true, default:''}, } }; export default CountriesSchema;
import Countries from './CountriesDataBase/CountriesSchema'; realmInstance = new Realm({ encryptionKey: getKey(), schema: [User] })
As i said there are lot of schemas but i follow the same rule
- is duplicated by
-
RJS-743 JSON.Stringify dont work for realm classes
- Closed