WorryFree Computers   »   [go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR:Possible to make Dynamic Links parameters dictionary public #6730

Closed
alihanaktay opened this issue Oct 14, 2020 · 2 comments
Closed

FR:Possible to make Dynamic Links parameters dictionary public #6730

alihanaktay opened this issue Oct 14, 2020 · 2 comments

Comments

@alihanaktay
Copy link

Feature proposal

  • Firebase Component: Firebase Dynamic Links

In our use case we need to send some parameters(e.g. utm_ campaign, utm_medium etc.) to the backend for checking is any discount available for this campaign. In current developer's can't reach the dynamic links parameters even if received by app. Is it possible to make Dynamic links parameters public?

@rromanchuk
Copy link

Also +1 for anything that can be set via console/api link creation to have public accessors via an instance of DynamicLink, just because i enjoy being lazy and would enjoy not parsing urls for already structured data.

let handled = DynamicLinks.dynamicLinks().handleUniversalLink(link) { fdl, error in
  guard let fdl = fdl, let url = fdl.url else { return }
   
  // 😍  😍 😍 😍
  let campaign: String? = fdl.utmCampaign
  let medium: String? = fdl.utmMedium
}

@paulb777 paulb777 added this to the 7.7.0 - M90 milestone Feb 11, 2021
eldhosembabu added a commit that referenced this issue Feb 18, 2021
Adding "utmParametersDictionary" api to FIRDynamicLink.

This new property will enable 3p developers to fetch the Utm parameters associated with a Firebase Dynamic Link.

Related Issue: #6730

API Review Doc : https://docs.google.com/document/d/1NDBjiuCQEs3vnaPGfYKK2cdvJMIsJqukRtrZf8wsWCk (Approved)
@paulb777
Copy link
Member

Fixed by #7505

ziadtamim pushed a commit to ziadtamim/firebase-ios-sdk that referenced this issue Mar 11, 2021
Adding "utmParametersDictionary" api to FIRDynamicLink.

This new property will enable 3p developers to fetch the Utm parameters associated with a Firebase Dynamic Link.

Related Issue: firebase#6730

API Review Doc : https://docs.google.com/document/d/1NDBjiuCQEs3vnaPGfYKK2cdvJMIsJqukRtrZf8wsWCk (Approved)
@firebase firebase locked and limited conversation to collaborators Mar 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants