Repository navigation
fix(deeplink): deliver the deferred deep link once, on the launch that reports the install - #10
Merged
Merged
Conversation
…t reports the install onDeferredDeepLink is called with the link's data, or null for an organic install, whether it is registered before or after init(). Later launches don't call it; getInstallData() still returns the install's link data.
onamfc
force-pushed
the
fix/deferred-deep-link-once
branch
from
October 21, 2026 14:19
e874e84 to
941bfec
Compare
|
🎉 This PR is included in version 1.7.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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.
What
onDeferredDeepLinkis called once, on the launch that reports the install: with the link's data, ornullfor an organic install. It can be registered before or afterinit(); a callback registered after the install is reported gets the same result. Later launches don't call it.getInstallData()still returns the install's link data at any time.This matches the iOS, Android, Expo and Flutter SDKs, and the README, which already described the callback as called on first launch.
DeferredDeepLinkholds the callback and the install's result;reportInstall(first launch only) delivers to it.await init()asnull.Tests
DeferredDeepLink: a callback registered before or after delivery,nullfor an organic install, and nothing on a launch that does not report the install.LinkFortySDKimportsreact-native, which the test runner cannot parse, so the delivery lives in its own module.