expo-dev-launcher 4.0.14 → 4.0.15
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,12 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 4.0.15 — 2024-05-15
|
|
14
|
+
|
|
15
|
+
### 🐛 Bug fixes
|
|
16
|
+
|
|
17
|
+
- [Android] Removes the unnecessary reload when opening the backgrounded app from the icon. ([#28893](https://github.com/expo/expo/pull/28893) by [@lukmccall](https://github.com/lukmccall))
|
|
18
|
+
|
|
13
19
|
## 4.0.14 — 2024-05-09
|
|
14
20
|
|
|
15
21
|
_This version does not introduce any user-facing changes._
|
package/android/build.gradle
CHANGED
|
@@ -253,9 +253,14 @@ class DevLauncherController private constructor() :
|
|
|
253
253
|
}
|
|
254
254
|
|
|
255
255
|
intent?.let {
|
|
256
|
+
// If the app is already open or the intent is not a main intent, we don't want to handle it.
|
|
257
|
+
if (mode == Mode.APP || intent.action != Intent.ACTION_MAIN) {
|
|
258
|
+
return@let
|
|
259
|
+
}
|
|
260
|
+
|
|
256
261
|
val shouldTryToLaunchLastOpenedBundle = getMetadataValue(context, "DEV_CLIENT_TRY_TO_LAUNCH_LAST_BUNDLE", "true").toBoolean()
|
|
257
262
|
val lastOpenedApp = recentlyOpedAppsRegistry.getMostRecentApp()
|
|
258
|
-
if (shouldTryToLaunchLastOpenedBundle && lastOpenedApp != null
|
|
263
|
+
if (shouldTryToLaunchLastOpenedBundle && lastOpenedApp != null) {
|
|
259
264
|
coroutineScope.launch {
|
|
260
265
|
try {
|
|
261
266
|
loadApp(Uri.parse(lastOpenedApp.url), activityToBeInvalidated)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-dev-launcher",
|
|
3
3
|
"title": "Expo Development Launcher",
|
|
4
|
-
"version": "4.0.
|
|
4
|
+
"version": "4.0.15",
|
|
5
5
|
"description": "Pre-release version of the Expo development launcher package for testing.",
|
|
6
6
|
"main": "build/DevLauncher.js",
|
|
7
7
|
"types": "build/DevLauncher.d.ts",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"./setupTests.ts"
|
|
67
67
|
]
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "82b5a4a7ada98ca26cd99d097400b01240cbcf99"
|
|
70
70
|
}
|