Skip to content

docs: require linkrunner 4.1.1 for Flutter ICM - #173

Open
Shofiya2003 wants to merge 1 commit into
mainfrom
docs/flutter-4-1-1-icm-version
Open

docs: require linkrunner 4.1.1 for Flutter ICM#173
Shofiya2003 wants to merge 1 commit into
mainfrom
docs/flutter-4-1-1-icm-version

Conversation

@Shofiya2003

Copy link
Copy Markdown
Collaborator

Summary

The Google ICM docs tell Flutter users to install linkrunner 4.1.0. That version does not compile on iOS, so anyone following these steps hits a hard build failure:

Swift Compiler Error (Xcode): Value of optional type 'String?' must be unwrapped to a value of type 'String'
ios/Classes/SwiftLinkrunnerPlugin.swift:322:31

The Swift bridge passes an optional paymentId into LinkrunnerKit.capturePayment, which has required a non-optional String since LinkrunnerKit 4.0.0. ICM is iOS-only, so every reader of these sections is affected.

4.1.1 carries the same ICM support plus the bridge fix.

Changes

Four Flutter-specific references, 4.1.0 → 4.1.1:

File Line What
features/google-icm.mdx 49 minimum supported version table row
features/google-icm.mdx 172 "Upgrade the package to ... or later"
features/google-icm.mdx 175 flutter pub add linkrunner:^4.1.1
sdk/flutter.mdx 168 "Requires linkrunner ... or later"

Deliberately unchanged: the LinkrunnerKit 4.1.0 and io.linkrunner:android-sdk:4.1.0 pins throughout — those are native SDK versions and are correct. Also unchanged are the historical Flutter feature minimums (3.5.0 for AAID, 3.7.0 for Ecommerce, 3.10.0 for user_id, 3.6.2 for Meta), which refer to when features landed rather than the current release.

Blocked on

Do not merge until linkrunner 4.1.1 is live on pub.dev — otherwise these docs point at a version that does not exist yet.

🤖 Generated with Claude Code

Flutter 4.1.0 does not compile on iOS — the Swift bridge passes an
optional paymentId into LinkrunnerKit's capturePayment, which has
required a non-optional String since LinkrunnerKit 4.0.0. Pointing
Flutter users at 4.1.0 to enable ICM sends them into a build that
cannot succeed, and ICM is iOS-only, so every reader of these
sections is affected.

4.1.1 carries the same ICM support plus the bridge fix
(RathodDarshil/linkrunner#40, LIN-2208).

Only the Flutter references move. The LinkrunnerKit and
io.linkrunner:android-sdk 4.1.0 pins are correct and unchanged, as
are the historical Flutter feature minimums (3.5.0, 3.7.0, 3.10.0).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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