Repository navigation
v0.4.0
Added
-
Tolinku.configure()initialises the SDK. The name the Android, iOS and
Flutter SDKs use.Tolinku.init()does the same thing and still works; it is
what this package shipped and breaking it would serve nobody. It is meant for
deprecation later, once moving off it is a one-line change rather than a
surprise.Teardown needed nothing here: this SDK already called it
destroy(), which is
now the name on all five.
Added
-
claimDeferredLink()recovers the link that led to an install, asking the Play
Install Referrer first and falling back to device signal matching. Call it once
on first launch instead of choosing betweenclaimByTokenandclaimBySignals
yourself. -
The Play Install Referrer is read by this package directly, so nothing extra
needs installing. Android links already carried a referrer token to the store
and nothing read it back, which left every install matched only by device
signals: probabilistic, and expiring two hours after the click.Autolinking is per-platform, so an iOS-only app never builds it, and
NativeModulesis read lazily so its absence in Expo Go degrades to signal
matching rather than crashing. -
claimDeferredLink()runs once per install and remembers it, so calling it on
every launch costs nothing after the first. A dropped request is not counted as
an answer, so a first launch without a connection retries rather than spending
the install's one chance at attribution. -
Token claims now name their Appspace. It narrows what a token may claim, never
widens it, and it is what lets a failed claim be counted: the default host
resolves to no Appspace, so a miss previously belonged to nobody and the
reported referrer match rate would have read 100% regardless.
Fixed
Tolinku.VERSIONand theUser-Agentreported 0.1.0 through two releases.
A test now fails if the constant drifts from the published version.