Reputation: 3815
I follow : This is from Facebook documentation.
Debugging with Stetho
on Android.
I run react-native run-android
via terminal.
Then, Inspect with Chrome Developer Tools
and then Developer Tools
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
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