expo-modules-test-core 1.0.2-canary-20251223-b83b31e → 1.0.2-canary-20260105-6b962e6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/android/build.gradle
CHANGED
|
@@ -4,7 +4,7 @@ plugins {
|
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
group = 'org.unimodules'
|
|
7
|
-
version = '1.0.2-canary-
|
|
7
|
+
version = '1.0.2-canary-20260105-6b962e6'
|
|
8
8
|
|
|
9
9
|
expoModule {
|
|
10
10
|
canBePublished false
|
|
@@ -14,7 +14,7 @@ android {
|
|
|
14
14
|
namespace "org.unimodules.test.core"
|
|
15
15
|
defaultConfig {
|
|
16
16
|
versionCode 3
|
|
17
|
-
versionName '1.0.2-canary-
|
|
17
|
+
versionName '1.0.2-canary-20260105-6b962e6'
|
|
18
18
|
}
|
|
19
19
|
packagingOptions {
|
|
20
20
|
resources {
|
|
@@ -8,7 +8,6 @@ import expo.modules.core.interfaces.services.EventEmitter
|
|
|
8
8
|
import expo.modules.kotlin.AppContext
|
|
9
9
|
import expo.modules.kotlin.ModuleHolder
|
|
10
10
|
import expo.modules.kotlin.modules.Module
|
|
11
|
-
import expo.modules.kotlin.services.ServicesProvider
|
|
12
11
|
import io.mockk.MockK
|
|
13
12
|
import io.mockk.MockKGateway
|
|
14
13
|
import io.mockk.every
|
|
@@ -124,8 +123,7 @@ private fun prepareMockAppContext(customAppContext: AppContext?): AppContext {
|
|
|
124
123
|
val appContext = customAppContext ?: AppContext(
|
|
125
124
|
modulesProvider = mockk(relaxed = true),
|
|
126
125
|
legacyModuleRegistry = mockk(relaxed = true),
|
|
127
|
-
reactContextHolder = WeakReference(reactContext)
|
|
128
|
-
ServicesProvider(reactContext)
|
|
126
|
+
reactContextHolder = WeakReference(reactContext)
|
|
129
127
|
)
|
|
130
128
|
|
|
131
129
|
// as AppContext holds only weak reference to Android Context which can be destroyed too early
|
package/package.json
CHANGED