Hi,
thank you for your quick answer but I don't manage to make it work.
I loaded the following patch file in my tera wurfl database
- Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<wurfl_patch>
<devices>
<device user_agent="Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A538a Safari/419.3" fall_back="apple_generic" id="apple_iphone_ver1">
<group id="display">
<capability name="max_image_width" value="320"/>
<capability name="max_image_height" value="420"/>
</group>
</device>
<device user_agent="Mozilla/5.0 (iPod; U; CPU like Mac OS X; en) AppleWebKit/420.1 (KHTML, like Gecko) Version/3.0 Mobile/3A100a Safari/419.3" fall_back="apple_generic" id="apple_ipod_touch_ver1">
<group id="display">
<capability name="max_image_width" value="320"/>
<capability name="max_image_height" value="420"/>
</group>
</device>
<device user_agent="Mozilla/5.0 (Linux; U; Android 2.1-update1; xx-xx; HTC Desire Build/ERE27) AppleWebKit/530.17 (KHTML, like Gecko) Version/4.0 Mobile Safari/530.17" fall_back="htc_desire_a8181_ver1" id="htc_desire_ver1">
<group id="display">
<capability name="max_image_width" value="460"/>
<capability name="max_image_height" value="620"/>
</group>
</device>
</devices>
</wurfl_patch>
Then I rebuilt the cache and tried it on my server with the following user agents
- Code: Select all
Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A538a Safari/419.3
which is the one from the apple_iphone_ver1 device is OK and I can see the changes on the max_image_height
- Code: Select all
Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_1_3 like Mac OS X; xx-xx) AppleWebKit/528.18 (KHTML, like Gecko) Mobile/7E18
which is the one of my co-worker. The device detected is apple_iphone_ver3_1_3_subenus and the height is still 480 instead of 420.
Indeed, when I check in the database, I can see thet the capabilities of this particular device is still 480.
So, what am I doing wrong?
- is the merge supposed to rebuild every capability on each iphone device
- or do I have to modify all iphones devices in a patch file (which is not really possible)
Thanks again!!