Compare commits

...
Author SHA1 Message Date
Devmate BotandFacebook GitHub Bot 983c8ebb45 xplat/js/react-native-github/packages/react-native/ReactAndroid/src/main/jni/react/reactnativeblob/BlobCollector.cpp
Reviewed By: rshest

Differential Revision: D80438502
2025-08-19 02:11:08 -07:00
@@ -44,7 +44,10 @@ void BlobCollector::nativeInstall(
jni::alias_ref<jclass> /*unused*/,
jni::alias_ref<jobject> blobModule,
jlong jsContextNativePointer) {
auto& runtime = *((jsi::Runtime*)jsContextNativePointer);
auto& runtime =
*reinterpret_cast< // NOLINT(performance-no-int-to-ptr,cppcoreguidelines-pro-type-reinterpret-cast):
// JNI bridge requires casting jlong to runtime pointer
jsi::Runtime*>(jsContextNativePointer);
auto blobModuleRef = jni::make_global(blobModule);
runtime.global().setProperty(
runtime,