wurfl doesn't work on iphone 7 plus

For those who like to stay on the client
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
christin
Posts: 1
Joined: Thu Jul 26, 2018 12:08 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

wurfl doesn't work on iphone 7 plus

Postby christin » Thu Jul 26, 2018 12:17 pm

I'm trying to pull device info by using 'WURFL.complete_device_name' or 'WURFL_is_mobile'. However, when the device is iphone 7 plus, either of those would break my code, all code after them won't be read (I tried use alert box to test. Alert boxes after either of them are never be triggered.). WURFL works fine on other device.

Does anyone else have the same problem?

aaronp
Posts: 234
Joined: Wed Dec 09, 2015 12:39 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: wurfl doesn't work on iphone 7 plus

Postby aaronp » Thu Jul 26, 2018 12:30 pm

Hi Christin,

Thanks for reaching out. Are you able to provide us with the exact iPhone 7 Plus UA(s) that are causing your code to break? Also, could you verify that you are successfully able to run detection using WURFL on non-iPhone 7 Plus UAs?

Edit: We've tested the WURFL.js service with an iPhone 7 Plus and are unable to replicate this issue. Would it be possible if there might be some issue with the code using WURFL? If you are able to send us a code sample, we can take a look.

Thanks,

Aaron


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Who is online

Users browsing this forum: No registered users and 2 guests