Skip to content

Commit

Permalink
Mark ReactPackage.getModule as UnstableReactNativeAPI (facebook#39337)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: facebook#39337

Mark ReactPackage.getModule as UnstableReactNativeAPI

changelog: [internal] internal

Reviewed By: arushikesarwani94

Differential Revision: D49068233

fbshipit-source-id: e28db8b8a1d615ae3ce9783f8c9c43bdf0eff7ba
  • Loading branch information
mdvacca committed Sep 8, 2023
1 parent 0ca19e3 commit 392265c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import com.facebook.react.bridge.NativeModule;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.common.annotations.DeprecatedInNewArchitecture;
import com.facebook.react.common.annotations.UnstableReactNativeAPI;
import com.facebook.react.uimanager.UIManagerModule;
import com.facebook.react.uimanager.ViewManager;
import java.util.List;
Expand Down Expand Up @@ -56,6 +57,7 @@ public interface ReactPackage {
* @param reactContext {@link ReactApplicationContext} context for this
*/
@Nullable
@UnstableReactNativeAPI
default NativeModule getModule(
@NonNull String name, @NonNull ReactApplicationContext reactContext) {
return null;
Expand Down

0 comments on commit 392265c

Please sign in to comment.