Skip to content

Commit

Permalink
Adding UIManagerProvider interface (facebook#39432)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: facebook#39432

For the removal of JSI Module adding the `UIManagerProvider` interface as this will replace the `JSIModuleProvider`

Adding the `Deprecated` annotation since this would be deprecated later as part of Stable APIs with bridge removal and not encouraged usage.

Changelog:
[Internal] internal

Reviewed By: cortinico

Differential Revision: D49257901

fbshipit-source-id: 176ae03368309b56f7a7608419f1776baf4b512a
  • Loading branch information
arushikesarwani94 authored and facebook-github-bot committed Sep 15, 2023
1 parent 1ac7e92 commit 8d2af49
Showing 1 changed file with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/*
* 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.bridge;

/**
* @deprecated since this would be deprecated later as part of Stable APIs with bridge removal and
* not encouraged usage.
*/
@Deprecated
public interface UIManagerProvider {

UIManager createUIManager(ReactApplicationContext context);
}

0 comments on commit 8d2af49

Please sign in to comment.