expo-template-bare-minimum 55.0.0-canary-20251008-6acbc1c → 55.0.0-canary-20251009-9919e08
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.
|
@@ -6,37 +6,26 @@ import android.content.res.Configuration
|
|
|
6
6
|
import com.facebook.react.PackageList
|
|
7
7
|
import com.facebook.react.ReactApplication
|
|
8
8
|
import com.facebook.react.ReactNativeApplicationEntryPoint.loadReactNative
|
|
9
|
-
import com.facebook.react.ReactNativeHost
|
|
10
9
|
import com.facebook.react.ReactPackage
|
|
11
10
|
import com.facebook.react.ReactHost
|
|
12
11
|
import com.facebook.react.common.ReleaseLevel
|
|
13
12
|
import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint
|
|
14
|
-
import com.facebook.react.defaults.DefaultReactNativeHost
|
|
15
13
|
|
|
16
14
|
import expo.modules.ApplicationLifecycleDispatcher
|
|
17
|
-
import expo.modules.
|
|
15
|
+
import expo.modules.ExpoReactHostFactory
|
|
18
16
|
|
|
19
17
|
class MainApplication : Application(), ReactApplication {
|
|
20
18
|
|
|
21
|
-
override val
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
override fun getUseDeveloperSupport(): Boolean = BuildConfig.DEBUG
|
|
33
|
-
|
|
34
|
-
override val isNewArchEnabled: Boolean = BuildConfig.IS_NEW_ARCHITECTURE_ENABLED
|
|
35
|
-
}
|
|
36
|
-
)
|
|
37
|
-
|
|
38
|
-
override val reactHost: ReactHost
|
|
39
|
-
get() = ReactNativeHostWrapper.createReactHost(applicationContext, reactNativeHost)
|
|
19
|
+
override val reactHost: ReactHost by lazy {
|
|
20
|
+
ExpoReactHostFactory.getDefaultReactHost(
|
|
21
|
+
context = applicationContext,
|
|
22
|
+
packageList =
|
|
23
|
+
PackageList(this).packages.apply {
|
|
24
|
+
// Packages that cannot be autolinked yet can be added manually here, for example:
|
|
25
|
+
// add(MyReactNativePackage())
|
|
26
|
+
}
|
|
27
|
+
)
|
|
28
|
+
}
|
|
40
29
|
|
|
41
30
|
override fun onCreate() {
|
|
42
31
|
super.onCreate()
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "expo-template-bare-minimum",
|
|
3
3
|
"description": "This bare project template includes a minimal setup for using unimodules with React Native.",
|
|
4
4
|
"license": "0BSD",
|
|
5
|
-
"version": "55.0.0-canary-
|
|
5
|
+
"version": "55.0.0-canary-20251009-9919e08",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"start": "expo start --dev-client",
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
"web": "expo start --web"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"expo": "55.0.0-canary-
|
|
15
|
-
"expo-status-bar": "3.0.9-canary-
|
|
14
|
+
"expo": "55.0.0-canary-20251009-9919e08",
|
|
15
|
+
"expo-status-bar": "3.0.9-canary-20251009-9919e08",
|
|
16
16
|
"react": "19.1.1",
|
|
17
|
-
"react-native": "0.82.0
|
|
17
|
+
"react-native": "0.82.0"
|
|
18
18
|
}
|
|
19
19
|
}
|