Skip to content

Commit

Permalink
Emergency update - fix FirebaseApp
Browse files Browse the repository at this point in the history
  • Loading branch information
Javinator9889 committed Apr 30, 2020
1 parent 0b8ae76 commit ddae6d5
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -23,6 +23,7 @@ import android.content.SharedPreferences
import androidx.multidex.MultiDex
import androidx.preference.PreferenceManager
import com.google.android.play.core.splitcompat.SplitCompat
import com.google.firebase.FirebaseApp
import com.google.firebase.crashlytics.FirebaseCrashlytics
import com.javinator9889.handwashingreminder.gms.activity.ActivityHandler
import com.javinator9889.handwashingreminder.gms.ads.AdLoader
Expand Down Expand Up @@ -70,6 +71,7 @@ class HandwashingApplication : BaseApplication() {
private fun initFirebaseAppAsync(): Deferred<Unit> {
return GlobalScope.async {
withContext(Dispatchers.IO) {
FirebaseApp.initializeApp(this@HandwashingApplication)
if (isDebuggable()) {
Timber.plant(Timber.DebugTree())
Timber.d("Application is in DEBUG mode")
Expand Down

0 comments on commit ddae6d5

Please sign in to comment.