8000 Tags · tolinku/ios-sdk · GitHub
[go: up one dir, main page]

Skip to content

Tags

Tags

v0.8.2

Toggle v0.8.2's commit message
Unwrap email links once, without counting the click twice, and releas…

…e 0.8.2

v0.8.1

Toggle v0.8.1's commit message
Stop a deferred open being swallowed by the open before it

The dedupe that keeps one tap from being counted twice was keyed on the URL
alone, so a deferred report arriving just after an ordinary one for the same
link was discarded as a repeat. It is not a repeat: they are different events
on the server, and only the app can tell them apart.

It bites in a journey that is not unusual. Somebody taps a link, has no app,
installs, then taps the link again. The second tap opens the app and delivers
the ordinary open immediately; the deferred open follows a moment later, once
the claim comes back. The report that completes the install funnel was the one
thrown away, in exactly the case that stage exists to show.

The flag is part of the key now. Reporting the same thing twice is still
suppressed, which is all the dedupe ever claimed to do.

Found by review rather than by a test, because on three platforms the rule was
only covered for the URL case and on Android it was not covered at all.

v0.8.0

Toggle v0.8.0's commit message
Release 0.8.0

Adds the deferred flag to trackLinkOpen, so an app can say whether an open
followed a deferred install. See CHANGELOG.md.

v0.7.1

Toggle v0.7.1's commit message
0.7.1

Adds PrivacyInfo.xcprivacy, declaring the UserDefaults required-reason API
(CA92.1) and the six data types the SDK can send. Tracking is declared false
with no tracking domains. The manifest is wired into Package.swift resources
so it reaches consuming apps.

v0.7.0

Toggle v0.7.0's commit message
8000

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Probe the Swift 6 language mode in CI and release 0.7.0

v0.6.1

Toggle v0.6.1's commit message
Release as 0.6.1

Everything in this release is a fix for something that did not work, so the
patch number is the honest one. Nothing here adds an API.

v0.6.0

Toggle v0.6.0's commit message
0.6.0

Add links.resolve, for a link the app cannot read

v0.5.0

Toggle v0.5.0's commit message
0.5.0

v0.4.0

Toggle v0.4.0's commit message
Tear down with destroy, the name the other SDKs use

Teardown was called three different things across the five SDKs: shutdown
here and on Android, destroy on React Native and web, dispose on Flutter.
Same job, three words, and an app sharing code across platforms had to
remember which one it was holding.

destroy is the name everywhere now. shutdown does the same thing and still
works: it is what this SDK shipped, breaking it would serve nobody, and it is
meant for deprecation only once moving off it is a one-line change rather
than a surprise.

Tests check the resulting state rather than trusting that one still calls the
other: both clear the shared instance, both allow configuring again
afterwards, and calling destroy on an SDK that was never configured does
nothing rather than failing.

Not compiled locally: no Swift toolchain on this machine. Every symbol was
checked against its declaration, and CI builds and tests this on macOS.

v0.3.0

Toggle v0.3.0's commit message
Fix the compile errors that have broken every build since v0.2.0

The iOS package has not compiled since the ecommerce module landed. CI recorded
the failure at the time and it went unnoticed, so the released v0.2.0 tag does
not build: anyone resolving TolinkuSDK through Swift Package Manager gets a
package that fails to compile.

Two distinct errors.

Ecommerce.swift used `cartId ?? await cartIdManager.get()`. Swift does not allow
`await` to the right of a non-assignment operator, and the same expression also
tripped actor isolation checks because the call was being made outside an async
context. Five call sites, now written as an explicit branch, which also makes
the hop onto the actor visible where it happens.

Tolinku.swift built the ecommerce module with a closure capturing `self` while
the stored properties were still being initialised, which Swift rejects. The
user ID now lives in a small lock-guarded box, created as a local in init and
captured by the closure directly. That removes the use-before-initialisation and
the weak-self dance with it, and the closure keeps working without holding a
reference back to the SDK instance.

Neither error was in the 0.3.0 signal changes; those simply inherited a build
that was already broken.
0