You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have started using HTTP::BrowserDetect and have noticed that it currently has the methods mobile(), tablet(), and robot(), but not phone(). I'm wondering if there are any plans to add such a method. Right now, I'm just doing:
@oalders@dougwilson Any thoughts on this? From what I understood of #38 and #90, there should be at least interesting to document on the POD something like "what's the best way to tell if it's a phone?" pointing to either this solution or maybe something regarding os() or device().
I have started using HTTP::BrowserDetect and have noticed that it currently has the methods mobile(), tablet(), and robot(), but not phone(). I'm wondering if there are any plans to add such a method. Right now, I'm just doing:
return ($browser->mobile && ! $browser->tablet && ! $browser->robot) ? 1 : 0;
but a provided method would be great, if that's possible.
The text was updated successfully, but these errors were encountered: