Welcome Guest, Not a member yet? Register   Sign In
Mobile Detect Library
#1

[eluser]pjlasl[/eluser]
First of all I want to say that I do not take credit for the content of this library. I just ported it to CI. All credit belongs to the developer(s) at http://www.mobiledetect.net/.

Documentation is available at their site. Current version is 2.5.2

I will try to keep this updated as much as possible.

#2

[eluser]PhilTem[/eluser]
I'm curious how much this class differs from the methods that CI has built-in using the user-agent class. Do you have any unit testings on that?
#3

[eluser]pjlasl[/eluser]
I honestly have not used the user-agent library in great depth, but the little I have looked at it, it does not contain all the options the mobiledetect class has.

You can identify between Os (i.e. Android/iOS), phone types (samsung, iphone, etc) and use functions like IsTablet, IsIpad, etc. It is alot more specific and detailed compared to the user-agent class in CI.




Theme © iAndrew 2016 - Forum software by © MyBB