Im trying to access the the dropzone on a Kotlin webview but cant figure out how to access it.
this is how i declare the webview on onViewCreated
wvInforme.addJavascriptInterface(WebAppInterface(this@InformeCreateFragment.context!!), "Android")
wvInforme.loadUrl("https://admin.maxlink.ec/informe.php")
wvInforme.setWebViewClient(WebViewClient())
wvInforme.restoreState(savedInstanceState)
wvInforme.settings.javaScriptEnabled = true
wvInforme.settings.setBuiltInZoomControls(true)
wvInforme.settings.setDisplayZoomControls(false)
wvInforme.settings.allowFileAccess = true
wvInforme.settings.allowFileAccessFromFileURLs = true
from Kotlin Webview cant access dropzone
No comments:
Post a Comment