Not able to get WEBVIEW context for Hybrid app

We are using hybrid app (cordova webview inside native activity) and it takes around 5+ seconds for the login screen to load after the splash screen.

When i try to get the driver_context, I am getting only native_app under list of available context in Appium logs.

Kindly let me know if any thing else I need to do to explicitly get the webview context… We have searched in Google and people have faced similar issues but could not get any appropriate solution.

Kindly help

The solution was to use the latest appium verion.(1.6). This issue got resolved.

Issue was there in appium version 1.4