You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Android - Public room link opens Home tab instead of public room #100261
Version Number: 9.4.69-0 Reproducible in staging?: Yes Reproducible in production?: No If this was caught during regression testing, add the test name, ID and link from BrowserStack:https://github.com/Expensify/Mobile-Expensify/pull/14097 Email or phone of affected tester (no customers):jsdoijnodsdisojo@gmail.com Issue reported by: Applause Internal Team Bug source: Exploratory - Significant User Experience Deterioration Device used: Samsung Galaxy S25 FE / Android 16 App Component: Other
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
Not caused by any Expensify/App PR on this checklist. This is an Android native (HybridApp) regression that came in with the Mobile-Expensify submodule bump.
Likely cause:Mobile-Expensify#14097 — the R8 optimizer change tracked by #100003. High confidence it's the causing change; medium confidence on the exact mechanism.
Recommendation: revert Expensify/Mobile-Expensify#14097 (roll the submodule pointer back) and re-cut 9.4.69. Per #100003 the change is a one-line build.gradle swap and "rollback is reverting the same one line", so the revert is clean.
Owners:TaduJR and AndrewGable (both assigned on #100003). Please confirm the author/approvers of #14097.
Labels: no changes. DeployBlockerCash stays — the fix ships in the App/HybridApp deploy and this isn't reproducible on production.
⚠️ Repro requires a RELEASE build
R8 only runs on release builds (minifyEnabled lives under buildTypes.release). A local debug build will never reproduce an R8 regression. TaduJR — this likely explains the "can't repro on latest main" reports here and on the sibling issues while Applause reproduces consistently. Please retry on the staging/adhoc release build.
Four sibling blockers on this same build
All Android-app-only, all at a native intent/deep-link boundary, all attributed to #14097 on #100003:
Five simultaneous Android-only native-boundary failures in one build, with zero App-side changes in any of those paths, is the signature of a build-shrinker config change — not five independent bugs.
📋 Detailed analysis
Every App PR ruled out
Production is 9.4.66-0, staging is 9.4.69-0, so production...staging covers the whole delta. Filtering the full changed-file list for anything touching deep links, initial-URL handling, navigation, linking config, routes, screens, the HybridApp bridge, the Android manifest or ProGuard returns nothing:
gh api "repos/Expensify/App/compare/production...staging" --jq \
'[.files[].filename] | map(select(test("DeepLink|Link.ts|InitialURL|hybrid|Hybrid|Navigation|ROUTES|SCREENS|AndroidManifest|proguard|linkingConfig")))'
→ []
src/DeepLinkHandler.tsx, src/libs/actions/Link.ts, src/components/InitialURLContextProvider.tsx, src/setup/hybridApp/index.native.ts, src/libs/Navigation/**, src/ROUTES.ts, src/SCREENS.ts and modules/hybrid-app/** are byte-identical to production.
Decisive on its own: the bug is Android app only. All 22 App PRs are shared JS, so a JS regression would hit iOS app and web too.
The only remaining non-JS entries in the diff are version bumps (android/app/build.gradle 9.4.66-0 → 9.4.69-0, three ios/**/Info.plist) plus the Mobile-Expensify pointer. On the checklist the only content-bearing submodule bump is #14097; every later bump is a version bump.
Why the app lands on Home
Permalinks at staging head c9dd46f6704956e162eb4dd42469aa98bfbffcf3. On HybridApp, Linking.getInitialURL is entirely delegated to the native bridge:
src/DeepLinkHandler.tsx:101-121: if (url) { openReportFromDeepLink(...) } else { Report.doneCheckingPublicRoom(); } — and :125-134 does the same on rejection.
doneCheckingPublicRoom() with no initial URL dismisses the splash and boots the default route — the Home tab. Exactly the reported behaviour. All of these files are unchanged from the version that works in production.
Why the native side stopped delivering the URL can't be confirmed from this repo — the Mobile-Expensify owners need to check that. The leading hypothesis, consistent with all five sibling blockers, is that enabling R8 optimization lets the optimizer inline or drop code that React Native reaches reflectively at the native-module / intent-handling boundary, failing silently rather than crashing. Existing keep rules were written for a shrink-only configuration.
Alternatives considered
Android App Links verification failure (assetlinks / Android 16) — ruled out. That would open the link in Chrome; the app opened, so the intent matched and was delivered. Only the URL payload was lost.
Backend regression in the anonymous public-room path — couldn't be checked from here, but it's inconsistent with web, mWeb, desktop and iOS all working, and wouldn't also break the app shortcut, native share and OldDot switch on the same build.
A different commit in the submodule bump range rather than Update version to 1.2.50-10 on staging #14097 itself — couldn't be ruled out. This is why PR attribution is high-but-not-proven.
Activity
applause-bot commentedon Sep 3, 2026
While Applause doesn't embed attachments for this bug, here are the links for quick view:
https://platform.applause.com/services/links/v1/external/e6061664cf9de11d08fc3b7f1c12eea6e94be6f436046f55a70f58b22289a7ea
melvin-bot commentedon Sep 3, 2026
Triggered auto assignment to @mollfpr (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.github-actions commentedon Sep 3, 2026
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
melvin-bot commentedon Sep 3, 2026
💬 A slack conversation has been started in #expensify-open-source
MelvinBot commentedon Sep 3, 2026
🔍 Investigation Summary
Not caused by any
Expensify/AppPR on this checklist. This is an Android native (HybridApp) regression that came in with the Mobile-Expensify submodule bump.Likely cause: Mobile-Expensify#14097 — the R8 optimizer change tracked by #100003. High confidence it's the causing change; medium confidence on the exact mechanism.
Recommendation: revert Expensify/Mobile-Expensify#14097 (roll the submodule pointer back) and re-cut 9.4.69. Per #100003 the change is a one-line
build.gradleswap and "rollback is reverting the same one line", so the revert is clean.Owners:
TaduJRandAndrewGable(both assigned on #100003). Please confirm the author/approvers of #14097.Labels: no changes.
DeployBlockerCashstays — the fix ships in the App/HybridApp deploy and this isn't reproducible on production.R8 only runs on release builds (
minifyEnabledlives underbuildTypes.release). A local debug build will never reproduce an R8 regression.TaduJR— this likely explains the "can't repro on latest main" reports here and on the sibling issues while Applause reproduces consistently. Please retry on the staging/adhoc release build.Four sibling blockers on this same build
All Android-app-only, all at a native intent/deep-link boundary, all attributed to #14097 on #100003:
Five simultaneous Android-only native-boundary failures in one build, with zero App-side changes in any of those paths, is the signature of a build-shrinker config change — not five independent bugs.
📋 Detailed analysis
Every App PR ruled out
Production is
9.4.66-0, staging is9.4.69-0, soproduction...stagingcovers the whole delta. Filtering the full changed-file list for anything touching deep links, initial-URL handling, navigation, linking config, routes, screens, the HybridApp bridge, the Android manifest or ProGuard returns nothing:src/DeepLinkHandler.tsx,src/libs/actions/Link.ts,src/components/InitialURLContextProvider.tsx,src/setup/hybridApp/index.native.ts,src/libs/Navigation/**,src/ROUTES.ts,src/SCREENS.tsandmodules/hybrid-app/**are byte-identical to production.I also reviewed the changed-file list of all 22 App PRs on checklist #100228 (#94738, #97145, #98131, #98472, #98478, #99004, #99124, #99130, #99217, #99669, #99685, #99754, #99767, #99981, #99994, #100017, #100084, #100106, #100116, #100200, #100205, #100210). Docs, Search/Onyx refactors, workspace rules, wallet/deposit, Business Central params, and a 2FA sign-in change. #100084 is the only one touching
Session/index.ts, and its change is gated onif (twoFactorAuthCode && storedAuthToken)— the 2FA step only, irrelevant to anonymous public-room access.Decisive on its own: the bug is Android app only. All 22 App PRs are shared JS, so a JS regression would hit iOS app and web too.
The only remaining non-JS entries in the diff are version bumps (
android/app/build.gradle9.4.66-0 → 9.4.69-0, threeios/**/Info.plist) plus the Mobile-Expensify pointer. On the checklist the only content-bearing submodule bump is #14097; every later bump is a version bump.Why the app lands on Home
Permalinks at staging head
c9dd46f6704956e162eb4dd42469aa98bfbffcf3. On HybridApp,Linking.getInitialURLis entirely delegated to the native bridge:src/setup/hybridApp/index.native.ts:6-11—Linking.getInitialURL = () => HybridAppModule.getInitialURL();modules/hybrid-app/src/index.native.ts:27-29— pass-through to the native module.The intent was delivered (the app launched), but the URL never reached the RN layer, so the handler took its no-URL path:
src/DeepLinkHandler.tsx:74-79racesLinking.getInitialURL()against a timeout resolvingnull.src/DeepLinkHandler.tsx:101-121:if (url) { openReportFromDeepLink(...) } else { Report.doneCheckingPublicRoom(); }— and:125-134does the same on rejection.src/libs/actions/Link.ts:464-494.doneCheckingPublicRoom()with no initial URL dismisses the splash and boots the default route — the Home tab. Exactly the reported behaviour. All of these files are unchanged from the version that works in production.Why the native side stopped delivering the URL can't be confirmed from this repo — the Mobile-Expensify owners need to check that. The leading hypothesis, consistent with all five sibling blockers, is that enabling R8 optimization lets the optimizer inline or drop code that React Native reaches reflectively at the native-module / intent-handling boundary, failing silently rather than crashing. Existing keep rules were written for a shrink-only configuration.
Alternatives considered
Next Steps: Reply with
@MelvinBot <your feedback>to refine this analysis.view run
melvin-bot commentedon Sep 3, 2026
@mollfpr — to hire @TaduJR on Upwork, add the External label so a job is created and the offer is sent automatically.
mollfpr commentedon Sep 3, 2026
Confirm, reverting the https://github.com/Expensify/Mobile-Expensify/pull/14097 with the Adhoc here: https://github.com/Expensify/Mobile-Expensify/pull/14100, fixing this issue.
Screen.Recording.2026-09-03.at.14.08.40.mov
Also, comparing the
v9.4.69-0withv9.4.68-1,where it does not reproduce.Screen.Recording.2026-09-03.at.14.11.15.mov
mollfpr commentedon Sep 3, 2026
The offending PR is reverted. Requested for CP here: https://expensify.slack.com/archives/C07J32337/p1788419772691019
IuliiaHerets commentedon Sep 3, 2026
Issue is not repro in the latest build
Screen_Recording_20260904_003123_Expensify.mp4
melvin-bot commentedon Sep 8, 2026
@TaduJR Eep! 4 days overdue now. Issues have feelings too...
melvin-bot commentedon Sep 10, 2026
@TaduJR 6 days overdue. This is scarier than being forced to listen to Vogon poetry!
TaduJR commentedon Sep 12, 2026
Not overdue
We can close this @mollfpr
Resolved by https://github.com/Expensify/Mobile-Expensify/pull/14104