Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ package com.facebook.react.bridge

import com.facebook.react.common.annotations.internal.InteropLegacyArchitecture
import com.facebook.soloader.SoLoader
import com.facebook.soloader.annotation.SoLoaderLibrary

@SoLoaderLibrary("reactnativejni")
@InteropLegacyArchitecture
internal object ReactNativeJNISoLoader {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
package com.facebook.react.bridge

import com.facebook.soloader.SoLoader
import com.facebook.soloader.annotation.SoLoaderLibrary

@SoLoaderLibrary("reactnativejni_common")
internal object ReactNativeJniCommonSoLoader {

@JvmStatic
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
package com.facebook.react.defaults

import com.facebook.soloader.SoLoader
import com.facebook.soloader.annotation.SoLoaderLibrary

@SoLoaderLibrary("react_newarchdefaults")
internal object DefaultSoLoader {
@Synchronized
@JvmStatic
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ import com.facebook.jni.HybridData
import com.facebook.proguard.annotations.DoNotStrip
import com.facebook.proguard.annotations.DoNotStripAny
import com.facebook.soloader.SoLoader
import com.facebook.soloader.annotation.SoLoaderLibrary

/**
* JNI wrapper for `jsinspectormodern::NetworkRequestListener`. Handles the `ScopedExecutor`
* callback use on the C++ side.
*/
@SoLoaderLibrary("reactnativejni")
@DoNotStripAny
internal class InspectorNetworkRequestListener(
@field:DoNotStrip private val mHybridData: HybridData
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ public object AndroidInfoHelpers {

@Synchronized
private fun getMetroHostPropValue(): String {
if (metroHostPropValue != null) {
return metroHostPropValue!!
metroHostPropValue?.let {
return it
}
var process: Process? = null
var reader: BufferedReader? = null
Expand Down
Loading
Loading