expo-dev-launcher 5.1.13 → 5.1.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,17 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 5.1.15 — 2025-07-02
14
+
15
+ _This version does not introduce any user-facing changes._
16
+
17
+ ## 5.1.14 — 2025-06-26
18
+
19
+ ### 🐛 Bug fixes
20
+
21
+ - [Android] Fix missing launch args from pending intent extras. ([#37172](https://github.com/expo/expo/pull/37172) by [@coolsoftwaretyler](https://github.com/coolsoftwaretyler))
22
+ - [Android] Fix missing intent extras when handling external intents. ([#37307](https://github.com/expo/expo/pull/37307) by [@coolsoftwaretyler](https://github.com/coolsoftwaretyler))
23
+
13
24
  ## 5.1.13 — 2025-06-18
14
25
 
15
26
  _This version does not introduce any user-facing changes._
@@ -8,13 +8,13 @@ expoModule {
8
8
  }
9
9
 
10
10
  group = "host.exp.exponent"
11
- version = "5.1.13"
11
+ version = "5.1.15"
12
12
 
13
13
  android {
14
14
  namespace "expo.modules.devlauncher"
15
15
  defaultConfig {
16
16
  versionCode 9
17
- versionName "5.1.13"
17
+ versionName "5.1.15"
18
18
  }
19
19
 
20
20
  buildTypes {
@@ -4,6 +4,7 @@ import android.app.Application
4
4
  import android.content.Context
5
5
  import android.content.Intent
6
6
  import android.net.Uri
7
+ import android.os.Bundle
7
8
  import androidx.annotation.UiThread
8
9
  import com.facebook.react.ReactActivity
9
10
  import com.facebook.react.ReactActivityDelegate
@@ -108,6 +109,7 @@ class DevLauncherController private constructor() :
108
109
  private var appIsLoading = false
109
110
 
110
111
  private var networkInterceptor: DevLauncherNetworkInterceptor? = null
112
+ private var pendingIntentExtras: Bundle? = null
111
113
 
112
114
  private fun isEASUpdateURL(url: Uri): Boolean {
113
115
  return url.host.equals("u.expo.dev") || url.host.equals("staging-u.expo.dev")
@@ -248,6 +250,7 @@ class DevLauncherController private constructor() :
248
250
 
249
251
  coroutineScope.launch {
250
252
  try {
253
+ pendingIntentRegistry.intent = intent
251
254
  loadApp(uri, activityToBeInvalidated)
252
255
  } catch (e: Throwable) {
253
256
  DevLauncherErrorActivity.showFatalError(context, DevLauncherAppError(e.message, e))
@@ -281,6 +284,8 @@ class DevLauncherController private constructor() :
281
284
  }
282
285
 
283
286
  private fun handleExternalIntent(intent: Intent): Boolean {
287
+ // Always store the intent extras even if we don't set the pending intent.
288
+ pendingIntentExtras = intent.extras
284
289
  if (mode != Mode.APP && intent.action != Intent.ACTION_MAIN) {
285
290
  pendingIntentRegistry.intent = intent
286
291
  }
@@ -362,7 +367,15 @@ class DevLauncherController private constructor() :
362
367
  intent.categories?.let {
363
368
  categories.addAll(it)
364
369
  }
370
+ } ?: run {
371
+ // If no pending intent is available, use the extras from the intent that was used to launch the app.
372
+ pendingIntentExtras?.let {
373
+ putExtras(it)
374
+ }
365
375
  }
376
+
377
+ // Clear the pending intent extras after using them.
378
+ pendingIntentExtras = null
366
379
  }
367
380
 
368
381
  private fun createBasicAppIntent() =
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "expo-dev-launcher",
3
3
  "title": "Expo Development Launcher",
4
- "version": "5.1.13",
4
+ "version": "5.1.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",
@@ -31,7 +31,7 @@
31
31
  "homepage": "https://docs.expo.dev",
32
32
  "dependencies": {
33
33
  "ajv": "8.11.0",
34
- "expo-dev-menu": "6.1.12",
34
+ "expo-dev-menu": "6.1.13",
35
35
  "expo-manifests": "~0.16.5",
36
36
  "resolve-from": "^5.0.0"
37
37
  },
@@ -43,14 +43,14 @@
43
43
  "@testing-library/jest-native": "^4.0.4",
44
44
  "@testing-library/react-native": "^13.1.0",
45
45
  "babel-plugin-module-resolver": "^5.0.0",
46
- "babel-preset-expo": "~13.2.1",
46
+ "babel-preset-expo": "~13.2.2",
47
47
  "date-fns": "^2.28.0",
48
48
  "expo-dev-client-components": "2.1.4",
49
- "expo-module-scripts": "^4.1.7",
49
+ "expo-module-scripts": "^4.1.8",
50
50
  "graphql": "^16.0.1",
51
51
  "graphql-request": "^3.6.1",
52
52
  "react": "19.0.0",
53
- "react-native": "0.79.4",
53
+ "react-native": "0.79.5",
54
54
  "react-query": "^3.34.16",
55
55
  "url": "^0.11.0"
56
56
  },
@@ -67,5 +67,5 @@
67
67
  "/node_modules/(?!((jest-)?react-native|@react-native(-community)?)/|@react-navigation/)"
68
68
  ]
69
69
  },
70
- "gitHead": "cc3b641cc2e4e7686dca75e7029cf76a07b3d647"
70
+ "gitHead": "d0d8a3fb9633f94037dd6d96e673e0698ab8b6e0"
71
71
  }