Inspectopedia Help

Missing @JavascriptInterface on methods

Missing @JavascriptInterface on methods

As of API 17, you must annotate methods in objects registered with the addJavascriptInterface method with a @JavascriptInterface annotation.

Issue id: JavascriptInterface, java.lang.String)

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for Android 2023.3, Qodana for JVM 2023.3


Android, 2022.3.1 Beta 2

Last modified: 13 July 2023