Unable to find Webview context for iOS hybrid app

We have built a hybrid app with ionic for iOS. For testing I am trying to switch from native app context to web view context but web view context is not visible in Appium . I tried to print all available contexts using context = @driver.available_contexts and it is returning only native app context. In Appium inspector I tried to get all available context from Action Tab and there only native app context is visible. I have used capabilities like autowebview:true , webviewConnectRetries, webkitResponseTimeout. I installed webkit proxy in Mac and enabled webinspector in device(settings>safari>advanced>Web Inspector) but still no luck with that.Is there any other way to get the web view context or do we need to add anything while building the application to get it?