fix js loading
This commit is contained in:
parent
50ee5f9f0f
commit
64b8d4d92d
@ -6,6 +6,8 @@ import android.os.Bundle
|
||||
import android.webkit.WebView
|
||||
import android.webkit.WebSettings
|
||||
import java.io.IOException
|
||||
import android.content.Context
|
||||
import android.webkit.JavascriptInterface
|
||||
|
||||
class MainActivity : AppCompatActivity() {
|
||||
|
||||
@ -73,7 +75,7 @@ class MainActivity : AppCompatActivity() {
|
||||
</head>
|
||||
<body>
|
||||
$htmlContent
|
||||
<script> type="module" $javaScriptCode</script>
|
||||
<script type="module"> $javaScriptCode</script>
|
||||
</body>
|
||||
</html>
|
||||
""".trimIndent()
|
||||
|
Loading…
Reference in New Issue
Block a user