Skip to content

Test branch: revert Bolt native deep link to bolt://ride - #91

Closed
neteinstein wants to merge 2 commits into
mainfrom
claude/bolt-deep-link-test-j7phv9
Closed

neteinstein wants to merge 2 commits into
mainfrom
claude/bolt-deep-link-test-j7phv9

Conversation

@neteinstein

Copy link
Copy Markdown
Owner

Summary

This is a test-only branch, not intended to be merged. It reverts MainViewModel.createBoltDeepLink from the current bolt://action?... host back to the original bolt://ride?... host used by the original hack in PR #63.

Context: PR #63's bolt://ride approach was later superseded by PR #79/#80/#81, which switched to bolt://action after reading Bolt's own shipped AndroidManifest.xml (ee.mtakso.client) and finding that only action has a verified autoVerify="true" intent-filter, while ride only matches a generic catch-all with no host constraint. That action-host guess is itself still unverified against the actual query-param contract.

This branch swaps just the host back to ride so the original trick can be exercised through the real split-screen launch flow (Uber + Bolt side by side), to directly confirm on a device whether it actually sets pickup/destination in Bolt, or whether the PR #79-#81 analysis holds.

  • createBoltDeepLink now builds bolt://ride?pickup_lat=...&destination_lat=... (and the plain-address fallback) instead of bolt://action?...
  • Everything else (web fallback URL, native→web fallback flow in MainActivity, Bolt Link Lab, food delivery search, etc.) is untouched
  • Updated BoltDeepLinkFormatTest to assert the reverted host

Test plan

  • Could not run ./gradlew test in this sandbox — outbound access to dl.google.com (Android Gradle Plugin) is blocked by the environment's network policy, so the build couldn't be verified locally
  • pr-check.yml CI (lint + unit tests) should verify compilation and the updated test
  • Install a debug build on-device and confirm whether tapping through actually sets Bolt's pickup/destination via bolt://ride?...

🤖 Generated with Claude Code

https://claude.ai/code/session_011YzvGCiBGRiG9UQnwf43yM


Generated by Claude Code

createBoltDeepLink used the ride host (the original PR #63 hack) before
PR #79/#80/#81 switched it to action based on Bolt's manifest. This
test branch reverts just that host so the ride-host trick can be
exercised through the real split-screen flow, not only via the Bolt
Link Lab candidate list, to confirm whether it actually sets the
destination on-device.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011YzvGCiBGRiG9UQnwf43yM
Lets a debug build (this test branch's bolt://ride revert included)
install alongside the release app instead of overwriting it, since
Android treats a different applicationId as a different app.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011YzvGCiBGRiG9UQnwf43yM
@neteinstein neteinstein closed this Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants