text
stringlengths
1
24.5M
/* * 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 <react/renderer/uimanager/UIManager.h> #include "FabricUIManagerBinding.h" namespace facebook::react { enum class Focu...
/* * 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 "JFabricUIManager.h" #include "FabricUIManagerBinding.h" namespace facebook::react { FabricUIManagerBinding* JFabricU...
/* * 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. */ #pragma once #include <fbjni/fbjni.h> namespace facebook::react { class FabricUIManagerBinding; class JFabricUIManager : publ...
/* * 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 "MountItem.h" namespace facebook::react { CppMountItem CppMountItem::CreateMountItem(const ShadowView& shadowView) { ...
/* * 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. */ #pragma once #include <fbjni/fbjni.h> #include <react/renderer/mounting/ShadowView.h> namespace facebook::react { struct JMoun...
/* * 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 <fbjni/fbjni.h> #include "ComponentFactory.h" #include "EventBeatManager.h" #include "EventEmitterWrapper.h" #include "...
/* * 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 "StateWrapperImpl.h" #include <fbjni/fbjni.h> #include <react/featureflags/ReactNativeFeatureFlags.h> #include <react/jn...
/* * 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. */ #pragma once #include <fbjni/fbjni.h> #include <react/common/mapbuffer/JReadableMapBuffer.h> #include <react/jni/ReadableNativeM...
/* * 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 "SurfaceHandlerBinding.h" #include <react/renderer/scheduler/Scheduler.h> namespace facebook::react { SurfaceHandlerBi...
/* * 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. */ #pragma once #include <shared_mutex> #include <fbjni/fbjni.h> #include <react/jni/ReadableNativeMap.h> #include <react/renderer...
/* * 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. * * @generated SignedSource<<d30f5ffcbec1c5175623573fdbd0be87>> */ /** * IMPORTANT: Do NOT modify this file directly. * * To ch...
/* * 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. * * @generated SignedSource<<4fac1a3773ded6bb80528aab5662ca96>> */ /** * IMPORTANT: Do NOT modify this file directly. * * To ch...
/* * 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 <fbjni/fbjni.h> #include "JReactNativeFeatureFlagsCxxInterop.h" JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM* vm, void* /*...
/* * 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 <fbjni/fbjni.h> #include <string> namespace facebook { namespace jsi { namespace jni { namespace jni = ::facebook::jni...
/* * 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 "HermesSamplingProfiler.h" #include <hermes/hermes.h> namespace facebook::jsi::jni { void HermesSamplingProfiler::ena...
/* * 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. */ #ifndef HERMESSAMPLINGPROFILER_H_ #define HERMESSAMPLINGPROFILER_H_ #include <fbjni/fbjni.h> #include <jsi/jsi.h> namespace fac...
/* * 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 "HermesSamplingProfiler.h" JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM* vm, void* /*unused*/) { return facebook::jni::in...
/* * 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 <HermesExecutorFactory.h> #include <android/log.h> #include <fbjni/fbjni.h> #include <glog/logging.h> #include <hermes/P...
/* * 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 "CatalystInstanceImpl.h" #include "ReactInstanceManagerInspectorTarget.h" #include <fstream> #include <memory> #include...
/* * 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 <memory> #include <string> #include <ReactCommon/CallInvokerHolder.h> #include <ReactCommon/NativeMethodCallInvokerHold...
/* * 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. */ #pragma once #include <fbjni/fbjni.h> namespace facebook::react { struct JNativeModule : jni::JavaClass<JNativeModule> { con...
/* * 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 "InspectorNetworkRequestListener.h" #include "SafeReleaseJniRef.h" #include <utility> using namespace facebook::jni; u...
/* * 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. */ #pragma once #include <fbjni/fbjni.h> #include <jsinspector-modern/HostTarget.h> #include <jsinspector-modern/NetworkIOAgent.h> ...
/* * 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 "JavaModuleWrapper.h" #include <glog/logging.h> #include <cxxreact/CxxNativeModule.h> #include <cxxreact/Instance.h> #...
/* * 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. */ #pragma once #include <cxxreact/NativeModule.h> #include <fbjni/fbjni.h> #include <optional> #include "MethodInvoker.h" #ifnde...
/* * 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 <memory> #include <cxxreact/JSExecutor.h> #include <fbjni/fbjni.h> #ifndef RCT_REMOVE_LEGACY_ARCH namespace facebook:...
/* * 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. */ #pragma once #include <memory> #include <fbjni/fbjni.h> #include <folly/dynamic.h> #include "NativeArray.h" namespace faceboo...
/* * 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 "JDynamicNative.h" #include "ReadableNativeArray.h" #include "ReadableNativeMap.h" using namespace facebook::jni; name...
/* * 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. */ #pragma once #include "NativeCommon.h" #include "ReadableNativeArray.h" #include "ReadableNativeMap.h" #include <fbjni/fbjni.h>...
/* * 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 "JExecutor.h" namespace facebook::react { void JExecutor::execute(jni::alias_ref<jni::JRunnable::javaobject> runnable)...
/* * 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. */ #pragma once #include <fbjni/NativeRunnable.h> #include <fbjni/fbjni.h> namespace facebook::react { struct JExecutor : public ...
/* * 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 "JMessageQueueThread.h" #include <condition_variable> #include <mutex> #include <fbjni/NativeRunnable.h> #include <fbj...
/* * 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. */ #pragma once #include <functional> #include <cxxreact/MessageQueueThread.h> #include <fbjni/fbjni.h> namespace facebook::react...
/* * 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 "JniJSModulesUnbundle.h" #include <react/debug/react_native_assert.h> #include <libgen.h> #include <sys/endian.h> #inc...
/* * 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. */ #pragma once #include <memory> #include <android/asset_manager.h> #include <cxxreact/JSModulesUnbundle.h> #ifndef RCT_REMOVE_L...
/* * 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 "JReactCxxErrorHandler.h" #include <utility> using namespace facebook::react; void JReactCxxErrorHandler::handleError...
/* * 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. */ #pragma once #include <fbjni/fbjni.h> #include <string> namespace facebook::react { class JReactCxxErrorHandler : public jni::...
/* * 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 "JReactMarker.h" #include <cxxreact/ReactMarker.h> #include <fbjni/fbjni.h> #include <glog/logging.h> #include <mutex> ...
/* * 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. */ #pragma once #include <fbjni/fbjni.h> #include <string> #include <cxxreact/ReactMarker.h> namespace facebook::react { class J...
/* * 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 "JReactSoftExceptionLogger.h" #include <utility> using namespace facebook::react; void JReactSoftExceptionLogger::log...
/* * 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. */ #pragma once #include <fbjni/fbjni.h> #include <string> namespace facebook::react { class JReactSoftExceptionLogger : public j...
/* * 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 "JRuntimeExecutor.h" #include <utility> namespace facebook::react { JRuntimeExecutor::JRuntimeExecutor(RuntimeExecuto...
/* * 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. */ #pragma once #include <ReactCommon/RuntimeExecutor.h> #include <fbjni/fbjni.h> namespace facebook::react { class JRuntimeExecu...
/* * 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 "JRuntimeScheduler.h" #include <utility> namespace facebook::react { JRuntimeScheduler::JRuntimeScheduler( std::w...
/* * 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. */ #pragma once #include <fbjni/fbjni.h> #include <react/renderer/runtimescheduler/RuntimeScheduler.h> namespace facebook::react {...
/* * 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 "JSLoader.h" #include <android/asset_manager_jni.h> #include <cxxreact/JSBigString.h> #include <cxxreact/JSBundleType.h...
/* * 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. */ #pragma once #include <string> #include <android/asset_manager.h> #include <fbjni/fbjni.h> namespace facebook::react { class ...
/* * 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 "JSLogging.h" #include <android/log.h> namespace facebook::react { void reactAndroidLoggingHook( const std::strin...
/* * 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. */ #pragma once #include <string> namespace facebook::react { void reactAndroidLoggingHook(const std::string &message, unsigned i...
/* * 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. */ #pragma once #include <fbjni/fbjni.h> namespace facebook::react { /** * Helper for constructing a JWeakReference. \see JWeakR...
/* * 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 "MethodInvoker.h" #include <glog/logging.h> #include <cxxreact/CxxNativeModule.h> #include <cxxreact/SystraceSection.h...
/* * 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. */ #pragma once #include <vector> #include <cxxreact/JSExecutor.h> #include <fbjni/fbjni.h> #include <folly/dynamic.h> #ifndef RC...
/* * 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 "ModuleRegistryBuilder.h" #include <glog/logging.h> #include <memory> #include <string> #include <cxxreact/CxxNativeMo...
/* * 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 <string> #include <cxxreact/CxxModule.h> #include <cxxreact/ModuleRegistry.h> #include <fbjni/fbjni.h> #include "CxxMo...
/* * 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 "NativeArray.h" #include <folly/json.h> using namespace facebook::jni; namespace facebook::react { void NativeArray:...
/* * 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. */ #pragma once #include <fbjni/fbjni.h> #include <folly/dynamic.h> #include "NativeCommon.h" namespace facebook::react { class ...
/* * 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 "NativeCommon.h" using namespace facebook::jni; namespace facebook::react { namespace exceptions { const char* gUnexp...
/* * 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. */ #pragma once #include <fbjni/fbjni.h> #include <folly/dynamic.h> #ifndef RN_EXPORT #define RN_EXPORT __attribute__((visibility(...
/* * 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 "NativeMap.h" #include <folly/json.h> using namespace facebook::jni; namespace facebook::react { local_ref<jstring> ...
/* * 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. */ #pragma once #include <fbjni/fbjni.h> #include <folly/dynamic.h> #include "NativeCommon.h" namespace facebook::react { class ...
/* * 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 <fbjni/fbjni.h> #include "JCallback.h" #include "JDynamicNative.h" #include "JReactMarker.h" #include "NativeArray.h" #i...
/* * 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 <glog/logging.h> #include <fb/glog_init.h> #include <fbjni/fbjni.h> #include "CatalystInstanceImpl.h" #include "Inspec...
/* * 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 "ReactInstanceManagerInspectorTarget.h" #include "SafeReleaseJniRef.h" #include <fbjni/NativeRunnable.h> #include <jsin...
/* * 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. */ #pragma once #include <fbjni/fbjni.h> #include <jsinspector-modern/HostTarget.h> #include <jsinspector-modern/NetworkIOAgent.h> ...
/* * 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 "ReadableNativeArray.h" #include "ReadableNativeMap.h" using namespace facebook::jni; namespace facebook::react { vo...
/* * 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. */ #pragma once #include "NativeArray.h" #include "NativeCommon.h" #include "NativeMap.h" namespace facebook::react { struct Rea...
/* * 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 "ReadableNativeMap.h" using namespace facebook::jni; namespace facebook::react { void ReadableNativeMap::mapException...
/* * 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. */ #pragma once #include <fbjni/fbjni.h> #include <folly/dynamic.h> #include <folly/json.h> #include <optional> #include "NativeCo...
/* * 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 <react/jni/SafeReleaseJniRef.h> namespace facebook::react { void ensureThreadDurationJNIEnvAttached() { // Attaching...
/* * 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 <fbjni/fbjni.h> #include <type_traits> #include <utility> namespace facebook::react { /** * Ensures that the current...
/* * 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 "TransformHelper.h" #include <react/renderer/components/view/BaseViewProps.h> #include <react/renderer/components/view/...
/* * 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. */ #pragma once #include <fbjni/fbjni.h> namespace facebook::react { class TransformHelper : public jni::JavaClass<TransformHelpe...
/* * 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 "WritableNativeArray.h" #include "ReadableNativeMap.h" using namespace facebook::jni; namespace facebook::react { Wr...
/* * 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. */ #pragma once #include <fbjni/fbjni.h> #include <folly/dynamic.h> #include <folly/json.h> #include "ReadableNativeArray.h" name...
/* * 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 "WritableNativeMap.h" using namespace facebook::jni; namespace facebook::react { WritableNativeMap::WritableNativeMap...
/* * 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. */ #pragma once #include <fbjni/fbjni.h> #include <folly/dynamic.h> #include <folly/json.h> #include "ReadableNativeArray.h" #incl...
/* * 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 "JReadableMapBuffer.h" namespace facebook::react { jni::local_ref<jni::JByteBuffer> JReadableMapBuffer::importByteBuff...
/* * 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. */ #pragma once #include <fbjni/fbjni.h> #include <react/debug/react_native_assert.h> #include <react/renderer/mapbuffer/MapBuffer....
/* * 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 "JWritableMapBuffer.h" #include <react/renderer/mapbuffer/MapBufferBuilder.h> namespace facebook::react { MapBuffer JW...
/* * 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. */ #pragma once #include <fbjni/fbjni.h> #include <react/common/mapbuffer/JReadableMapBuffer.h> namespace facebook::react { class...
/* * 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 "DefaultComponentsRegistry.h" #include <CoreComponentsRegistry.h> #include <fbjni/fbjni.h> #include <react/debug/react_...
/* * 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. */ #pragma once #include <fbjni/fbjni.h> #include <react/fabric/ComponentFactory.h> #include <react/renderer/componentregistry/Comp...
/* * 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 "DefaultTurboModuleManagerDelegate.h" #include <algorithm> #include <react/nativemodule/defaults/DefaultTurboModules.h...
/* * 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 <memory> #include <string> #include <vector> #include <ReactCommon/CxxReactPackage.h> #include <ReactCommon/JavaTurboMo...
/* * 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 <fbjni/fbjni.h> #include "DefaultComponentsRegistry.h" #include "DefaultTurboModuleManagerDelegate.h" JNIEXPORT jint J...
/* * 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 <FBReactNativeSpec.h> #warning \ "[DEPRECATION] `rncore.h` is deprecated and will be removed in the future. \ I...
/* * 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 "BlobCollector.h" #include <fbjni/fbjni.h> #include <memory> #include <utility> using namespace facebook; namespace f...
/* * 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. */ #pragma once #include <fbjni/fbjni.h> #include <jsi/jsi.h> namespace facebook::react { class BlobCollector : public jni::Hybri...
/* * 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 <fbjni/fbjni.h> #include "BlobCollector.h" JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM* vm, void* /*unused*/) { return ...
/* * 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. */ #pragma once #include <fbjni/fbjni.h> #include <reactperflogger/NativeModulePerfLogger.h> #include <memory> namespace facebook:...
/* * 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. */ #pragma once #include <fbjni/fbjni.h> #include <memory> namespace facebook::react { class TurboModule; class CallInvoker; cla...
/* * 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 "JHermesInstance.h" #include <fbjni/fbjni.h> namespace facebook::react { jni::local_ref<JHermesInstance::jhybriddata>...
/* * 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. */ #pragma once #include <memory> #include <cxxreact/MessageQueueThread.h> #include <fbjni/fbjni.h> #include <jni.h> #include <jsi...
/* * 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 <fbjni/fbjni.h> #include "JHermesInstance.h" JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM* vm, void* /*unused*/) { retur...
/* * 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 "JavaTimerRegistry.h" #include <utility> namespace facebook::react { JavaTimerRegistry::JavaTimerRegistry( jni::g...
/* * 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. */ #pragma once #include <memory> #include <fbjni/fbjni.h> #include <react/runtime/PlatformTimerRegistry.h> #include "JJavaTimerM...
/* * 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. */ #pragma once #include <fbjni/fbjni.h> #include <jni.h> #include <jsi/jsi.h> #include <react/runtime/BindingsInstaller.h> #includ...
/* * 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 "JJavaTimerManager.h" #include <fbjni/fbjni.h> #include <jni.h> namespace facebook::react { void JJavaTimerManager::c...
/* * 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. */ #pragma once #include <cstdint> #include <fbjni/fbjni.h> #include <jni.h> namespace facebook::react { struct JJavaTimerManage...
/* * 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. */ #pragma once #include <fbjni/fbjni.h> #include <jni.h> #include <react/runtime/JSRuntimeFactory.h> namespace facebook::react { ...