-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stetho-realm can't debug realm #21
Comments
|
I'm using Genymotion, same result, blank WebSQL |
@QuynhND: VD: Stetho.initialize( |
@ngochuu90 |
Tôi cũng đang sử dụng Realm 1.0. Nếu realm default không được, bạn thử set myconfig RealmConfiguration myConfig = new RealmConfiguration.Builder(mcontext) .enableWebKitInspector(RealmInspectorModulesProvider.builder(BlinkApplication.context).build()) sẽ khởi tạo các bảng, cột theo database realm của bạn Khi database chưa được set xong, websql sẽ bị trắng Bạn cũng có thể thử kill App hoàn toàn, sau đó chạy App, rồi bật lại chrome://inspect/#devices |
too hard to speak in English ? |
Really :( |
Are you using default database name ( |
To solove this problem. Uninstall your app. |
RealmInspectorModulesProvider.builder(this) |
I can't debug realm using stetho-realm
Web SQL - Empty
My build.gradle:
buildscript {
repositories {
maven { url 'https://maven.fabric.io/public' }
}
}
apply plugin: 'com.android.application'
apply plugin: 'com.neenbedankt.android-apt'
apply plugin: 'io.fabric'
apply plugin: 'realm-android'
repositories {
maven { url 'https://maven.fabric.io/public' }
maven { url 'https://github.com/uPhyca/stetho-realm/raw/master/maven-repo' }
}
dependencies {
...
compile 'com.facebook.stetho:stetho:1.3.1'
compile 'com.uphyca:stetho_realm:0.9.0'
compile 'com.facebook.stetho:stetho-okhttp3:1.3.1'
}
MyApplication:
public void onCreate() {
super.onCreate();
configureJobManager();
TwitterAuthConfig authConfig = new TwitterAuthConfig(TWITTER_KEY, TWITTER_SECRET);
// Set up Crashlytics, disabled for debug builds
Crashlytics crashlyticsKit = new Crashlytics.Builder()
.core(new CrashlyticsCore.Builder().disabled(BuildConfig.DEBUG).build())
.build();
Fabric.with(this, crashlyticsKit, new TwitterCore(authConfig), new Digits());
The text was updated successfully, but these errors were encountered: