I work on V3 version of an app created with React-native in JS.
The V2 was in objectif C and use MagicalRecord to store local data on phone (btw i'm very not familiar with this langage).
// Database instanciation through MagicalRecord
[MagicalRecord setDefaultModelNamed:@"Identify.momd"];
[MagicalRecord setShouldDeleteStoreOnModelMismatch:YES];
[MagicalRecord setupCoreDataStackWithAutoMigratingSqliteStoreNamed:@"Identify.sqlite"];
// error : No known class method for selector 'setLoggingLevel:'
// [MagicalRecord setLoggingLevel:MagicalRecordLoggingLevelDebug];
// [MagicalRecord setLoggingLevel:@"MagicalRecordLoggingLevelDebug"];
I can run the V2 on phone/simulator
How to get all the content of the MagicalRecord database to log it and be sure that the content i'm looking for is inside it before trying to make a package to read it from React.
Or where is stored the Identify.sqlite file ? maybe i can open it from JS side
Version is 2.2 according to Pod file
Thanks
EDIT :
i found the Identify.sqlite file on the iphone. open it with react-native-sqlite-storage
Hello Sorry to open issue here but i'm stuck
I work on V3 version of an app created with React-native in JS. The V2 was in objectif C and use MagicalRecord to store local data on phone (btw i'm very not familiar with this langage).
I can run the V2 on phone/simulator
How to get all the content of the MagicalRecord database to log it and be sure that the content i'm looking for is inside it before trying to make a package to read it from React. Or where is stored the
Identify.sqlite
file ? maybe i can open it from JS sideVersion is 2.2 according to Pod file
Thanks
EDIT : i found the Identify.sqlite file on the iphone. open it with react-native-sqlite-storage