PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/react-native/ReactAndroid/src/main/jni/react/fabric
Просмотр файла: ComponentFactory.cpp
/*
* 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.
*/
#include "ComponentFactory.h"
#include <android/log.h>
#include <fbjni/fbjni.h>
#include <jsi/jsi.h>
#include <react/renderer/componentregistry/ComponentDescriptorRegistry.h>
using namespace facebook::jsi;
namespace facebook::react {
jni::local_ref<ComponentFactory::jhybriddata> ComponentFactory::initHybrid(
jni::alias_ref<jclass>) {
return makeCxxInstance();
}
void ComponentFactory::registerNatives() {
registerHybrid({
makeNativeMethod("initHybrid", ComponentFactory::initHybrid),
});
}
} // namespace facebook::react
Выполнить команду
Для локальной разработки. Не используйте в интернете!