firebase-ios-sdk
firebase-ios-sdk copied to clipboard
[FR]: Support App Store Custom Product Page
Description
- Use case
We use dynamic link to direct our new user to the App Store when then don't have the app yet.
The App Store just released a new feature call App Store Custom Product Page which allow to specify a ppid
parameter to use a different product page.
We'd like some of our dynamic link to direct the user to a different product page.
Would it be possible to add a dynamic link parameter link isppid
(for iOS Store Product Page ID) to specify on which product page we'd like to send the user.
- How the Firebase SDK currently handles it
Nothing changes on Firebase SDK, it's all on backend side when routing the user to the App Store.
- How you propose the Firebase SDK should handle it
N/A
API Proposal
Add an iOS parameters to firebase dynamic link isppid
(for i
OS S
tore P
roduct P
age ID
) which will be used to add the correct ppid
parameter to the App Store URL and send the user to the correct page.
Firebase Product(s)
DynamicLinks
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
Hello,
For those of you interested, we found a workaround pending a cleaner solution from firebase.
We use ifl
(iOS fallback link) parameter to provide our own App Store URL (with the custom product page ID).
It does mean we have to define this URL fully instead of relying on the App Store app ID configure in our firebase project. But it remains a working solution to send user to a custom App Store product page.
@jc-paris does this still work for you? I have created a link in the console, specifying a custom URL if the user doesn't have the app installed - however I just get redirected to the dynamic link's deep link URL.
Before making this change, I was redirected to the app store.

FIXED - I needed to add the following to my allowlist:
^https://apps.apple\.com/us/app/<APP NAME HERE>/.*$
@chrisjacobs91 Did you use any dynamic content (query params) in the deep-link URL of the FDL so that user can reach a specific section of he app post first launch or you just wanted the users to redirect to those custom product pages?
@abhi0987 @chrisjacobs91 @jc-paris @rizafran We are trying to solve this exact issue at the moment.
When using an FDL to link to the App Store, it captures query params from the deep-link URL; however, when routing users to the iOS_fallback link which includes the ppid=XXX for the Apple CPP those params are not picked up the app post-install.
We've tried adding these params to the iOS_fallback link as params after the ppid= param, and still no luck.
Has anyone figured out the solve for this? Any tips would be super appreciated! 🙏
@masterhealth I tried the appstore custom product page with ppid=xxx with fallback link and preview page enabled and it worked post install. You may be facing the issue because you haven't enabled the FirebaseDeepLinkPasteboardRetrievalEnabled
in info.plist . If you haven't enabled the FirebaseDeepLinkPasteboardRetrievalEnabled
then app wont capture the incoming dynamic url and its utm tracking params from pasteboard . you have to enable the above to receive the dynamic URL with good match.
@abhi0987 Is the preview page essential for this to work? What if we have efr=1 as part of the URLs? Would that break the app's ability to receive the dynamic URL params and info?
@masterhealth Yes, as in my case it did not work without the preview page. Also preview page is essential if the users are apple's icloud+ users where ios uses private relay
to restrict access to incoming urls or ip address. Only preview page along with pasteboard inside the app will work to navigate users to respective section post install and also you can track using utm params in this method.
Thanks so much @abhi0987! We'll experiment with that config to see if we can get it working as well.
@masterhealth Cool. Keep me posted on how your final dynamic flow looks like.
Now that Firebase DynamicLinks is planned to shut down, closing its feature requests.