If WebViewCommunicator is undefined check for the userAgent to decide on the platform
If WebViewCommunicator is undefined check for the userAgent to decide on
the platform

ignitesol/webview-communicator,ignitesol/webview-communicator