Skip to content

Commit

Permalink
Ready for release (2.9)
Browse files Browse the repository at this point in the history
  • Loading branch information
mickstar committed Jan 9, 2021
1 parent 0a184dd commit 5d36d90
Showing 1 changed file with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package com.mickstarify.zooforzotero

import android.app.Application
import com.facebook.flipper.android.AndroidFlipperClient
import com.facebook.flipper.android.utils.FlipperUtils
import com.facebook.flipper.plugins.databases.DatabasesFlipperPlugin
import com.facebook.flipper.plugins.inspector.DescriptorMapping
import com.facebook.flipper.plugins.inspector.InspectorFlipperPlugin
import com.facebook.soloader.SoLoader
//import com.facebook.flipper.android.AndroidFlipperClient
//import com.facebook.flipper.android.utils.FlipperUtils
//import com.facebook.flipper.plugins.databases.DatabasesFlipperPlugin
//import com.facebook.flipper.plugins.inspector.DescriptorMapping
//import com.facebook.flipper.plugins.inspector.InspectorFlipperPlugin
//import com.facebook.soloader.SoLoader
import com.mickstarify.zooforzotero.di.component.ApplicationComponent
import com.mickstarify.zooforzotero.di.component.DaggerApplicationComponent
import com.mickstarify.zooforzotero.di.module.ApplicationModule
Expand All @@ -18,14 +18,14 @@ class ZooForZoteroApplication : Application() {
override fun onCreate() {
super.onCreate()

SoLoader.init(this, false)

if (BuildConfig.DEBUG && FlipperUtils.shouldEnableFlipper(this)) {
val client = AndroidFlipperClient.getInstance(this)
client.addPlugin(InspectorFlipperPlugin(this, DescriptorMapping.withDefaults()))
client.addPlugin(DatabasesFlipperPlugin(this));
client.start()
}
// SoLoader.init(this, false)
//
// if (BuildConfig.DEBUG && FlipperUtils.shouldEnableFlipper(this)) {
// val client = AndroidFlipperClient.getInstance(this)
// client.addPlugin(InspectorFlipperPlugin(this, DescriptorMapping.withDefaults()))
// client.addPlugin(DatabasesFlipperPlugin(this));
// client.start()
// }


component = DaggerApplicationComponent.builder().applicationModule(
Expand Down

0 comments on commit 5d36d90

Please sign in to comment.