Skip to content

Commit

Permalink
add firebase crashlytics (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
testica committed Aug 23, 2018
1 parent b7dcd8a commit f0e6b98
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions README.md
Expand Up @@ -14,6 +14,7 @@ OCR Android App using tesseract
## Libraries
- [android-image-cropper](https://github.com/ArthurHub/Android-Image-Cropper): for image cropping.
- [tess-two](https://github.com/rmtheis/tess-two): to recognize text (tesseract) and binarize (leptonica).
- [firebase](https://firebase.google.com/docs/android/setup): to report metrics (for development purpose, you can [remove firebase dependencies](https://github.com/testica/text-scanner/pull/5) or add your own google-services.json).

## Support
- Android 4.0 +
Expand Down
5 changes: 5 additions & 0 deletions app/build.gradle
@@ -1,4 +1,5 @@
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'

android {
compileSdkVersion 26
Expand All @@ -25,6 +26,10 @@ dependencies {
implementation 'junit:junit:4.12'
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support:design:26.1.0'
implementation 'com.google.firebase:firebase-core:16.0.1'
implementation 'com.crashlytics.sdk.android:crashlytics:2.9.4'
implementation 'com.rmtheis:tess-two:6.0.4'
implementation 'com.theartofdev.edmodo:android-image-cropper:2.3.1'
}

apply plugin: 'com.google.gms.google-services'
8 changes: 8 additions & 0 deletions build.gradle
Expand Up @@ -4,9 +4,14 @@ buildscript {
repositories {
jcenter()
google()
maven {
url 'https://maven.fabric.io/public'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.4'
classpath 'com.google.gms:google-services:3.2.0'
classpath 'io.fabric.tools:gradle:1.25.2'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand All @@ -17,6 +22,9 @@ allprojects {
repositories {
jcenter()
google()
maven {
url 'https://maven.google.com/'
}
}
}

Expand Down

0 comments on commit f0e6b98

Please sign in to comment.