From 195debd640f42782ffda72ad90f45d1998edb2d9 Mon Sep 17 00:00:00 2001 From: naman14 Date: Mon, 31 Oct 2016 16:25:06 +0530 Subject: [PATCH 1/3] remove crashlytics --- app/build.gradle | 5 ----- app/src/main/AndroidManifest.xml | 5 ----- app/src/main/java/com/naman14/timber/TimberApp.java | 10 ---------- build.gradle | 2 -- 4 files changed, 22 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 8cf449ae1..5ad3b08d0 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,5 +1,4 @@ apply plugin: 'com.android.application' -apply plugin: 'io.fabric' android { compileSdkVersion 24 @@ -36,7 +35,6 @@ android { repositories { jcenter() - maven { url 'https://maven.fabric.io/public' } } dependencies { @@ -62,9 +60,6 @@ dependencies { compile('com.github.naman14:app-theme-engine:0.5.2@aar') { transitive = true } - compile('com.crashlytics.sdk.android:crashlytics:2.6.5@aar') { - transitive = true; - } compile 'com.anjlab.android.iab.v3:library:1.0.+' diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index f2d7919ed..152b1e887 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -104,11 +104,6 @@ - - - diff --git a/app/src/main/java/com/naman14/timber/TimberApp.java b/app/src/main/java/com/naman14/timber/TimberApp.java index 0a8e6118d..5016e9c9f 100644 --- a/app/src/main/java/com/naman14/timber/TimberApp.java +++ b/app/src/main/java/com/naman14/timber/TimberApp.java @@ -17,15 +17,11 @@ import android.app.Application; import com.afollestad.appthemeengine.ATE; -import com.crashlytics.android.Crashlytics; -import com.crashlytics.android.core.CrashlyticsCore; import com.naman14.timber.permissions.Nammu; import com.nostra13.universalimageloader.core.ImageLoader; import com.nostra13.universalimageloader.core.ImageLoaderConfiguration; import com.nostra13.universalimageloader.utils.L; -import io.fabric.sdk.android.Fabric; - public class TimberApp extends Application { @@ -40,12 +36,6 @@ public void onCreate() { super.onCreate(); mInstance = this; - //disable crashlytics for debug builds - Crashlytics crashlyticsKit = new Crashlytics.Builder() - .core(new CrashlyticsCore.Builder().disabled(BuildConfig.DEBUG).build()) - .build(); - Fabric.with(this, crashlyticsKit); - ImageLoaderConfiguration localImageLoaderConfiguration = new ImageLoaderConfiguration.Builder(this).build(); ImageLoader.getInstance().init(localImageLoaderConfiguration); L.writeLogs(false); diff --git a/build.gradle b/build.gradle index 832f8b561..2ec58365d 100644 --- a/build.gradle +++ b/build.gradle @@ -3,11 +3,9 @@ buildscript { repositories { jcenter() - maven { url 'https://maven.fabric.io/public' } } dependencies { classpath 'com.android.tools.build:gradle:1.5.0' - classpath 'io.fabric.tools:gradle:1.+' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files From c07c12d3746776acb9ee59645a8949d42e21905e Mon Sep 17 00:00:00 2001 From: naman14 Date: Mon, 31 Oct 2016 16:26:08 +0530 Subject: [PATCH 2/3] derp --- .../main/java/com/naman14/timber/activities/DonateActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/naman14/timber/activities/DonateActivity.java b/app/src/main/java/com/naman14/timber/activities/DonateActivity.java index 46b23876e..e55c9d0ff 100644 --- a/app/src/main/java/com/naman14/timber/activities/DonateActivity.java +++ b/app/src/main/java/com/naman14/timber/activities/DonateActivity.java @@ -56,7 +56,7 @@ protected void onCreate(Bundle savedInstanceState) { progressBar = (ProgressBar) findViewById(R.id.progressBar); status = (TextView) findViewById(R.id.donation_status); - bp = new BillingProcessor(this, getString(R.string.play_billing_license_key), this); + bp = new BillingProcessor(this, "PLAY_LICENSE_KEY", this); } From 5c5f2ec3bbefd6ea6752cc3bf4dc1988048eb40c Mon Sep 17 00:00:00 2001 From: naman14 Date: Mon, 31 Oct 2016 16:29:26 +0530 Subject: [PATCH 3/3] derp --- app/build.gradle | 1 - 1 file changed, 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index 5ad3b08d0..7c82f191e 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -20,7 +20,6 @@ android { proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } debug { - ext.enableCrashlytics = false versionNameSuffix "-debug" minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'