You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8d5ce24
Browse filesBrowse the repository at this point in the historyBrowse files
Summary:
The legacy bridge can no longer be initialized, and the native bridge+Fabric surface path was removed by the parent diff. Remove the corresponding View-based lifecycle APIs from `UIManager`, `FabricUIManager`, and `UIManagerModule`, along with their throwing implementations and unreachable `ReactInstanceManager` call paths. The supported `SurfaceHandlerBinding` lifecycle remains unchanged.
Changelog:
[Android][Breaking] - Remove legacy View-based surface lifecycle methods from `UIManager`, `FabricUIManager`, and `UIManagerModule`.
Reviewed By: christophpurrer
Differential Revision: D124983537
Copy file name to clipboardExpand all lines: packages/react-native/ReactAndroid/api/ReactAndroid.api
-10Lines changed: 0 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -1364,7 +1364,6 @@ public final class com/facebook/react/bridge/ScrollEndedListeners {
1364
1364
}
1365
1365
1366
1366
public abstract interface class com/facebook/react/bridge/UIManager : com/facebook/react/bridge/PerformanceCounter {
1367
-
public abstract fun addRootView (Landroid/view/View;Lcom/facebook/react/bridge/WritableMap;)I
1368
1367
public abstract fun addUIManagerEventListener (Lcom/facebook/react/bridge/UIManagerListener;)V
1369
1368
public abstract fun dispatchCommand (IILcom/facebook/react/bridge/ReadableArray;)V
1370
1369
public abstract fun dispatchCommand (ILjava/lang/String;Lcom/facebook/react/bridge/ReadableArray;)V
@@ -1378,8 +1377,6 @@ public abstract interface class com/facebook/react/bridge/UIManager : com/facebo
1378
1377
public abstract fun resolveCustomDirectEventName (Ljava/lang/String;)Ljava/lang/String;
1379
1378
public abstract fun resolveView (I)Landroid/view/View;
1380
1379
public abstract fun sendAccessibilityEvent (II)V
1381
-
public abstract fun startSurface (Landroid/view/View;Ljava/lang/String;Lcom/facebook/react/bridge/WritableMap;II)I
1382
-
public abstract fun stopSurface (I)V
1383
1380
public abstract fun sweepActiveTouchForTag (II)V
1384
1381
public abstract fun synchronouslyUpdateViewOnUIThread (ILcom/facebook/react/bridge/ReadableMap;)V
1385
1382
public abstract fun updateRootLayoutSpecs (IIIII)V
@@ -2248,7 +2245,6 @@ public class com/facebook/react/fabric/FabricUIManager : com/facebook/react/brid
2248
2245
public static final field TAG Ljava/lang/String;
2249
2246
public field mDevToolsReactPerfLogger Lcom/facebook/react/fabric/DevToolsReactPerfLogger;
2250
2247
public fun <init> (Lcom/facebook/react/bridge/ReactApplicationContext;Lcom/facebook/react/uimanager/ViewManagerRegistry;Lcom/facebook/react/uimanager/events/BatchEventDispatchedListener;)V
2251
-
public fun addRootView (Landroid/view/View;Lcom/facebook/react/bridge/WritableMap;)I
2252
2248
public fun addUIBlock (Lcom/facebook/react/fabric/interop/UIBlock;)V
2253
2249
public fun addUIManagerEventListener (Lcom/facebook/react/bridge/UIManagerListener;)V
2254
2250
public fun attachRootView (Lcom/facebook/react/fabric/SurfaceHandlerBinding;Landroid/view/View;)V
@@ -2286,9 +2282,7 @@ public class com/facebook/react/fabric/FabricUIManager : com/facebook/react/brid
2286
2282
public fun sendAccessibilityEvent (II)V
2287
2283
public fun sendAccessibilityEventFromJS (IILjava/lang/String;)V
2288
2284
public fun setJSResponder (IIIZ)V
2289
-
public fun startSurface (Landroid/view/View;Ljava/lang/String;Lcom/facebook/react/bridge/WritableMap;II)I
2290
2285
public fun startSurface (Lcom/facebook/react/fabric/SurfaceHandlerBinding;Landroid/content/Context;Landroid/view/View;)V
2291
-
public fun stopSurface (I)V
2292
2286
public fun stopSurface (Lcom/facebook/react/fabric/SurfaceHandlerBinding;)V
2293
2287
public fun sweepActiveTouchForTag (II)V
2294
2288
public fun synchronouslyUpdateViewOnUIThread (ILcom/facebook/react/bridge/ReadableMap;)V
@@ -4241,8 +4235,6 @@ public class com/facebook/react/uimanager/UIManagerModule : com/facebook/react/b
4241
4235
public static final field TAG Ljava/lang/String;
4242
4236
public fun <init> (Lcom/facebook/react/bridge/ReactApplicationContext;Lcom/facebook/react/uimanager/ViewManagerResolver;I)V
4243
4237
public fun <init> (Lcom/facebook/react/bridge/ReactApplicationContext;Ljava/util/List;I)V
4244
-
public fun addRootView (Landroid/view/View;)I
4245
-
public fun addRootView (Landroid/view/View;Lcom/facebook/react/bridge/WritableMap;)I
4246
4238
public fun addUIBlock (Lcom/facebook/react/uimanager/UIBlock;)V
4247
4239
public fun addUIManagerEventListener (Lcom/facebook/react/bridge/UIManagerListener;)V
4248
4240
public fun clearJSResponder ()V
@@ -4287,8 +4279,6 @@ public class com/facebook/react/uimanager/UIManagerModule : com/facebook/react/b
4287
4279
public fun setJSResponder (IZ)V
4288
4280
public fun setLayoutAnimationEnabledExperimental (Z)V
4289
4281
public fun setViewLocalData (ILjava/lang/Object;)V
4290
-
public fun startSurface (Landroid/view/View;Ljava/lang/String;Lcom/facebook/react/bridge/WritableMap;II)I
4291
-
public fun stopSurface (I)V
4292
4282
public fun sweepActiveTouchForTag (II)V
4293
4283
public fun synchronouslyUpdateViewOnUIThread (ILcom/facebook/react/bridge/ReadableMap;)V
0 commit comments