I am working on CQ5 mobile template device detection, here are some of the constrains/requirements:
I basically want to verify the order in which device detection happens, as per my understanding it is following order:
Please enlight if this order seems incorrect or incomplete.
Given that this order is correct than if there a way to have it do the UserAgent check in #4 first and dont bother checking the whole WURFL database?
Thanks in advance!
To map User-Agent strings to device properties, CQ5.5 uses all available OSGi services that implement the
To disable the wurfl database completely, you can deactivate all existing such services, and provide your own
custom DeviceSpecsProvider service. Note that with the default CQ5.5 GA config, the RegexpDeviceSpecProvider service is tried first, so if a matching regexp has been defined as explained in the mobile docs (regexp-based user agent matching, the exact query shouldn't be tried.