Recreating PR #5966 Instead of using firebasedynamiclinks-ipv4.googleapis.com and firebasedynamiclinks-ipv6.googleapis.com for doing attribution calls, we are moving towards using firebasedynamiclinks.googleapis.com. Fixes #5032 -changed ipv4 and ipv6 attribution calls with a single direct url. -Removed and refactored code to get rid of code to handle consolidated results from ipv4 and ipv6 result. -Made changes to Test app to show alert dialog when universal linking when app is not in background case and also for fresh start case.
Firebase Dynamic Links SDK for iOS
Firebase Dynamic Links are universal deep links that persist across app installs. For more info, see the Firebase website.
Please visit our developer site for integration instructions, documentations, support information, and terms of service.
Managing the Pasteboard
Firebase Dynamic Links 4.2.0 and higher use a plist property
FirebaseDeepLinkPasteboardRetrievalEnabled that a developer can set to enable/disable the use of
iOS pasteboard by the SDK.
FDL SDK uses the pasteboard for deep-linking post app install (to enable deferred deep-linking, where the link is copied on the app preview page) and app install attribution; otherwise, FDL does not use the pasteboard for anything else.
Disabling pasteboard access affects the app in the following ways:
- Deferred deep-linking will not work as reliably. At best, your app receives weak matches for deep-links.
- App install attribution stats will be less accurate (potentially undercounting app installs).
Enabling pasteboard access affects the app in the following ways:
- On iOS 14, will show a system alert notifying that your app accessed the content in the pasteboard. This should happen one-time after installation of the app.
- Deferred deep-linking will work as designed. At best, your app receives a perfect match for deep-links.
- SDK will be able to more reliably attribute installation stats for links.
For more information, check out the iOS documentation.