Skip to content

Commit 9c07cda

Browse files
mdvaccafacebook-github-bot
authored andcommitted
Fix MissingSoLoaderLibrary: Add @SoLoaderLibrary to BlobCollector (#55514)
Summary: Fixed MissingSoLoaderLibrary lint error in BlobCollector.kt. Added `SoLoaderLibrary("reactnativeblob")` annotation to document that this class loads the "reactnativeblob" native library via SoLoader. Also added the required soloader annotation dependency to the BUCK file. changelog: [internal] internal Reviewed By: alanleedev Differential Revision: D92024489
1 parent 4d22299 commit 9c07cda

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • packages/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/blob

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/blob/BlobCollector.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ package com.facebook.react.modules.blob
1010
import com.facebook.react.bridge.JavaScriptContextHolder
1111
import com.facebook.react.bridge.ReactContext
1212
import com.facebook.soloader.SoLoader
13+
import com.facebook.soloader.annotation.SoLoaderLibrary
1314

15+
@SoLoaderLibrary("reactnativeblob")
1416
internal object BlobCollector {
1517
init {
1618
SoLoader.loadLibrary("reactnativeblob")

0 commit comments

Comments
 (0)