I have a class which check for internet availability, if there is not internet then it is suppose to load the file in UiWebView(I am using UniWebView).
if(!isInternetAvailable())
{
_webView.insets = new UniWebViewEdgeInsets(0,0,0,0);
_webView.url = Application.streamingAssetsPath + "/File.html";
_webView.Load();
}
i cannot figure out what is wrong. I have the file stored in StreamingAssets folder. please help out. Been stuck on this for hours.