Skip to content

Commit 59f497b

Browse files
mdvaccafacebook-github-bot
authored andcommitted
Fix MissingSoLoaderLibrary: Add @SoLoaderLibrary to ReactNativeJNISoLoader (facebook#56036)
Summary: 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 Differential Revision: D95412950
1 parent 7d80d6e commit 59f497b

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)