Skip to content

Commit

Permalink
Add Android WebView tips.
Browse files Browse the repository at this point in the history
  • Loading branch information
alshan committed Aug 23, 2023
1 parent 021a50e commit d0505e2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions LPK_APP.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,11 @@ val rawSpec = figure.toSpec()
For example, see: [JsFrontendUtil.createPlotDiv(figure)](https://github.com/JetBrains/lets-plot-kotlin/blob/ba7df25c6eed4cb4f4c3806e42dc0f818f759b6f/plot-api/src/jsMain/kotlin/org/jetbrains/letsPlot/frontend/JsFrontendUtil.kt#LL16C15-L16C15).


> *Note*: In case you are using Android WebView to display the plot:
> - enable JavaScript: `webView.settings.javaScriptEnabled = true`
> - grant the internet access permission (AndroidManifest.xml): `<uses-permission android:name="android.permission.INTERNET" />`


### License

Expand Down

0 comments on commit d0505e2

Please sign in to comment.