Skip to content

Commit 251fb11

Browse files
mdvaccameta-codesync[bot]
authored andcommitted
Fix MissingSoLoaderLibrary: Add @SoLoaderLibrary to ReactNativeJNISoLoader (#56036)
Summary: Pull Request resolved: #56036 Fixed MissingSoLoaderLibrary lint error in ReactNativeJNISoLoader.kt. Added SoLoaderLibrary("reactnativejni") annotation to the class which calls SoLoader.loadLibrary("reactnativejni") but was missing the annotation needed for build tools to sanity check JNI merging. changelog: [internal] internal Reviewed By: cortinico Differential Revision: D95412950 fbshipit-source-id: 55e2cf6e1e0c4840a91d7c84b667fdd58787056c
1 parent 753e0ad commit 251fb11

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/ReactNativeJNISoLoader.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ package com.facebook.react.bridge
99

1010
import com.facebook.react.common.annotations.internal.InteropLegacyArchitecture
1111
import com.facebook.soloader.SoLoader
12+
import com.facebook.soloader.annotation.SoLoaderLibrary
1213

14+
@SoLoaderLibrary("reactnativejni")
1315
@InteropLegacyArchitecture
1416
internal object ReactNativeJNISoLoader {
1517

0 commit comments

Comments
 (0)