refactor: rename dashboards→webviews, unique applicationId per flavor
build / build (push) Failing after 3m11s

Each flavor gets applicationIdSuffix = ".<name>" so the Bravia
getApplicationList API returns a distinct URI per webview, enabling
Control4 to launch specific flavors independently.

BREAKING CHANGE: applicationId changed from cz.c3c.webviewkiosk to
cz.c3c.webviewkiosk.<flavor> — uninstall old app before reinstalling.
BuildConfig.DASHBOARD_URL renamed to WEBVIEW_URL.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Arnie via Claude
2026-06-12 18:22:51 +02:00
parent 4982af9df4
commit a36d3869b1
5 changed files with 32 additions and 27 deletions
@@ -50,7 +50,7 @@ class MainActivity : Activity() {
if (!request.isForMainFrame) return
lastLoadFailed = true
handler.postDelayed(
{ view.loadUrl(BuildConfig.DASHBOARD_URL) },
{ view.loadUrl(BuildConfig.WEBVIEW_URL) },
backoff.nextDelayMs(),
)
}
@@ -58,7 +58,7 @@ class MainActivity : Activity() {
setContentView(webView)
hideSystemUi()
webView.loadUrl(BuildConfig.DASHBOARD_URL)
webView.loadUrl(BuildConfig.WEBVIEW_URL)
}
override fun onResume() {