Satan Pandeya
Satan Pandeya

Reputation: 3815

default.realm file is not display in the chrome browser

I follow : This is from Facebook documentation.

Debugging with Stetho on Android.

Debugging with Stetho on Android

I run react-native run-android via terminal.

Then, Inspect with Chrome Developer Tools and then Developer Tools

enter image description here

After i inspect, Resources/Web Sql/ display empty.

My realm file is in : path: /data/data/com.demo/files/default.realm.

What can be done to view my default.realm file in chrome browser?

Upvotes: 5

Views: 941

Answers (1)

Nicks
Nicks

Reputation: 3502

I faced the same issue but i resolved by changing stetho version to 'com.facebook.stetho:stetho:1.4.1' also make sure you will initialize stetho properly like this

Stetho.initialize(
Stetho.newInitializerBuilder(this)
.enableDumpapp(Stetho.defaultDumperPluginsProvider(this))
.enableWebKitInspector(Stetho.defaultInspectorModulesProvider(this))
nableWebKitInspector(RealmInspectorModulesProvider.builder(this).build())
.build());

Upvotes: 0

Related Questions