is_app_webview throwing CapabilityNotDefinedException
Posted: Fri Jun 24, 2016 7:26 am
Hello,
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-1.5.1.1.jar. Thanks
Regards
Sunny
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.
Code: Select all
final Device device = wurflEngine.getDeviceForRequest(httprequest)
device.getCapability("is_app_webview")
Regards
Sunny