We can do that by clicking on options → settings → sign in. Use Chrome browser Dev tools to view our realm database.īefore we use the chrome dev tools we have to sign into google chrome with a google account. With just these few settings, we are good to go! we can use the Chrome Dev tools to monitor our application and view our Realm database.ģ. Then we add Android manifest xml file to the build folder All this class does is to initialize Realm and Stetho. ![]() This Application class must belong to the same package as the main Application class, so that it can replace the main Application class correctly in debug mode. In our Project level adle file we add the the following maven url allprojects The dependencies required are shown below Note: This article assumes you have an app that utilizes realm db already, if you don’t then you can use one of the sample applications from the realm db repository. Use Chrome browser Dev tools to view our realm database.Ensure Stetho is only used from debug build only(We dont want to mess up our release apk).We would complete the tutorials in the following steps But another problem is that Realm db is not supported in Stetho by default, so we would make use of another library, stetho realm this would provide us the ability to view our realm db from the chrome dev tools using stetho. To achieve this we would use a tool called Stetho, developed by Facebook, Stetho give developers access to the Dev tools feature of the Chrome browser, so we would view the content of our realm database using Chrome browser. ![]() So how would windows users monitor the content of their Realm database? That would be covered in this brief tutorial. The only problem is that realm browser is only available for MAC and UBUNTU operating systems but unfortunately its not available for WINDOWS. ![]() With the realm browser you can view and even edit the data from your realm database. I recently started using Realm as my mobile database and it has proved to be a very good solution as it is easy to implement and also it is live, so updating the User Interface to reflect changes in the underlying database is very easy.īut as with every other database, you often need to view its content without using the view from your application directly, Realm provides a solution for that through the Realm Browser. ANDROID: Browsing Realm Database On Windows.
0 Comments
Leave a Reply. |