Welcome Guest, Not a member yet? Register   Sign In
Better User Agent for Code Igniter ?
#11

[eluser]ReyPM[/eluser]
From my browser at PC says:
Quote:Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20100101 Firefox/12.0
and 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 .... ¿?
#12

[eluser]CroNiX[/eluser]
I thought you were checking for Android, not Blackberry?
#13

[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?
#14

[eluser]CroNiX[/eluser]
Yes. You can create an issue on github if one doesn't already exist for this.
#15

[eluser]ReyPM[/eluser]
Fine, reported here https://github.com/EllisLab/CodeIgniter/issues/1347
#16

[eluser]weboap[/eluser]
waiting on the bug report can you try this

http://getsparks.org/packages/mobiledete.../HEAD/show


hope it help
#17

[eluser]ReyPM[/eluser]
This is for mobile device detection as README says not for get the type of mobile Wink
#18

[eluser]weboap[/eluser]
true, but the library have device signatures that you can build on...




Theme © iAndrew 2016 - Forum software by © MyBB