From 6ff7c459e3d08ebdf6da6973ebe0410b5cab9c0a Mon Sep 17 00:00:00 2001 From: Alberto-Duarte Date: Thu, 11 May 2023 11:40:35 +0100 Subject: first commit --- .../java/com/reactnativeapp/ReactNativeFlipper.java | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 android/app/src/release/java/com/reactnativeapp/ReactNativeFlipper.java (limited to 'android/app/src/release/java/com/reactnativeapp/ReactNativeFlipper.java') 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. + * + *

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. + } +} -- cgit v1.2.3-54-g00ecf