Skip to content

docs(flutter ui kit): the documented platform floors cannot be built against - #500

Merged
raj-dubey1 merged 1 commit into
cometchat:docs/skills-v5-tempfrom
anshuman-cometchat:docs/flutter-uikit-platform-floors
Sep 8, 2026
Merged

docs(flutter ui kit): the documented platform floors cannot be built against#500
raj-dubey1 merged 1 commit into
cometchat:docs/skills-v5-tempfrom
anshuman-cometchat:docs/flutter-uikit-platform-floors

Conversation

@anshuman-cometchat

Copy link
Copy Markdown
Contributor

ui-kit/flutter/getting-started says minSdk = 24 and platform :ios, '13.0'; call-features
says minSdkVersion 24 and platform :ios, '12.0'. No Flutter UI Kit app can satisfy any of
those
— and the failure is a build error, not a warning.

Why

cometchat_chat_uikit 6.1.1 depends on cometchat_calls_sdk unconditionally — main
dependencies: block, not behind an opt-in — and that package pins minSdkVersion 26 and
platform :ios, '15.1' (5.0.7; iOS was 13.0 through 5.0.6).

Gradle and CocoaPods both take the maximum across the dependency graph, so a lower app-level
value is a manifest-merger error on Android and a failed pod install on iOS.

Proof rather than inference. Resolving a pubspec whose only dependency is
cometchat_chat_uikit: ^6.1.0:

cometchat_chat_uikit     direct main      6.1.1
cometchat_calls_sdk      transitive       5.0.7
cometchat_sdk            transitive       5.0.7

Why this was easy to get wrong

The kit's own AAR really does allow minSdkVersion 21, and its own podspec really does say
9.0. Reading the kit in isolation gives a lower answer; only the resolved graph is right.
The documented 24 looks like it came from exactly that reasoning — close, and still unbuildable.

The change

Page Was Now
getting-started minSdk = 24 · platform :ios, '13.0' minSdk = 26 · platform :ios, '15.1'
call-features minSdkVersion 24 · platform :ios, '12.0' minSdkVersion 26 · platform :ios, '15.1'

Each with a short note saying why — that the Calls SDK comes along with the kit whether or not
the app uses calling, and that the maximum across the graph is what binds. On call-features that
matters twice: a reader there is enabling calling and would otherwise read the floor as calling's
price rather than the kit's baseline.

Scope

Current (unversioned = v6) pages only. The archived ui-kit/flutter/v4/ and ui-kit/flutter/v5/
trees are untouched — they document older versions with their own floors.

Separate PR from #492 because ui-kit/flutter is a different page tree from
/calls/flutter.

Companion skills change: 10 sites across 8 cometchat-flutter-v6-* skills carried the
documented numbers and are corrected in cometchat-team/cometchat-skills#184.

Closes DOCS-BACKLOG D7.

…against

`ui-kit/flutter/getting-started` says `minSdk = 24` and `platform :ios, '13.0'`;
`call-features` says `minSdkVersion 24` and `platform :ios, '12.0'`. **No Flutter UI Kit app can
satisfy any of those**, and the failure is a build error, not a warning.

## Why

`cometchat_chat_uikit` 6.1.1 depends on **`cometchat_calls_sdk` unconditionally** — it sits in
the main `dependencies:` block, not behind an opt-in — and that package pins
`minSdkVersion 26` and `platform :ios, '15.1'` (5.0.7; iOS was 13.0 through 5.0.6).

Gradle and CocoaPods both take the **maximum** across the dependency graph, so a lower app-level
value is a manifest-merger error on Android and a failed `pod install` on iOS.

Proof rather than inference — resolving a pubspec whose only dependency is
`cometchat_chat_uikit: ^6.1.0`:

```
cometchat_chat_uikit     direct main      6.1.1
cometchat_calls_sdk      transitive       5.0.7
cometchat_sdk            transitive       5.0.7
```

## Why it was easy to get wrong

The kit's own AAR really does allow `minSdkVersion 21`, and its own podspec really does say
`9.0`. Reading the kit in isolation gives a lower answer; only the resolved graph is right. The
documented 24 looks like it came from exactly that reasoning — close, and still unbuildable.

## The fix

Both pages now say `minSdk = 26` and `platform :ios, '15.1'`, each with a short note saying
**why** — that the Calls SDK comes along with the kit whether or not the app uses calling, and
that the maximum across the graph is what binds. On `call-features` that note matters twice,
since a reader there is enabling calling and would otherwise assume the floor is calling's price
rather than the kit's baseline.

## Scope

Current (unversioned = v6) pages only. The archived `ui-kit/flutter/v4/` and `ui-kit/flutter/v5/`
trees are left alone — they document older versions with their own floors.

This is a different page tree from the `/calls/flutter` corrections in cometchat#492, which
is why it is a separate PR. Companion skills change: 10 sites across 8 `cometchat-flutter-v6-*`
skills carried the documented numbers and have been corrected in
cometchat-team/cometchat-skills#184.

Closes DOCS-BACKLOG D7.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@anshuman-cometchat
anshuman-cometchat force-pushed the docs/flutter-uikit-platform-floors branch from b055d06 to 0af624c Compare September 8, 2026 11:48
@raj-dubey1
raj-dubey1 merged commit fc794d0 into cometchat:docs/skills-v5-temp Sep 8, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants