uPhyca/stetho-realm

All schema show the tables of default schema

Closed this issue ยท 6 comments

hexi commented

There are 2 custom schema in library module:
@RealmModule(library = true, classes = {Elephant.class, Lion.class, Zebra.class})
public class ZooAnimalsModule {
}

@RealmModule(library = true, classes = {Cat.class, Dog.class})
public class DomesticAnimalsModule {
}

And in my application There are some Model in the default schema:
Cow, Pig, Snake, Spider

But when i run the application, all schema show the tables of the default schema.
image

hexi commented

in build.gradle:
compile 'com.facebook.stetho:stetho:1.4.1'
compile 'com.uphyca:stetho_realm:2.0.0'

in MyApplication:
Stetho.initialize(
Stetho.newInitializerBuilder(this)
.enableDumpapp(Stetho.defaultDumperPluginsProvider(this))
.enableWebKitInspector(RealmInspectorModulesProvider.builder(this).build())
.build());

still i am having the same problem

Having the same issue also. Any solution for this?

I have this issue. Any solution?

@saulIHS try this.

stetho-realm 2.0.1 is released.

edit build.gradle:

repositories { maven { url 'https://github.com/linchaolong/stetho-realm/raw/master/maven-repo' } }

dependencies { compile 'com.facebook.stetho:stetho:1.4.2' compile 'com.uphyca:stetho_realm:2.0.1' }

@bryanleesh thanks, it works!