Better User Agent for Code Igniter ? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Better User Agent for Code Igniter ? (/showthread.php?tid=51608) Pages:
1
2
|
Better User Agent for Code Igniter ? - El Forum - 05-10-2012 [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 .... ¿? Better User Agent for Code Igniter ? - El Forum - 05-10-2012 [eluser]CroNiX[/eluser] I thought you were checking for Android, not Blackberry? Better User Agent for Code Igniter ? - El Forum - 05-10-2012 [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? Better User Agent for Code Igniter ? - El Forum - 05-10-2012 [eluser]CroNiX[/eluser] Yes. You can create an issue on github if one doesn't already exist for this. Better User Agent for Code Igniter ? - El Forum - 05-10-2012 [eluser]ReyPM[/eluser] Fine, reported here https://github.com/EllisLab/CodeIgniter/issues/1347 Better User Agent for Code Igniter ? - El Forum - 05-10-2012 [eluser]weboap[/eluser] waiting on the bug report can you try this http://getsparks.org/packages/mobiledetection/versions/HEAD/show hope it help Better User Agent for Code Igniter ? - El Forum - 05-10-2012 [eluser]ReyPM[/eluser] This is for mobile device detection as README says not for get the type of mobile Better User Agent for Code Igniter ? - El Forum - 05-10-2012 [eluser]weboap[/eluser] true, but the library have device signatures that you can build on... |