Skip to content

SDK-8262: README notes for entry files and Swift Package Manager, fix the log prefix - #2

Merged
yashdsaraf merged 3 commits into
mainfrom
SDK-8262-swiftpm-note
Nov 30, 2026
Merged

yashdsaraf merged 3 commits into
mainfrom
SDK-8262-swiftpm-note

Conversation

@rounak610

@rounak610 rounak610 commented Nov 30, 2026 •

Copy link
Copy Markdown
Collaborator

Three README changes for the Flutter sample.

Jira: SDK-8262

What's in it

  • "Add BrowserStack to your own app", step 2: in an entry file that runs other test files (for example group('login', login.main)), call BrowserStack.init() once at the top of its main(), before any group(), with an example entry file (checked with the Dart analyzer). A call inside a group() only covers that group's tests, and the package now warns about it in the device log. Raised in the package review: https://github.com/browserstack/browserstack-dart-sdk/pull/1#discussion_r4736214447
  • "Good to know": on Flutter 3.27 to 3.40, keep Swift Package Manager off for the iOS build. The browserstack_dart_sdk Swift package depends on Flutter's FlutterFramework package, which Flutter only generates from 3.41, so an iOS build with Swift Package Manager turned on can fail on those versions. It's off by default there; the note gives the command to turn it off. Other Flutter versions aren't affected (no Swift Package Manager before 3.27 on stable, FlutterFramework from 3.41). Raised in the package review: https://github.com/browserstack/browserstack-dart-sdk/pull/1#discussion_r4736214479
  • "Good to know": the package's log prefix is now [BROWSERSTACK_SDK] (changed in browserstack/browserstack-dart-sdk#1), not [BrowserStack].

Testing

Docs only. The Flutter version facts come from the Flutter tool source (Swift Package Manager opt-in on stable from 3.27, FlutterFramework from 3.41, on by default from 3.44); the 3.27 to 3.40 build failure has not been reproduced on a build.

🤖 Generated with Claude Code

…g prefix

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@rounak610
rounak610 requested a review from a team as a code owner November 30, 2026 09:39
…up()

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@rounak610 rounak610 changed the title SDK-8262: Note Swift Package Manager on Flutter 3.27-3.40, fix the log prefix SDK-8262: README notes for entry files and Swift Package Manager, fix the log prefix Nov 30, 2026
…s groups

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Central YAML (base), Organization UI (inherited), Workspace UI (inherited); Enforced overrides: Organization
  • Review profile: ASSERTIVE
  • Plan: Enterprise
  • Run ID: 5be611e9-fed6-44f2-a0f1-079fa30f7f68

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@yashdsaraf
yashdsaraf merged commit e11ab22 into main Nov 30, 2026
5 checks passed
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.

4 participants