Skip to content

Commit 98dacf3

Browse files
committed
add prod ReactNativeFlipper
1 parent c18c512 commit 98dacf3

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/**
2+
* Copyright (c) Meta Platforms, Inc. and affiliates.
3+
*
4+
* <p>This source code is licensed under the MIT license found in the LICENSE file in the root
5+
* directory of this source tree.
6+
*/
7+
package com.allaboutolaf;
8+
9+
import android.content.Context;
10+
import com.facebook.react.ReactInstanceManager;
11+
12+
/**
13+
* Class responsible of loading Flipper inside your React Native application. This is the release
14+
* flavor of it so it's empty as we don't want to load Flipper.
15+
*/
16+
public class ReactNativeFlipper {
17+
public static void initializeFlipper(Context context, ReactInstanceManager reactInstanceManager) {
18+
// Do nothing as we don't want to initialize Flipper on Release.
19+
}
20+
}

0 commit comments

Comments
 (0)