aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-30 20:39:39 -0700
committerAllan Wang <me@allanwang.ca>2017-06-30 20:39:39 -0700
commita5ea70cd8fbc1f4fb15742d810698a7caef0eb26 (patch)
treec2a39ad37e6074ae58dc708e66f6e7dfbbd66e04
parent1811531d6934f4eadfca70b30afa2dac76400bef (diff)
downloadfrost-a5ea70cd8fbc1f4fb15742d810698a7caef0eb26.tar.gz
frost-a5ea70cd8fbc1f4fb15742d810698a7caef0eb26.tar.bz2
frost-a5ea70cd8fbc1f4fb15742d810698a7caef0eb26.zip
Ensure crashlytics sends report
-rw-r--r--.idea/misc.xml2
-rw-r--r--app/build.gradle4
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/MainActivity.kt1
-rw-r--r--gradle.properties2
4 files changed, 4 insertions, 5 deletions
diff --git a/.idea/misc.xml b/.idea/misc.xml
index 085136f8..7319f021 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -53,7 +53,7 @@
<ConfirmationsSetting value="0" id="Add" />
<ConfirmationsSetting value="0" id="Remove" />
</component>
- <component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
+ <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">
diff --git a/app/build.gradle b/app/build.gradle
index f72c9096..041ee3c1 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -120,9 +120,7 @@ dependencies {
kapt "nz.bradcampbell:paperparcel-compiler:${PAPER_PARCEL}"
compile "com.jude:swipebackhelper:${SWIPE_BACK}"
-
- compile 'com.android.billingclient:billing:dp-1'
-
+
compile("com.crashlytics.sdk.android:crashlytics:${CRASHLYTICS}@aar") {
transitive = true;
}
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/MainActivity.kt b/app/src/main/kotlin/com/pitchedapps/frost/MainActivity.kt
index 9094c58e..5744f987 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/MainActivity.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/MainActivity.kt
@@ -372,6 +372,7 @@ class MainActivity : BaseActivity(), FrostWebViewSearch.SearchContract {
REQUEST_NAV -> frostNavigationBar()
REQUEST_SEARCH -> invalidateOptionsMenu()
REQUEST_RESTART_APPLICATION -> { //completely restart application
+ L.eThrow("Restart Application Requested")
val intent = packageManager.getLaunchIntentForPackage(packageName)
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK or Intent.FLAG_ACTIVITY_NEW_TASK)
val pending = PendingIntent.getActivity(this, 666, intent, PendingIntent.FLAG_CANCEL_CURRENT)
diff --git a/gradle.properties b/gradle.properties
index 548ad31b..c5228dba 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -16,7 +16,7 @@ APP_GROUP=com.pitchedapps
MIN_SDK=21
TARGET_SDK=26
BUILD_TOOLS=26.0.0
-VERSION_CODE=9
+VERSION_CODE=10
VERSION_NAME=1.0
KAU=e1e3b37000