Add warnings to deprecate UIManager methods when using Fabric + StaticViewConfigs enabled
Summary: This diff reports warning when a method of the LazyUIManager is called when using fabric and StaticViewConfigs enabled changelog: [Android][changed] Deprecate UIManager methods when using the new architecture enabled Reviewed By: fkgozali Differential Revision: D28108804 fbshipit-source-id: 4b430bdefa67914883a595dff97ea6c9ffd93361
This commit is contained in:
Родитель
37750100ac
Коммит
fc52e93db5
|
@ -100,9 +100,6 @@ const UIManagerJS = {
|
|||
return getConstants();
|
||||
},
|
||||
getViewManagerConfig(viewManagerName: string): any {
|
||||
console.warn(
|
||||
'getViewManagerConfig is deprecated, use UIManager.hasViewManagerConfig instead.',
|
||||
);
|
||||
return getViewManagerConfig(viewManagerName);
|
||||
},
|
||||
hasViewManagerConfig(viewManagerName: string): boolean {
|
||||
|
|
Загрузка…
Ссылка в новой задаче