Webview version 2.0.0 beta

I’m trying to implement the new version of the cordova webview since I’m trying to access local files from http://localhost instead of file://. I recently removed the previous version of cordova-plugin-webview and installed the @beta version. I also installed through npm the ionic native wrapper. I need to inject WebView in my page but i can’t declare WebView in app.module.ts inside providers. Can anyone help me with that?

Thank you very much.