expo-template-bare-minimum 55.0.0-canary-20260119-17896bf → 55.0.0-canary-20260121-a63c0dd
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/app/build.gradle +1 -1
- package/android/app/src/main/AndroidManifest.xml +1 -1
- package/android/app/src/main/java/com/helloworld/MainApplication.kt +11 -22
- package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/android/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/android/gradlew +1 -1
- package/ios/HelloWorld/AppDelegate.swift +1 -2
- package/ios/Podfile +4 -4
- package/package.json +5 -5
package/android/app/build.gradle
CHANGED
|
@@ -11,7 +11,7 @@ def projectRoot = rootDir.getAbsoluteFile().getParentFile().getAbsolutePath()
|
|
|
11
11
|
react {
|
|
12
12
|
entryFile = file(["node", "-e", "require('expo/scripts/resolveAppEntry')", projectRoot, "android", "absolute"].execute(null, rootDir).text.trim())
|
|
13
13
|
reactNativeDir = new File(["node", "--print", "require.resolve('react-native/package.json')"].execute(null, rootDir).text.trim()).getParentFile().getAbsoluteFile()
|
|
14
|
-
hermesCommand = new File(["node", "--print", "require.resolve('react-native/package.json')"].execute(null, rootDir).text.trim()).getParentFile().getAbsolutePath() + "/
|
|
14
|
+
hermesCommand = new File(["node", "--print", "require.resolve('hermes-compiler/package.json', { paths: [require.resolve('react-native/package.json')] })"].execute(null, rootDir).text.trim()).getParentFile().getAbsolutePath() + "/hermesc/%OS-BIN%/hermesc"
|
|
15
15
|
codegenDir = new File(["node", "--print", "require.resolve('@react-native/codegen/package.json', { paths: [require.resolve('react-native/package.json')] })"].execute(null, rootDir).text.trim()).getParentFile().getAbsoluteFile()
|
|
16
16
|
|
|
17
17
|
enableBundleCompression = (findProperty('android.enableBundleCompression') ?: false).toBoolean()
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
</queries>
|
|
20
20
|
|
|
21
21
|
<application android:name=".MainApplication" android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" android:allowBackup="false" android:theme="@style/AppTheme" android:supportsRtl="true">
|
|
22
|
-
<activity android:name=".MainActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenSize|screenLayout|uiMode" android:launchMode="singleTask" android:windowSoftInputMode="adjustResize" android:theme="@style/Theme.App.SplashScreen" android:exported="true">
|
|
22
|
+
<activity android:name=".MainActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenSize|screenLayout|uiMode|smallestScreenSize" android:launchMode="singleTask" android:windowSoftInputMode="adjustResize" android:theme="@style/Theme.App.SplashScreen" android:exported="true">
|
|
23
23
|
<intent-filter>
|
|
24
24
|
<action android:name="android.intent.action.MAIN"/>
|
|
25
25
|
<category android:name="android.intent.category.LAUNCHER"/>
|
|
@@ -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()
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
distributionBase=GRADLE_USER_HOME
|
|
2
2
|
distributionPath=wrapper/dists
|
|
3
|
-
distributionUrl=https\://services.gradle.org/distributions/gradle-
|
|
3
|
+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-bin.zip
|
|
4
4
|
networkTimeout=10000
|
|
5
5
|
validateDistributionUrl=true
|
|
6
6
|
zipStoreBase=GRADLE_USER_HOME
|
package/android/gradlew
CHANGED
|
@@ -2,7 +2,7 @@ import Expo
|
|
|
2
2
|
import React
|
|
3
3
|
import ReactAppDependencyProvider
|
|
4
4
|
|
|
5
|
-
@
|
|
5
|
+
@main
|
|
6
6
|
public class AppDelegate: ExpoAppDelegate {
|
|
7
7
|
var window: UIWindow?
|
|
8
8
|
|
|
@@ -19,7 +19,6 @@ public class AppDelegate: ExpoAppDelegate {
|
|
|
19
19
|
|
|
20
20
|
reactNativeDelegate = delegate
|
|
21
21
|
reactNativeFactory = factory
|
|
22
|
-
bindReactNativeFactory(factory)
|
|
23
22
|
|
|
24
23
|
#if os(iOS) || os(tvOS)
|
|
25
24
|
window = UIWindow(frame: UIScreen.main.bounds)
|
package/ios/Podfile
CHANGED
|
@@ -7,15 +7,15 @@ podfile_properties = JSON.parse(File.read(File.join(__dir__, 'Podfile.properties
|
|
|
7
7
|
def ccache_enabled?(podfile_properties)
|
|
8
8
|
# Environment variable takes precedence
|
|
9
9
|
return ENV['USE_CCACHE'] == '1' if ENV['USE_CCACHE']
|
|
10
|
-
|
|
10
|
+
|
|
11
11
|
# Fall back to Podfile properties
|
|
12
12
|
podfile_properties['apple.ccacheEnabled'] == 'true'
|
|
13
13
|
end
|
|
14
14
|
|
|
15
|
-
ENV['RCT_NEW_ARCH_ENABLED'] ||= '0' if podfile_properties['newArchEnabled'] == 'false'
|
|
16
15
|
ENV['EX_DEV_CLIENT_NETWORK_INSPECTOR'] ||= podfile_properties['EX_DEV_CLIENT_NETWORK_INSPECTOR']
|
|
17
|
-
ENV['RCT_USE_RN_DEP'] ||= '1' if podfile_properties['ios.buildReactNativeFromSource'] != 'true'
|
|
18
|
-
ENV['RCT_USE_PREBUILT_RNCORE'] ||= '1' if podfile_properties['ios.buildReactNativeFromSource'] != 'true'
|
|
16
|
+
ENV['RCT_USE_RN_DEP'] ||= '1' if podfile_properties['ios.buildReactNativeFromSource'] != 'true'
|
|
17
|
+
ENV['RCT_USE_PREBUILT_RNCORE'] ||= '1' if podfile_properties['ios.buildReactNativeFromSource'] != 'true'
|
|
18
|
+
ENV['RCT_HERMES_V1_ENABLED'] ||= '1' if podfile_properties['expo.useHermesV1'] == 'true'
|
|
19
19
|
platform :ios, podfile_properties['ios.deploymentTarget'] || '15.1'
|
|
20
20
|
|
|
21
21
|
prepare_react_native_project!
|
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-20260121-a63c0dd",
|
|
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.10-canary-
|
|
16
|
-
"react": "19.
|
|
17
|
-
"react-native": "0.
|
|
14
|
+
"expo": "55.0.0-canary-20260121-a63c0dd",
|
|
15
|
+
"expo-status-bar": "3.0.10-canary-20260121-a63c0dd",
|
|
16
|
+
"react": "19.2.0",
|
|
17
|
+
"react-native": "0.83.1"
|
|
18
18
|
}
|
|
19
19
|
}
|