diff --git a/app/build.gradle b/app/build.gradle index 16fb8a3ac..20602bd86 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 @@ -21,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' @@ -36,7 +34,6 @@ android { repositories { jcenter() - maven { url 'https://maven.fabric.io/public' } } dependencies { @@ -62,9 +59,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/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/app/src/main/java/com/naman14/timber/activities/DonateActivity.java b/app/src/main/java/com/naman14/timber/activities/DonateActivity.java index 2468a1be8..737c0f411 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); } diff --git a/build.gradle b/build.gradle index 759a3e26f..57d469176 100644 --- a/build.gradle +++ b/build.gradle @@ -3,13 +3,10 @@ buildscript { repositories { jcenter() - maven { url 'https://maven.fabric.io/public' } } dependencies { classpath 'com.android.tools.build:gradle:2.1.0' - classpath 'io.fabric.tools:gradle:1.+' - - // NOTE: Do not place your application dependencies here; they belong + // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } }