expo-updates 0.24.10 → 0.24.12
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/CHANGELOG.md +10 -0
- package/android/build.gradle +2 -2
- package/e2e/setup/project.ts +1 -1
- package/expo-module.config.json +0 -1
- package/ios/EXUpdates/ReactDelegateHandler/ExpoUpdatesReactDelegateHandler.swift +8 -0
- package/package.json +2 -2
- package/ios/EXUpdates/ReactDelegateHandler/ExpoUpdatesAppDelegateSubscriber.swift +0 -18
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,16 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 0.24.12 — 2024-03-13
|
|
14
|
+
|
|
15
|
+
### 💡 Others
|
|
16
|
+
|
|
17
|
+
- [iOS] Moved expo-dev-client + expo-updates interop setup out from `application:willFinishLaunchingWithOptions:`. ([#27477](https://github.com/expo/expo/pull/27477) by [@kudo](https://github.com/kudo))
|
|
18
|
+
|
|
19
|
+
## 0.24.11 — 2024-02-16
|
|
20
|
+
|
|
21
|
+
_This version does not introduce any user-facing changes._
|
|
22
|
+
|
|
13
23
|
## 0.24.10 — 2024-02-06
|
|
14
24
|
|
|
15
25
|
### 🎉 New features
|
package/android/build.gradle
CHANGED
|
@@ -4,7 +4,7 @@ apply plugin: 'kotlin-kapt'
|
|
|
4
4
|
apply plugin: 'maven-publish'
|
|
5
5
|
|
|
6
6
|
group = 'host.exp.exponent'
|
|
7
|
-
version = '0.24.
|
|
7
|
+
version = '0.24.12'
|
|
8
8
|
|
|
9
9
|
def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
|
|
10
10
|
if (expoModulesCorePlugin.exists()) {
|
|
@@ -122,7 +122,7 @@ android {
|
|
|
122
122
|
namespace "expo.modules.updates"
|
|
123
123
|
defaultConfig {
|
|
124
124
|
versionCode 31
|
|
125
|
-
versionName '0.24.
|
|
125
|
+
versionName '0.24.12'
|
|
126
126
|
consumerProguardFiles("proguard-rules.pro")
|
|
127
127
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
128
128
|
|
package/e2e/setup/project.ts
CHANGED
|
@@ -48,7 +48,7 @@ function getExpoDependencyChunks({
|
|
|
48
48
|
...(includeDevClient
|
|
49
49
|
? [['expo-dev-menu-interface'], ['expo-dev-menu'], ['expo-dev-launcher'], ['expo-dev-client']]
|
|
50
50
|
: []),
|
|
51
|
-
...(includeTV ? [['expo-av', 'expo-image', 'expo-localization']] : []),
|
|
51
|
+
...(includeTV ? [['expo-av', 'expo-blur', 'expo-image', 'expo-linear-gradient', 'expo-localization']] : []),
|
|
52
52
|
];
|
|
53
53
|
}
|
|
54
54
|
|
package/expo-module.config.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// Copyright 2018-present 650 Industries. All rights reserved.
|
|
2
2
|
|
|
3
3
|
import ExpoModulesCore
|
|
4
|
+
import EXUpdatesInterface
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
7
|
* Manages and controls the auto-setup behavior of expo-updates in applicable environments.
|
|
@@ -44,6 +45,13 @@ public final class ExpoUpdatesReactDelegateHandler: ExpoReactDelegateHandler, Ap
|
|
|
44
45
|
}()
|
|
45
46
|
|
|
46
47
|
public override func createBridge(reactDelegate: ExpoReactDelegate, bridgeDelegate: RCTBridgeDelegate, launchOptions: [AnyHashable: Any]?) -> RCTBridge? {
|
|
48
|
+
if EXAppDefines.APP_DEBUG && !UpdatesUtils.isNativeDebuggingEnabled() {
|
|
49
|
+
// In development builds with expo-dev-client, completes the auto-setup for development
|
|
50
|
+
// builds with the expo-updates integration by passing a reference to DevLauncherController
|
|
51
|
+
// over to the registry, which expo-dev-client can access.
|
|
52
|
+
UpdatesControllerRegistry.sharedInstance.controller = AppController.initializeAsDevLauncherWithoutStarting()
|
|
53
|
+
return nil
|
|
54
|
+
}
|
|
47
55
|
if !shouldEnableAutoSetup {
|
|
48
56
|
return nil
|
|
49
57
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-updates",
|
|
3
|
-
"version": "0.24.
|
|
3
|
+
"version": "0.24.12",
|
|
4
4
|
"description": "Fetches and manages remotely-hosted assets and updates to your app's JS bundle.",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"peerDependencies": {
|
|
66
66
|
"expo": "*"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "d846eb40fc384b9e4b21260af2a990dfe79cf461"
|
|
69
69
|
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// Copyright 2022-present 650 Industries. All rights reserved.
|
|
2
|
-
|
|
3
|
-
import ExpoModulesCore
|
|
4
|
-
import EXUpdatesInterface
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Used only in development builds with expo-dev-client; completes the auto-setup for development
|
|
8
|
-
* builds with the expo-updates integration by passing a reference to DevLauncherController
|
|
9
|
-
* over to the registry, which expo-dev-client can access.
|
|
10
|
-
*/
|
|
11
|
-
public final class ExpoUpdatesAppDelegateSubscriber: ExpoAppDelegateSubscriber {
|
|
12
|
-
public func application(_ application: UIApplication, willFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil) -> Bool {
|
|
13
|
-
if EXAppDefines.APP_DEBUG && !UpdatesUtils.isNativeDebuggingEnabled() {
|
|
14
|
-
UpdatesControllerRegistry.sharedInstance.controller = AppController.initializeAsDevLauncherWithoutStarting()
|
|
15
|
-
}
|
|
16
|
-
return true
|
|
17
|
-
}
|
|
18
|
-
}
|