6

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 ??

abby37
  • 597
  • 6
  • 21

2 Answers2

6

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

console.log('realm db file path:', realm.path);
Aditya
  • 3,525
  • 1
  • 31
  • 38
0

With the iOS emulator you can just find the path and open the Realm directly (which allows you to see the changes as they happen, great for debugging), on Android you will have to copy the file out to the regular file system.

It is all described in the docs for Realm Studio: https://docs.realm.io/platform/realm-studio/view-your-data#viewing-realms-from-emulators

ast
  • 528
  • 2
  • 6