Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Google Search App detection #966

Merged
merged 4 commits into from
Apr 27, 2024
Merged

Add support for Google Search App detection #966

merged 4 commits into from
Apr 27, 2024

Conversation

wangkanai
Copy link
Owner

@wangkanai wangkanai commented Apr 27, 2024

A new browser type, Google Search App, has been added to the Browser enumeration in the Detection library. Corresponding unit tests for the Google Search App have also been added to ensure proper identification and version resolution.

Ref: #960

CriOS => Chrome iOS
GSA => Google Search App

A new browser type, Google Search App, has been added to the Browser enumeration in the Detection library. Corresponding unit tests for the Google Search App have also been added to ensure proper identification and version resolution.

Ref: #960
@wangkanai wangkanai linked an issue Apr 27, 2024 that may be closed by this pull request
@wangkanai wangkanai added this to the 8.0 milestone Apr 27, 2024
@wangkanai wangkanai added the bug label Apr 27, 2024
@wangkanai wangkanai self-assigned this Apr 27, 2024
BrowserService has been refactored to improve readability by eliminating the redundant usage of private readonly fields. We also added the ability to detect the Google Search App, including its version, enhancing the overall detection capability of the service.
The default name in the Detection/sign.ps1 has been updated to "Open Source Developer, Sarin Na Wangkanai". Simultaneously, the "Detection" function has been enabled in sign.ps1, allowing it to be used in the signing process.
The commit refactors the browser detection by implementing a dedicated function, IsChrome, which improves the Chrome detection process. It also includes the addition of the GetVersionChrome function for parsing the version specifically for Chrome browsers, handling cases with "crios" in the agent string.
Copy link

sonarcloud bot commented Apr 27, 2024

@wangkanai wangkanai merged commit 0f61dca into main Apr 27, 2024
2 checks passed
@wangkanai wangkanai deleted the google branch April 27, 2024 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Google Search App on Iphone is not detected properly
1 participant