Skip to content

Don't explicitly enable WebContentsDebugging#2657

Merged
fire-light42 merged 2 commits intorecloudstream:masterfrom
Luna712:webviewdebug
Apr 14, 2026
Merged

Don't explicitly enable WebContentsDebugging#2657
fire-light42 merged 2 commits intorecloudstream:masterfrom
Luna712:webviewdebug

Conversation

@Luna712
Copy link
Copy Markdown
Contributor

@Luna712 Luna712 commented Apr 14, 2026

https://developer.android.com/reference/android/webkit/WebView#setWebContentsDebuggingEnabled(boolean)

"this is enabled automatically if the app is declared as android:debuggable="true" in its manifest; otherwise, the default is false." - which we set on CloudStream Debug but not release flavors.

"Enabling web contents debugging allows the state of any WebView in the app to be inspected and modified by the user via adb. This is a security liability and should not be enabled in production builds of apps unless this is an explicitly intended use of the app."

Luna712 added 2 commits April 13, 2026 21:08
https://developer.android.com/reference/android/webkit/WebView#setWebContentsDebuggingEnabled(boolean)

"this is enabled automatically if the app is declared as `android:debuggable="true"` in its manifest; otherwise, the default is false." - which we set on CloudStream Debug but not release flavors.

"Enabling web contents debugging allows the state of any WebView in the app to be inspected and modified by the user via adb. This is a security liability and should not be enabled in production builds of apps unless this is an explicitly intended use of the app."
@fire-light42 fire-light42 merged commit 0bb9322 into recloudstream:master Apr 14, 2026
2 checks passed
@Luna712 Luna712 deleted the webviewdebug branch April 14, 2026 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants