Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to view realm db created by react-native in ios stimulator

I want to access realm database created by my ios app that I created using react-native. Its easier to use adb pull for android but for ios I am not getting much idea. There are some links like -

  1. realm-file in ios app
  2. to find app uuid for above link

So any help, how to view realm db for developing and debugging purpose for react-native developed ios app.

Thanks for the answer but additional (out of curiosity) Question - but how to find app uid which are installed by react native on ios simulator ??

like image 605
abby37 Avatar asked May 26 '18 06:05

abby37


People also ask

How do I view realm database IOS?

Right-click the downloaded file and "Show Package Contents." You'll find your Realm files under AppData/Documents/mongodb-realm/<app-name>/????? . Find the file for the realm you're interested in and double-click it to open it in Realm Studio.


1 Answers

While searching through the web, got the answer in docs:

console.log('realm db file path:', realm.path);
like image 108
Aditya Avatar answered Nov 15 '22 05:11

Aditya