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-126.96.36.199.jar. Thanks
Code: Select all
final Device device = wurflEngine.getDeviceForRequest(httprequest) device.getCapability("is_app_webview")