Repository navigation
fix(user-agent): identify native Flutter iOS apps - #289
Merged
Merged
Conversation
HarshMN2345
requested review from
Meldiron,
abnegate,
eldadfux and
loks0n
as code owners
September 17, 2026 06:16
Benchmark resultsuser-agent
Shared CI runners — treat absolute numbers as rough, compare modes within a run. Commit 5dfeff9. |
Meldiron
approved these changes
Sep 17, 2026
Member
Author
1 task done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Flutter iOS headers such as
com.example.myapp/1.0.0 iPhone17,1 iOS/18.1currently produce no client identity. Recognize this native format as a mobile app, using its bundle identifier and version, while preserving existing browser/library precedence and OS/device detection.Addresses appwrite/appwrite#9372. This fixes the missing native-app metadata in the current parser; Appwrite must adopt a release containing this change before deployed account/session metadata changes.
Validation:
bin/monorepo test user-agent: 98 tests, 402 assertions passed. The newUserAgentTest::testNativeAppIsMobileAppcase fails against the unchanged parser.bin/monorepo check user-agent: Pint, PHPStan, and Rector passed.mobile app/com.example.myapp; OS/device values are unchanged.