Geting the Location of Realm file on a Mac

582 Views Asked by At

I am using a MacBook and I develop an android app using react native and realm database using Android Studio.

I have realm studio and I need to open the realm file from where it is stored instead of downloading it first, so that i can view my real data from where they are stored.

WHAT I HAVE TRIED

  1. Using Realm.defaultPath I have logged and see the location as /data/data/com.myapp/files/default.realm. But I could not find how to access it from Finder on my MacBook. How do I access it with Finder?

  2. Using Android studio I tracked the file via the View > Tool Windows > Device File Explorer and then go through that data/data/package_name/file_name. When doing this I get the file but this gives me the option of Downloading it and saving it somewhere else in order to view it on realm studio.

WHAT I WANT I want to be able to open the realm file using realm studio Directly from the location it is stored, so that I can see live changes of my data on the database.

How do I get that location and how do i do it?

0

There are 0 best solutions below