Better User Agent for Code Igniter ? |
[eluser]ReyPM[/eluser]
From my browser at PC says: Quote:Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20100101 Firefox/12.0and from BB device says: Quote:Mozilla/5.0 (Blackberry U;Blackberry 9300;en) AppleWebKit/534.8+ (KHTML, like Gecko) Version/6.00.668 Mobile Safari/534.8+ So .... ¿?
[eluser]CroNiX[/eluser]
I thought you were checking for Android, not Blackberry?
[eluser]ReyPM[/eluser]
I was checking for both but this isn't the issue. Even if I navigate from BB or Android or iPhone shouldn't be user agent set as mobile instead of browser?
[eluser]CroNiX[/eluser]
Yes. You can create an issue on github if one doesn't already exist for this.
[eluser]ReyPM[/eluser]
Fine, reported here https://github.com/EllisLab/CodeIgniter/issues/1347
[eluser]weboap[/eluser]
waiting on the bug report can you try this http://getsparks.org/packages/mobiledete.../HEAD/show hope it help
[eluser]ReyPM[/eluser]
This is for mobile device detection as README says not for get the type of mobile
[eluser]weboap[/eluser]
true, but the library have device signatures that you can build on... |
Welcome Guest, Not a member yet? Register Sign In |