Hey guys, wonder if someone else is facing a problem with Utils.isPhone(). My tablet is being recognised as a phone for some reason. Any solutions?Thanks!
This detection is pretty fuzzy. But I can improve it if you tell me 1) your table model 2) what the output of navigator.userAgent is.
Hi Koen Bok thanks. 1.My tablet is an iPad 4, would it be possible to improve detection to include any tablet? 2. There is no output for navigator.userAgent on the tablet for some reason. In Framer studio it is Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/600.1.25 (KHTML, like Gecko) FramerStudio/1.9.43. Don't know if it helps?
whats the actual brand and model name of the tablet
Hmmm the detection code seems correct: https://github.com/koenbok/Framer/blob/master/framer/Utils.coffee#L260
I think it craps out because navigator.userAgent does not have output on your device. Could it be that you override the navigator variable somewhere?
Will look into it Koen Bok not sure why thats happening.