Skip to content

Commit

Permalink
removed fabric crash reporting library. its useless for library sourc…
Browse files Browse the repository at this point in the history
…e code. also modified the min sdk support. Allowed devices with API level 15 and above.
  • Loading branch information
vansikrishna authored and bhaskarxinthe committed Apr 3, 2017
1 parent abda1ff commit 1ecf0e4
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 35 deletions.
11 changes: 3 additions & 8 deletions example/build.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'

android {
compileSdkVersion 24
buildToolsVersion "25.0.0"

defaultConfig {
applicationId "com.vlk.multimager.example"
minSdkVersion 17
minSdkVersion 15
targetSdkVersion 24
versionCode 2
versionName "1.0.1"
versionCode 3
versionName "1.0.2"

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

Expand All @@ -27,7 +26,6 @@ allprojects {
repositories {
maven { url "https://jitpack.io" }
mavenCentral()
maven { url 'https://maven.fabric.io/public' }
}
}

Expand All @@ -40,9 +38,6 @@ dependencies {
compile('com.github.QuadFlask:colorpicker:0.0.10@aar') {
transitive = true;
}
compile('com.crashlytics.sdk.android:crashlytics:2.6.6@aar') {
transitive = true;
}
testCompile 'junit:junit:4.12'
compile project(path: ':lib')
}
3 changes: 0 additions & 3 deletions example/fabric.properties

This file was deleted.

3 changes: 0 additions & 3 deletions example/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<meta-data
android:name="io.fabric.ApiKey"
android:value="d4f9088ec85f115eeba7c8499e34061bd168f69f" />
</application>

</manifest>
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import android.widget.TextView;
import android.widget.Toast;

import com.crashlytics.android.Crashlytics;
import com.flask.colorpicker.ColorPickerView;
import com.flask.colorpicker.OnColorSelectedListener;
import com.flask.colorpicker.builder.ColorPickerClickListener;
Expand All @@ -39,7 +38,6 @@
import butterknife.Bind;
import butterknife.ButterKnife;
import butterknife.OnClick;
import io.fabric.sdk.android.Fabric;

/**
* Created by vansikrishna on 08/06/2016.
Expand Down Expand Up @@ -72,7 +70,6 @@ public class SampleActivity extends BaseActivity {
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_sample);
Fabric.with(this, new Crashlytics());
ButterKnife.bind(this);
selectedColor = fetchAccentColor();
darkenedColor = Utils.getDarkColor(selectedColor);
Expand Down
11 changes: 3 additions & 8 deletions lib/build.gradle
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
apply plugin: 'com.android.library'
apply plugin: 'io.fabric'

android {
compileSdkVersion 23
buildToolsVersion "23.0.3"

defaultConfig {
minSdkVersion 17
minSdkVersion 15
targetSdkVersion 23
versionCode 5
versionName "1.0.4"
versionCode 6
versionName "1.0.5"
}
buildTypes {
release {
Expand All @@ -21,7 +20,6 @@ android {

repositories {
mavenCentral()
maven { url 'https://maven.fabric.io/public' }
}

dependencies {
Expand All @@ -31,7 +29,4 @@ dependencies {
compile 'com.android.support:support-v13:23.4.0'
compile 'com.android.support:design:23.4.0'
compile 'com.android.support:support-annotations:24.2.1'
compile('com.crashlytics.sdk.android:crashlytics:2.6.6@aar') {
transitive = true;
}
}
3 changes: 0 additions & 3 deletions lib/fabric.properties

This file was deleted.

3 changes: 0 additions & 3 deletions lib/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@
android:theme="@style/MultimagerTheme.NoActionBar"
android:screenOrientation="portrait">
</activity>
<meta-data
android:name="io.fabric.ApiKey"
android:value="d4f9088ec85f115eeba7c8499e34061bd168f69f" />
</application>

</manifest>
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,11 @@
import android.support.v4.content.ContextCompat;
import android.support.v7.app.AppCompatActivity;

import com.crashlytics.android.Crashlytics;
import com.vlk.multimager.views.CustomProgressDialog;

import java.util.ArrayList;
import java.util.List;

import io.fabric.sdk.android.Fabric;

/**
* Created by vansikrishna on 08/06/2016.
*/
Expand All @@ -30,7 +27,6 @@ public class BaseActivity extends AppCompatActivity{
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Fabric.with(this, new Crashlytics());
}

public void showProgressDialog(String message){
Expand Down

0 comments on commit 1ecf0e4

Please sign in to comment.