jenssegers / jenssegers/agent

it's not working for me

Open
#47 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
4.9k
Forks
545
PR merge metrics
No merged PRs in 30d

Description

The mobile app built using QT hybrid application and we are not able to get it work using any of the following methods:

Agent::isMobile()
Agent::isTablet()
Agent::isAndroidOS()

The only method work is Agent::isDesktop() when sending the request using postman.

This is the current User-Agent value sent from the QT app : Mozilla\/5.0
Any idea?

Do we have to setup the QT app to send some details about the user?

Thanks.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the Agent::isMobile(), Agent::isTablet(), and Agent::isAndroidOS() entry points and reproduce the request using the Qt User-Agent value Mozilla/5.0, comparing it with the Postman request. No file or test is named; done should be a confirmed explanation of why only Agent::isDesktop() matches, with the required request details or a clearly scoped parser change identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.