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

Android Bugz #1

Closed
necenzurat opened this issue Sep 9, 2012 · 2 comments
Closed

Android Bugz #1

necenzurat opened this issue Sep 9, 2012 · 2 comments
Assignees
Milestone

Comments

@necenzurat
Copy link

I have 2 bugs:

  • on the stock browser it returns isSafari(true) wich is false

Android Stock

  • and on chrome browser it retuns isChrome(true) and isSafari(true)

Android Chrome

@serbanghita
Copy link
Owner

If Mozilla/5.0 (Linux; U; Android 4.1.1; en-us; GT-I9000 Build/JRO03L) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30 is the first UA then isSafari() is correct, it refers to the Mobile Safari.

If Mozilla/5.0 (Linux; Android 4.1.1; GT-I9000 Build/JRO03L) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19 is your second UA isSafari() should be false indeed. Thanks for submitting, next time please copy paste the User-Agent.

@ghost ghost assigned serbanghita Sep 9, 2012
@serbanghita
Copy link
Owner

done in v. 2.1 RC2 release

serbanghita pushed a commit that referenced this issue Aug 19, 2014
serbanghita pushed a commit that referenced this issue Jun 18, 2015
serbanghita pushed a commit that referenced this issue Feb 19, 2021
* Add Xiaomi phone model

adding some phone model by xiaomi, pocophone and redmi

* Update Mobile_Detect.php

* add in some more test data getting on friend mobile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants