Skip to content

feat: adopt iOS SDK 0.0.11 (clickTokenSource 'none') - #5

Merged
ahsanalidotme merged 3 commits into
mainfrom
feat/ios-sdk-0.0.11
Aug 9, 2026
Merged

feat: adopt iOS SDK 0.0.11 (clickTokenSource 'none')#5
ahsanalidotme merged 3 commits into
mainfrom
feat/ios-sdk-0.0.11

Conversation

@ahsanalidotme

@ahsanalidotme ahsanalidotme commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Adopts the LinkTrail iOS SDK 0.0.11 release.

What's in this release

  • Bump iOS native SDK to LinkTrailSDK ~> 0.0.11 (from 0.0.10) in the podspec.
  • New clickTokenSource: 'none' mode (iOS) — the SDK never touches the clipboard (no paste button, no "Allow Paste" alert); deferred matching falls back to probabilistic IP matching only. Purely additive alongside the existing 'pasteButton' (default) and 'automatic' modes.
  • Swift bridge maps 'none'LinkTrailClickTokenSource.none.
  • Regenerate example/ios/Podfile.lock at LinkTrailSDK 0.0.11 (the committed lock pinned = 0.0.10, which conflicted with the new ~> 0.0.11; pod install --repo-update refreshes the spec repo but won't upgrade an already-locked pod).
  • Wrapper version → 0.0.4; README + CHANGELOG updated.

0.0.11 is a non-breaking, additive release (iOS 15+). Android is unaffected.

Verification

All CI green, including the iOS simulator build — which compiles the Swift .none change against the real 0.0.11 SDK. tsc typecheck passes.

Follow-up (not in this PR)

.github/workflows/ios.yml has a latent bug: the pod install retry for loop exits 0 even when all 3 attempts fail (last command in the loop body is sleep 5), so a failed pod install doesn't fail the step and xcodebuild then runs against a missing Pods/ dir. Worth hardening (e.g. exit 1 after the loop). Left out here because it needs a separate commit with workflow scope.

- Bump podspec dependency LinkTrailSDK ~> 0.0.10 -> ~> 0.0.11
- Add 'none' clickTokenSource (iOS): SDK never touches the clipboard,
  deferred matching falls back to probabilistic IP matching
- Map 'none' -> LinkTrailClickTokenSource.none in the Swift bridge
- Bump wrapper version to 0.0.4; update README + CHANGELOG
The committed lockfile pinned LinkTrailSDK = 0.0.10, so the CI
'pod install --repo-update' hit an unsatisfiable constraint against the
podspec's new ~> 0.0.11 (--repo-update refreshes the spec repo but won't
upgrade an already-locked pod). Regenerate the lock at 0.0.11 and sync the
example package-lock's root reference to 0.0.4.
The retry for-loop exited 0 even when all attempts failed (last command
was 'sleep 5'), so a failed pod install let xcodebuild run against a
missing Pods/ dir. Exit 0 on success, exit 1 after 3 failures.
@ahsanalidotme
ahsanalidotme merged commit b5adea9 into main Aug 9, 2026
7 checks passed
@ahsanalidotme
ahsanalidotme deleted the feat/ios-sdk-0.0.11 branch August 9, 2026 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant