File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55- added: NYM swap provider (` nymswap ` )
66- changed: Route maestro test builds to a dedicated Zealot channel so they no longer appear in the production release list.
77- changed: Hide the wallet "Get Raw Keys" option behind Developer Mode, while still showing it for wallets that fail to load.
8+ - fixed: Share button referral link now uses the dl.edge.app deep-link domain so appreferred attribution is tracked
89- removed: SideShift ` privateKey ` from env config; the swap integration no longer sends the affiliate secret header.
910
1011## 4.49.0 (staging)
Original file line number Diff line number Diff line change @@ -199,7 +199,13 @@ export function SideMenuComponent(props: Props): React.ReactElement {
199199 . replace ( '0x' , '' )
200200 . substring ( 0 , 10 )
201201
202- const url = `${ config . website } ?af=appreferred_${ refId } `
202+ // Share the app via the AppsFlyer deep-link URL so the appreferred referral
203+ // attribution (refDeviceInstallerId) is tracked. Defaults to dl.edge.app for
204+ // Edge; white-label builds fall back to their own website domain. The trailing
205+ // slash before the query matches the dl.edge.app deep-link format (see
206+ // DeepLinkParser), which AppsFlyer needs to resolve the attribution.
207+ const shareUrlBase = config . referralAppShareUrl ?? config . website
208+ const url = `${ shareUrlBase } /?af=appreferred_${ refId } `
203209 const subject = sprintf ( lstrings . share_subject , config . appName )
204210
205211 await Share . open ( {
Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ export const edgeConfig: AppConfig = {
3737 supportSite : 'https://help.edge.app/support/tickets/new' ,
3838 termsOfServiceSite : 'https://edge.app/tos/' ,
3939 website : 'https://edge.app' ,
40+ referralAppShareUrl : 'https://dl.edge.app' ,
4041 supportChatSite : 'https://support.edge.app/hc/en-us?chat=open' ,
4142 quickActions : {
4243 uninstallWarningUrl :
Original file line number Diff line number Diff line change @@ -376,6 +376,12 @@ export interface AppConfig {
376376 supportSite : string
377377 termsOfServiceSite : string
378378 website : string
379+ /**
380+ * Base URL used when sharing the app for referral attribution (the AppsFlyer
381+ * deep-link domain). Falls back to `website` when unset so white-label builds
382+ * share links on their own domain.
383+ */
384+ referralAppShareUrl ?: string
379385 disableSwaps ?: boolean
380386 disableSurveyModal ?: boolean
381387 /**
You can’t perform that action at this time.
0 commit comments