Fix Share button referral link to use dl.edge.app#6068
Merged
Conversation
Contributor
Author
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 9b2fc21. Configure here.
9b2fc21 to
7246dac
Compare
Contributor
Author
peachbits
approved these changes
Jul 10, 2026
7246dac to
e708ce5
Compare
0842b3f to
309d792
Compare
The side-menu Share action built its referral URL from the bare website domain (edge.app), which broke AppsFlyer appreferred attribution (refDeviceInstallerId). Route the share link through the dl.edge.app deep-link subdomain so the appreferred parameter is tracked, matching how other af= attributions already work.
309d792 to
6950fe4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



CHANGELOG
Does this branch warrant an entry to the CHANGELOG?
Dependencies
noneRequirements
If you have made any visual changes to the GUI. Make sure you have:
Description
The side-menu "Share Edge" action built its referral URL from the bare website
domain (
config.website=https://edge.app), producinghttps://edge.app?af=appreferred_<refId>. AppsFlyerrefDeviceInstallerIdattribution works for other
af=links but not forappreferredshares.This routes the share link through the AppsFlyer deep-link subdomain so the
appreferredattribution is tracked, matching how otheraf=attributionsalready resolve:
https://dl.edge.app?af=appreferred_<refId>Only
SideMenu.handleShareAppchanges.config.websiteis untouched, so theHelp modal official-site link still points at
edge.app.Tested on the iOS simulator: opened the side menu, tapped "Share Edge", and the
native share sheet link preview resolves to
dl.edge.app(screenshot below).Asana: https://app.asana.com/0/1215088146871429/1206924232175184
Note
Low Risk
Single share-handler URL change with config fallback; no auth, payments, or wallet logic touched.
Overview
Side-menu Share Edge no longer builds referral URLs from
config.website(https://edge.app?af=appreferred_…). It now uses a dedicated AppsFlyer deep-link base soappreferredshares getrefDeviceInstallerIdattribution like otheraf=links.Adds optional
referralAppShareUrlon app config (Edge setshttps://dl.edge.app). Share links becomehttps://dl.edge.app/?af=appreferred_<refId>with the/?path shape expected byDeepLinkParserand AppsFlyer. White-label builds without the field still fall back towebsite.config.websiteis unchanged elsewhere (e.g. Help official site).Reviewed by Cursor Bugbot for commit 6950fe4. Bugbot is set up for automated code reviews on this repo. Configure here.