Skip to content

Parity with native SDK 0.2.0 - #30

Merged
ahsanalidotme merged 2 commits into
mainfrom
feat/parity-0.2.0
Nov 13, 2026
Merged

ahsanalidotme merged 2 commits into
mainfrom
feat/parity-0.2.0

Conversation

@ahsanalidotme

Copy link
Copy Markdown
Contributor

Brings the React Native wrapper to 0.2.0, matching the native SDKs.

  • Pins: iOS LinkTrailSDK ~> 0.2.0, Android io.linktrail:sdk:0.2.0.
  • New error code invalidEvent (Android LinkTrailError.InvalidEvent, iOS .invalidEvent(reason:)), with reason on the error and on onError. Added to LinkTrailErrorCode and the README error table.
  • iOS bridge calls setSDKIdentifier(platform: "react-native", version:) before configure, as Android already does.
  • Breaking: removes legacyCode and LinkTrailLegacyErrorCode (deprecated in 0.1.1).
  • Version 0.2.0, CHANGELOG entry.

Tests: npm test (69 passing, incl. new bridge source checks), lint and typecheck pass.

Merge only after native 0.2.0 is published (Maven Central and CocoaPods trunk). Until then the native example builds can't resolve the new pins, and example/ios/Podfile.lock needs regenerating with pod install once LinkTrailSDK 0.2.0 is on trunk.

Pin LinkTrailSDK ~> 0.2.0 and io.linktrail:sdk:0.2.0, add the invalidEvent
error code with its reason on both bridges, report the wrapper in the iOS
SDK header, and remove the deprecated legacyCode. Version 0.2.0.
@ahsanalidotme
ahsanalidotme marked this pull request as ready for review November 13, 2026 16:35
@ahsanalidotme
ahsanalidotme merged commit 136b573 into main Nov 13, 2026
12 checks passed
@ahsanalidotme
ahsanalidotme deleted the feat/parity-0.2.0 branch November 13, 2026 16:47
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