diff options
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/AndroidManifest.xml | 4 | ||||
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/StartActivity.kt | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index c09c1209..ae058ff2 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -93,6 +93,7 @@ <activity android:name=".LoginActivity" android:theme="@style/AppTheme.NoActionBar" /> + <receiver android:name=".services.NotificationReceiver" android:enabled="true" @@ -103,6 +104,9 @@ <action android:name="com.pitchedapps.frost.NOTIFICATIONS" /> </intent-filter> </receiver> + <meta-data + android:name="io.fabric.ApiKey" + android:value="${fabricApiKey}" /> </application> </manifest>
\ No newline at end of file diff --git a/app/src/main/kotlin/com/pitchedapps/frost/StartActivity.kt b/app/src/main/kotlin/com/pitchedapps/frost/StartActivity.kt index 936c237a..2f81d387 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/StartActivity.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/StartActivity.kt @@ -2,9 +2,11 @@ package com.pitchedapps.frost import android.os.Bundle import android.support.v7.app.AppCompatActivity +import com.crashlytics.android.Crashlytics import com.pitchedapps.frost.dbflow.loadFbCookiesAsync import com.pitchedapps.frost.utils.L import com.pitchedapps.frost.utils.launchNewTask +import io.fabric.sdk.android.Fabric /** * Created by Allan Wang on 2017-05-28. @@ -13,7 +15,7 @@ class StartActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) - + Fabric.with(this, Crashlytics()) L.d("Load cookies ${System.currentTimeMillis()}") loadFbCookiesAsync { cookies -> |