uPhyca/stetho-realm

Not Shows the realm DB

Opened this issue · 5 comments

I didn't see the realm DB after setting all steps you given..

http://imgur.com/9m7hKe2

same.

I have a working setup in one of my apps, but I can't get it to work in a different app where I use an encrypted Realm. How exactly do I have to configure it for encryption?

@shihabmi7 data is shown under Web SQL (but it seems no items under that).

Are you using RealmConfiguration.Builder#name()?
If you pass database name that has no .realm extension, please use .databaseNamePattern(Pattern) when creating RealmInspectorModulesProvider (see https://github.com/uPhyca/stetho-realm/blob/master/README.md#integration). The default pattern is Pattern.compile(".+\\.realm").

@Waboodoo please use withDefaultEncryptionKey(byte[]) or .withEncryptionKey(String, byte[]) in com.uphyca.stetho_realm.RealmInspectorModulesProvider.ProviderBuilder in order to specify encryption key (See https://github.com/uPhyca/stetho-realm/blob/master/README.md#integration).

Faced almost the same issue.
I see my *.realm in the left panel, but content is empty.