Skip to content

Commit bbd5eb1

Browse files
committed
revert crashlytics support. again. because fdroid
1 parent b466487 commit bbd5eb1

File tree

6 files changed

+2
-56
lines changed

6 files changed

+2
-56
lines changed

.gitignore

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,4 @@ proguard/
3939

4040
import-summary.txt
4141

42-
.DS_Store
43-
44-
# Crashlytics plugin
45-
com_crashlytics_export_strings.xml
46-
crashlytics.properties
47-
crashlytics-build.properties
42+
.DS_Store

app/build.gradle

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
apply plugin: 'com.android.application'
2-
apply plugin: 'io.fabric'
32

43
repositories {
54
mavenCentral()
65
mavenLocal()
7-
maven { url 'https://maven.fabric.io/public' }
86
}
97

108
android {
@@ -31,17 +29,6 @@ android {
3129
exclude 'META-INF/NOTICE'
3230
exclude 'META-INF/NOTICE.txt'
3331
}
34-
35-
buildTypes {
36-
debug {
37-
buildConfigField "boolean", "USE_CRASHLYTICS", "false"
38-
ext.enableCrashlytics = false
39-
}
40-
release {
41-
buildConfigField "boolean", "USE_CRASHLYTICS", "true"
42-
ext.enableCrashlytics = true
43-
}
44-
}
4532
}
4633

4734
dependencies {
@@ -52,20 +39,4 @@ dependencies {
5239
compile 'com.github.junrar:junrar:0.7'
5340
compile 'com.squareup.picasso:picasso:2.5.2'
5441
compile('com.mikepenz:aboutlibraries:5.0.9@aar') { transitive = true }
55-
compile('com.crashlytics.sdk.android:crashlytics:2.5.0@aar') { transitive = true }
56-
}
57-
58-
afterEvaluate {
59-
initCrashlyticsPropertiesIfNeeded()
6042
}
61-
62-
def initCrashlyticsPropertiesIfNeeded() {
63-
def propertiesFile = file('crashlytics.properties')
64-
if (!propertiesFile.exists()) {
65-
def commentMessage = "This is autogenerated crashlytics property from system environment to prevent key to be committed to source control."
66-
ant.propertyfile(file: "crashlytics.properties", comment: commentMessage) {
67-
entry(key: "apiSecret", value: apiSecret)
68-
entry(key: "apiKey", value: apiKey)
69-
}
70-
}
71-
}

app/crashlytics.properties.example

Lines changed: 0 additions & 2 deletions
This file was deleted.

app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
33
package="com.nkanaev.comics">
44
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
5-
<application android:name=".MainApplication"
6-
android:label="@string/app_name"
5+
<application android:label="@string/app_name"
76
android:icon="@drawable/ic_launcher"
87
android:theme="@style/AppTheme"
98
android:largeHeap="true">

app/src/main/java/com/nkanaev/comics/MainApplication.java

Lines changed: 0 additions & 15 deletions
This file was deleted.

build.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@ buildscript {
22
repositories {
33
mavenCentral()
44
mavenLocal()
5-
maven { url 'https://maven.fabric.io/public' }
65
}
76
dependencies {
87
classpath 'com.android.tools.build:gradle:1.2.0'
9-
classpath 'io.fabric.tools:gradle:1.+'
108
}
119
}

0 commit comments

Comments
 (0)