device-detector-js icon indicating copy to clipboard operation
device-detector-js copied to clipboard

Device model info is empty in response.

Open deepakgptindia1 opened this issue 1 week ago • 1 comments

⚠️ Missing/incorrect detections should be reported at https://github.com/matomo-org/device-detector/issues instead of this repo.

Hi team,

I tested this library on multiple Android devices, created a React app, and hosted it. However, I am not able to see the "device.model" info in the response.

Application URL: https://deepakgptindia1.github.io/device-detector-js/

Here is the sample response:

{ "client": { "type": "browser", "name": "Chrome Mobile", "version": "126.0", "engine": "Blink", "engineVersion": "" }, "os": { "name": "Android", "version": "10.0", "platform": "" }, "device": { "type": "smartphone", "brand": "", "model": "" }, "bot": null }

The same is true for the URL provided on npm, i.e., https://lx3rzx16x9.codesandbox.io/.

deepakgptindia1 avatar Jun 27 '24 06:06 deepakgptindia1