summaryrefslogtreecommitdiffstats
path: root/android/app/src/release/java/com
diff options
context:
space:
mode:
Diffstat (limited to 'android/app/src/release/java/com')
-rw-r--r--android/app/src/release/java/com/reactnativeapp/ReactNativeFlipper.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/android/app/src/release/java/com/reactnativeapp/ReactNativeFlipper.java b/android/app/src/release/java/com/reactnativeapp/ReactNativeFlipper.java
new file mode 100644
index 0000000..83716d5
--- /dev/null
+++ b/android/app/src/release/java/com/reactnativeapp/ReactNativeFlipper.java
@@ -0,0 +1,20 @@
+/**
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
+ *
+ * <p>This source code is licensed under the MIT license found in the LICENSE file in the root
+ * directory of this source tree.
+ */
+package com.reactnativeapp;
+
+import android.content.Context;
+import com.facebook.react.ReactInstanceManager;
+
+/**
+ * Class responsible of loading Flipper inside your React Native application. This is the release
+ * flavor of it so it's empty as we don't want to load Flipper.
+ */
+public class ReactNativeFlipper {
+ public static void initializeFlipper(Context context, ReactInstanceManager reactInstanceManager) {
+ // Do nothing as we don't want to initialize Flipper on Release.
+ }
+}