expo-dev-client 3.1.1 → 3.2.0
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
CHANGED
|
@@ -10,6 +10,16 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 3.2.0 — 2023-10-17
|
|
14
|
+
|
|
15
|
+
### 🛠 Breaking changes
|
|
16
|
+
|
|
17
|
+
- Dropped support for Android SDK 21 and 22. ([#24201](https://github.com/expo/expo/pull/24201) by [@behenate](https://github.com/behenate))
|
|
18
|
+
|
|
19
|
+
## 2.4.11 — 2023-09-25
|
|
20
|
+
|
|
21
|
+
_This version does not introduce any user-facing changes._
|
|
22
|
+
|
|
13
23
|
## 3.1.1 — 2023-09-18
|
|
14
24
|
|
|
15
25
|
_This version does not introduce any user-facing changes._
|
package/android/build.gradle
CHANGED
|
@@ -2,13 +2,13 @@ apply plugin: 'com.android.library'
|
|
|
2
2
|
apply plugin: 'kotlin-android'
|
|
3
3
|
apply plugin: 'maven-publish'
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
5
|
+
def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
|
|
6
|
+
if (expoModulesCorePlugin.exists()) {
|
|
7
|
+
apply from: expoModulesCorePlugin
|
|
8
|
+
applyKotlinExpoModulesCorePlugin()
|
|
9
|
+
}
|
|
11
10
|
|
|
11
|
+
buildscript {
|
|
12
12
|
// Simple helper that allows the root project to override versions declared by this library.
|
|
13
13
|
ext.safeExtGet = { prop, fallback ->
|
|
14
14
|
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
|
|
@@ -33,19 +33,29 @@ buildscript {
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
android {
|
|
36
|
-
|
|
36
|
+
// Remove this if and it's contents, when support for SDK49 is dropped
|
|
37
|
+
if (!safeExtGet("expoProvidesDefaultConfig", false)) {
|
|
38
|
+
compileSdkVersion safeExtGet("compileSdkVersion", 33)
|
|
39
|
+
|
|
40
|
+
defaultConfig {
|
|
41
|
+
minSdkVersion safeExtGet("minSdkVersion", 23)
|
|
42
|
+
targetSdkVersion safeExtGet("targetSdkVersion", 33)
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
lintOptions {
|
|
46
|
+
abortOnError false
|
|
47
|
+
}
|
|
48
|
+
}
|
|
37
49
|
namespace "expo.modules.devclient"
|
|
38
50
|
defaultConfig {
|
|
39
51
|
minSdkVersion safeExtGet('minSdkVersion', 21)
|
|
40
52
|
targetSdkVersion safeExtGet("targetSdkVersion", 33)
|
|
41
53
|
versionCode 1
|
|
42
|
-
versionName "3.
|
|
54
|
+
versionName "3.2.0"
|
|
43
55
|
|
|
44
56
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
45
57
|
}
|
|
46
|
-
|
|
47
|
-
abortOnError false
|
|
48
|
-
}
|
|
58
|
+
|
|
49
59
|
def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION
|
|
50
60
|
if (agpVersion.tokenize('.')[0].toInteger() < 8) {
|
|
51
61
|
compileOptions {
|
|
@@ -79,6 +89,7 @@ android {
|
|
|
79
89
|
buildConfig true
|
|
80
90
|
viewBinding true
|
|
81
91
|
}
|
|
92
|
+
|
|
82
93
|
publishing {
|
|
83
94
|
singleVariant("release") {
|
|
84
95
|
withSourcesJar()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-dev-client",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "Expo Development Client",
|
|
5
5
|
"main": "build/DevClient.js",
|
|
6
6
|
"types": "build/DevClient.d.ts",
|
|
@@ -32,15 +32,15 @@
|
|
|
32
32
|
"license": "MIT",
|
|
33
33
|
"homepage": "https://docs.expo.dev/clients/introduction/",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"expo-dev-launcher": "3.
|
|
36
|
-
"expo-dev-menu": "4.
|
|
37
|
-
"expo-dev-menu-interface": "1.
|
|
38
|
-
"expo-manifests": "~0.
|
|
39
|
-
"expo-updates-interface": "~0.
|
|
35
|
+
"expo-dev-launcher": "3.3.0",
|
|
36
|
+
"expo-dev-menu": "4.3.0",
|
|
37
|
+
"expo-dev-menu-interface": "1.5.0",
|
|
38
|
+
"expo-manifests": "~0.11.0",
|
|
39
|
+
"expo-updates-interface": "~0.14.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"expo-module-scripts": "^3.0.0",
|
|
43
|
-
"expo-test-runner": "0.0.
|
|
43
|
+
"expo-test-runner": "0.0.18"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"expo": "*"
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"jest": {
|
|
49
49
|
"preset": "expo-module-scripts"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "da25937e2a99661cbe5eb60ca1d8d6245fc96a50"
|
|
52
52
|
}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import type { PluginConfigType } from 'expo-dev-launcher/plugin/build/pluginConfig';
|
|
2
|
+
declare const _default: import("@expo/config-plugins").ConfigPlugin<PluginConfigType>;
|
|
2
3
|
export default _default;
|
|
@@ -11,9 +11,9 @@ const app_plugin_2 = __importDefault(require("expo-dev-menu/app.plugin"));
|
|
|
11
11
|
const withGeneratedAndroidScheme_1 = require("./withGeneratedAndroidScheme");
|
|
12
12
|
const withGeneratedIosScheme_1 = require("./withGeneratedIosScheme");
|
|
13
13
|
const pkg = require('expo-dev-client/package.json');
|
|
14
|
-
function withDevClient(config) {
|
|
14
|
+
function withDevClient(config, props) {
|
|
15
15
|
config = (0, app_plugin_2.default)(config);
|
|
16
|
-
config = (0, app_plugin_1.default)(config);
|
|
16
|
+
config = (0, app_plugin_1.default)(config, props);
|
|
17
17
|
config = (0, withGeneratedAndroidScheme_1.withGeneratedAndroidScheme)(config);
|
|
18
18
|
config = (0, withGeneratedIosScheme_1.withGeneratedIosScheme)(config);
|
|
19
19
|
return config;
|
|
@@ -2,6 +2,7 @@ import { createRunOncePlugin } from '@expo/config-plugins';
|
|
|
2
2
|
import { ExpoConfig } from 'expo/config';
|
|
3
3
|
// @ts-expect-error missing types
|
|
4
4
|
import withDevLauncher from 'expo-dev-launcher/app.plugin';
|
|
5
|
+
import type { PluginConfigType } from 'expo-dev-launcher/plugin/build/pluginConfig';
|
|
5
6
|
// @ts-expect-error missing types
|
|
6
7
|
import withDevMenu from 'expo-dev-menu/app.plugin';
|
|
7
8
|
|
|
@@ -10,12 +11,12 @@ import { withGeneratedIosScheme } from './withGeneratedIosScheme';
|
|
|
10
11
|
|
|
11
12
|
const pkg = require('expo-dev-client/package.json');
|
|
12
13
|
|
|
13
|
-
function withDevClient(config: ExpoConfig) {
|
|
14
|
+
function withDevClient(config: ExpoConfig, props: PluginConfigType) {
|
|
14
15
|
config = withDevMenu(config);
|
|
15
|
-
config = withDevLauncher(config);
|
|
16
|
+
config = withDevLauncher(config, props);
|
|
16
17
|
config = withGeneratedAndroidScheme(config);
|
|
17
18
|
config = withGeneratedIosScheme(config);
|
|
18
19
|
return config;
|
|
19
20
|
}
|
|
20
21
|
|
|
21
|
-
export default createRunOncePlugin(withDevClient, pkg.name, pkg.version);
|
|
22
|
+
export default createRunOncePlugin<PluginConfigType>(withDevClient, pkg.name, pkg.version);
|