forked from facebook/react-native
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove ReactNative/Flipper Integration (facebook#40935)
Summary: This is scheduled to land in 0.74, so I'm removed the native integration as this is not needed anymore. The only thing I left is a stub class to ease the migration out of `ReactNativeFlipper`. Changelog: [Android] [Removed] - Remove ReactNative/Flipper Integration Reviewed By: huntie, cipolleschi Differential Revision: D50259817
- Loading branch information
1 parent
f00594b
commit 349f53c
Showing
17 changed files
with
36 additions
and
178 deletions.
There are no files selected for viewing
This file contains 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 characters
This file contains 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 characters
This file contains 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 characters
This file contains 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 characters
This file contains 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 characters
2 changes: 0 additions & 2 deletions
2
packages/react-native/ReactAndroid/flipper-integration/.npmignore
This file was deleted.
Oops, something went wrong.
62 changes: 0 additions & 62 deletions
62
packages/react-native/ReactAndroid/flipper-integration/build.gradle.kts
This file was deleted.
Oops, something went wrong.
66 changes: 0 additions & 66 deletions
66
...droid/flipper-integration/src/debug/java/com/facebook/react/flipper/ReactNativeFlipper.kt
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
...oid/flipper-integration/src/release/java/com/facebook/react/flipper/ReactNativeFlipper.kt
This file was deleted.
Oops, something went wrong.
34 changes: 34 additions & 0 deletions
34
.../react-native/ReactAndroid/src/main/java/com/facebook/react/flipper/ReactNativeFlipper.kt
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/* | ||
* 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.facebook.react.flipper | ||
|
||
import android.content.Context | ||
import com.facebook.react.ReactInstanceManager | ||
|
||
/** | ||
* Stub class that does nothing to ease the migration out of Flipper. Users should stop calling | ||
* `ReactNativeFlipper.initializeFlipper` in their `MainApplication.java` as this class will be | ||
* removed in React Native 0.75 or future versions. | ||
*/ | ||
@Deprecated( | ||
message = | ||
"ReactNative/Flipper integration is deprecated. Please remove the call to initializeFlipper from your MainApplication.java", | ||
replaceWith = ReplaceWith(""), | ||
level = DeprecationLevel.WARNING) | ||
object ReactNativeFlipper { | ||
@Suppress("UNUSED_PARAMETER") | ||
@JvmStatic | ||
@Deprecated( | ||
message = | ||
"ReactNative/Flipper integration is deprecated. Please remove the call to initializeFlipper from your MainApplication.java", | ||
replaceWith = ReplaceWith(""), | ||
level = DeprecationLevel.WARNING) | ||
fun initializeFlipper(context: Context, reactInstanceManager: ReactInstanceManager) { | ||
// no-op | ||
} | ||
} |
This file contains 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 characters
This file contains 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 characters
This file contains 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 characters
This file contains 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 characters
This file contains 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 characters
This file contains 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 characters
This file contains 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 characters