I am new to Wurfl API. I am trying to differentiate requests on server side. I want to identify if requests are coming from webview inside a mobile app or from mobile browser. As mentioned here https://www.scientiamobile.com/wurflCapability I am using following code.
But this is throwing CapabilityNotDefinedException. If I try to use is_app capability then it always returns false. Can somebody tell me what I am doing wrong? I am using wurfl-18.104.22.168.jar. Thanks
Code: Select all
final Device device = wurflEngine.getDeviceForRequest(httprequest) device.getCapability("is_app_webview")