Created
January 23, 2024 06:45
-
-
Save Kudo/ec6db0f0a896ab4ac9c8dbfb11cd68aa to your computer and use it in GitHub Desktop.
Revisions
-
Kudo created this gist
Jan 23, 2024 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,35 @@ diff --git a/android/app/build.gradle b/android/app/build.gradle index 8526646..fcb7627 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -158,8 +158,6 @@ dependencies { } } - implementation("com.facebook.react:flipper-integration") - if (hermesEnabled.toBoolean()) { implementation("com.facebook.react:hermes-android") } else { diff --git a/android/app/src/main/java/dev/expo/kudo/sdk50/MainApplication.kt b/android/app/src/main/java/dev/expo/kudo/sdk50/MainApplication.kt index e9a2f7a..080448f 100644 --- a/android/app/src/main/java/dev/expo/kudo/sdk50/MainApplication.kt +++ b/android/app/src/main/java/dev/expo/kudo/sdk50/MainApplication.kt @@ -13,7 +13,6 @@ import com.facebook.react.config.ReactFeatureFlags import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.load import com.facebook.react.defaults.DefaultReactHost.getDefaultReactHost import com.facebook.react.defaults.DefaultReactNativeHost -import com.facebook.react.flipper.ReactNativeFlipper import com.facebook.soloader.SoLoader import expo.modules.ApplicationLifecycleDispatcher @@ -52,9 +51,6 @@ class MainApplication : Application(), ReactApplication { // If you opted-in for the New Architecture, we load the native entry point for this app. load() } - if (BuildConfig.DEBUG) { - ReactNativeFlipper.initializeFlipper(this, reactNativeHost.reactInstanceManager) - } ApplicationLifecycleDispatcher.onApplicationCreate(this) }