Appium is not showing WEBVIEW but it actually exists on Android Salesforce1 App

I used UIAutomatoViewer tool and it has a webview named as android.webkit.WebView, I am able to see a WebView and a lot of View children appended to it, which relate to each one of the elements inside the app. But when I try to catch it via below code it returns only NATIVE_APP as an output, hence I am not able to switch to WebView.

Set allContext = driver.getContextHandles();;
for (String context : allContext) {
if (context.contains(“WEBVIEW”))

How can we access that particular WebView and all its objects?

did you ask Android dev to make webView with test app debugabble?

Hi Aleksei,

How exactly can we do this ?
In which file they can make these changes?