Skip to content

Commit

Permalink
flipper 제거 (#221)
Browse files Browse the repository at this point in the history
  • Loading branch information
JuTaK97 authored Sep 13, 2023
1 parent 97ffd6c commit dca468f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
4 changes: 0 additions & 4 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,4 @@ dependencies {
implementation("com.facebook.react:react-android:0.72.3")
implementation("com.facebook.react:hermes-android:0.72.3")
implementation(fileTree(mapOf("dir" to "$rootDir/libs", "include" to listOf("*.aar"))))

// flipper
implementation("com.facebook.flipper:flipper:0.213.0")
implementation("com.facebook.soloader:soloader:0.10.5")
}
12 changes: 0 additions & 12 deletions app/src/main/java/com/wafflestudio/snutt2/SNUTTApplication.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,12 @@ package com.wafflestudio.snutt2
import android.app.Application
import android.content.res.Configuration
import androidx.compose.animation.ExperimentalAnimationApi
import com.facebook.flipper.android.AndroidFlipperClient
import com.facebook.flipper.android.utils.FlipperUtils
import com.facebook.flipper.plugins.inspector.DescriptorMapping
import com.facebook.flipper.plugins.inspector.InspectorFlipperPlugin
import com.facebook.hermes.reactexecutor.HermesExecutorFactory
import com.facebook.react.ReactApplication
import com.facebook.react.ReactNativeHost
import com.facebook.react.ReactPackage
import com.facebook.react.bridge.JavaScriptExecutorFactory
import com.facebook.react.shell.MainReactPackage
import com.facebook.soloader.SoLoader
import com.horcrux.svg.SvgPackage
import com.reactnativecommunity.picker.RNCPickerPackage
import com.swmansion.gesturehandler.RNGestureHandlerPackage
Expand All @@ -33,13 +28,6 @@ class SNUTTApplication : Application(), ReactApplication {
override fun onCreate() {
super.onCreate()
Timber.plant(Timber.DebugTree())
SoLoader.init(this, false)

if (BuildConfig.DEBUG && FlipperUtils.shouldEnableFlipper(this)) {
val client = AndroidFlipperClient.getInstance(this)
client.addPlugin(InspectorFlipperPlugin(this, DescriptorMapping.withDefaults()))
client.start()
}
}

@OptIn(ExperimentalAnimationApi::class)
Expand Down

0 comments on commit dca468f

Please sign in to comment.