mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Update UnsupportedOperationException message in TurboReactPackage (#39564)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/39564 Update UnsupportedOperationException message in TurboReactPackage changelog: [internal] internal Reviewed By: christophpurrer Differential Revision: D49440132 fbshipit-source-id: 09ee013fcad8d18259f35b57564ea9a382907841
This commit is contained in:
committed by
Facebook GitHub Bot
parent
783150f37b
commit
f39952ba78
+1
-1
@@ -32,7 +32,7 @@ public abstract class TurboReactPackage implements ReactPackage {
|
||||
@Override
|
||||
public List<NativeModule> createNativeModules(ReactApplicationContext reactContext) {
|
||||
throw new UnsupportedOperationException(
|
||||
"In case of TurboModules, createNativeModules is not supported. NativeModuleRegistry should instead use getModuleList or getModule method");
|
||||
"createNativeModules method is not supported. Use getModule() method instead.");
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user