Search found 5 matches

by 123Lookatme
Mon Aug 03, 2015 7:58 am
Forum: PHP API
Topic: There is no device with ID
Replies: 7
Views: 44498

Re: There is no device with ID

Sure, here it is: public function init() { $wurflDir = \Yii::getAlias('@vendor/wurfl/wurfl-api/WURFL'); require_once $wurflDir . '/Application.php'; $this->_config = new \WURFL_Configuration_InMemoryConfig(); $this->_config->wurflFile(\Yii::getAlias($this->wurflxml)); $this->_config->matchMode($this...
by 123Lookatme
Fri Jul 31, 2015 9:45 am
Forum: PHP API
Topic: There is no device with ID
Replies: 7
Views: 44498

Re: There is no device with ID

I have "socket chat app" that using wurfl. So wurfl-manager created just once when this app initialize and leave untill it be restarting. So i need to send some signal to wurfl-manager so it could rebuild himself after new wurfl.zip file is uploaded. In this case i'm using 2 methods: remove() to kil...
by 123Lookatme
Thu Jul 30, 2015 1:49 am
Forum: PHP API
Topic: There is no device with ID
Replies: 7
Views: 44498

Re: There is no device with ID

Thank you for your reply. Removing persistance folder and wurfl.xml from /tmp actualy helps with this issue. So as i assume, for my standalone app, that starts just once - every time i load new wurlf.zip, rebuilding wurfl manager(remove();create()) is not enough and i actualy should remove this wurf...
by 123Lookatme
Wed Jul 29, 2015 2:23 am
Forum: PHP API
Topic: There is no device with ID
Replies: 7
Views: 44498

There is no device with ID

Hi. I have a problem with some type of devices. Especialy with android. All the api works fine, but in some cases it throws exception : "There is no device with ID [generic_android_ver5_1] in the loaded WURFL Data" or slt. Specifically this one was throwed with Nexus 5. UA - "Mozilla/5.0 (Linux; And...
by 123Lookatme
Tue Dec 23, 2014 3:41 pm
Forum: WURFL XML Structure
Topic: Devices
Replies: 1
Views: 29674

Devices

Hello.
Is there any way to get device list, by their 'brand name' instead to load each by another from user_agent/id with wurfl API ?