Skip to content

Conversation

@FeodorFitsner
Copy link
Contributor

@FeodorFitsner FeodorFitsner commented Jan 15, 2026

Updated the platform check to ensure Android-specific code does not run on web by adding a '!kIsWeb' condition. This prevents potential issues when running on web platforms that report as Android.

Summary by Sourcery

Bug Fixes:

  • Prevent Android-only device info logic from running when the app is executing in a web environment.

Updated the platform check to ensure Android-specific code does not run on web by adding a '!kIsWeb' condition. This prevents potential issues when running on web platforms that report as Android.

Fix #6012
Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've reviewed this pull request using the Sourcery rules engine

@cloudflare-workers-and-pages
Copy link

Deploying flet-examples with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3d8d817
Status: ✅  Deploy successful!
Preview URL: https://af4cbf4d.flet-examples.pages.dev
Branch Preview URL: https://web-chrome-android-fix.flet-examples.pages.dev

View logs

@cloudflare-workers-and-pages
Copy link

Deploying flet-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3d8d817
Status: ✅  Deploy successful!
Preview URL: https://89e880ad.flet-docs.pages.dev
Branch Preview URL: https://web-chrome-android-fix.flet-docs.pages.dev

View logs

@FeodorFitsner FeodorFitsner merged commit 04c6d92 into main Jan 15, 2026
34 of 53 checks passed
@FeodorFitsner FeodorFitsner deleted the web-chrome-android-fix branch January 15, 2026 19:12
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.

3 participants