jenssegers / agent

👮 A PHP desktop/mobile user agent parser with support for Laravel, based on Mobiledetect
https://jenssegers.com
MIT License
4.53k stars 473 forks source link

Device Recognizer doesn't seem working. #190

Open Fliw opened 3 years ago

Fliw commented 3 years ago

image i have that code in my middleware laravel 6, the objective is simple, just to record user's device.. but the device() method return false, i've tried on postman and on real android phone, it's still same.. any solution?

n-h-tuan commented 2 years ago

You could try with Agent::device()