home-assistant / android

:iphone: Home Assistant Companion for Android
https://companion.home-assistant.io/
Apache License 2.0
2.26k stars 630 forks source link

navigator.clipboard.writeText() in Add-ons ingress dashboard does not work inside the App #3779

Closed MexHigh closed 1 year ago

MexHigh commented 1 year ago

Home Assistant Android app version(s): 2023.7.5-full

Android version(s): 11

Device model(s): ONEPLUS A6003 ("OnePlus 6")

Home Assistant version: 2023.08.1

Last working Home Assistant release (if known): -

Description of problem, include YAML if issue is related to notifications:

I'm currently developing a Home Assistant Add-on that can copy some text to the users' clipboard using the JavaScript function navigator.clipboard.writeText() inside its ingress dashboard (leaving the exact details on how the Add-on works out, as they are irrelevant, see below for details). Copying to the clipboard works in all scenarios but ingress inside the companion app (even when browsing the add-on via Home Assistant ingress in a mobile browser).

I think this might be a permission problem of the app (writing to the clipboard is prohibited?). Is this intended and are there alternatives?

Companion App Logs:

--------- beginning of perf
08-11 04:09:03.832 11601 11601 I 100     : Open /data/app/~~35oHDWV0ZFAA3Q5Y81dizw==/io.homeassistant.companion.android-D-TqtjF2tRs5sIV8aWLBOg==/base.apk took:60ms
--------- beginning of system
08-11 12:15:10.638 11601 11601 D ViewRootImpl: support adaptive color gamut feature!
08-11 12:15:15.771 11601 11601 D ViewRootImpl: support adaptive color gamut feature!
08-11 12:15:15.782 11601 11601 I 309     : package:io.homeassistant.companion.android took:4740 calssname:android.app.ActivityThread$H callback:null what:159
08-11 12:15:36.350 11601  2038 I 110     :  OptJank - total:128 frameGap:356 delta#0#2#1#0#0#125
--------- beginning of main
08-11 12:23:55.289 11601  2784 D WebviewActivity: External bus {"type":"config_screen/show","id":4}
08-11 12:23:55.421 11601 11601 D IntegrationRepository: setAppActive(): false
08-11 12:23:55.422 11601  2038 I 110     :  OptJank - total:129 frameGap:134 delta#116#9#8#0#0#3
08-11 12:23:55.423 11601 11601 D IntegrationRepository: setAppActive(): false
08-11 12:23:55.433 11601 11601 D SensorReceiver: Received intent: io.homeassistant.companion.android.UPDATE_SENSORS
08-11 12:23:55.437 11601  7781 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:23:55.502 11601  7781 D NextAlarm: Next alarm is scheduled by com.urbandroid.sleep with trigger time 1691993700000
08-11 12:23:55.521 11601  7779 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:23:55.521 11601  7781 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:23:55.521 11601  7781 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:23:55.521 11601  7779 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:23:55.604 11601 11601 E mpanion.androi: Invalid ID 0x00000000.
08-11 12:23:55.620 11601 11601 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 0, currentMillis: 1691749435620)
08-11 12:23:55.633 11601 11601 D ViewRootImpl: support adaptive color gamut feature!
08-11 12:23:55.634 11601 11601 V ViewRootImpl: The specified message queue synchronization  barrier token has not been posted or has already been removed
08-11 12:23:55.645 11601 11601 D ViewRootImpl[WebViewActivity]: windowFocusChanged hasFocus=false inTouchMode=true
08-11 12:23:55.670 11601  7779 D SensorReceiver: Nothing to update for server 3 (Mein Zuhause)
08-11 12:23:55.693 11601 11641 D SensorReceiver: Nothing to update for server 2 (Friedrich-WG)
08-11 12:23:55.693 11601 11641 I SensorReceiver: Sensor updates and sync completed
08-11 12:23:55.752 11601 11601 W Choreographer: Already have a pending vsync event.  There should only be one at a time.
08-11 12:23:55.768 11601 11641 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:23:55.802 11601 11601 D DecorView: onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@e5a7106[SettingsActivity]
08-11 12:23:55.806 11601 11601 D ViewRootImpl[SettingsActivity]: windowFocusChanged hasFocus=true inTouchMode=true
08-11 12:23:55.847 11601 11601 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 0, currentMillis: 1691749435847)
08-11 12:23:55.857 11601 11601 D IntegrationRepository: setAppActive(): true
08-11 12:24:09.341 11601 11601 D IntegrationRepository: setAppActive(): false
08-11 12:24:09.347 11601 11601 D IntegrationRepository: setAppActive(): false
08-11 12:24:09.363 11601 11601 D ViewRootImpl[SettingsActivity]: windowFocusChanged hasFocus=false inTouchMode=true
08-11 12:24:50.991 11601 11601 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 1691749450340, currentMillis: 1691749490991)
08-11 12:24:51.052 11601 11601 D DecorView: onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@e5a7106[SettingsActivity]
08-11 12:24:51.053 11601 11601 D ViewRootImpl[SettingsActivity]: windowFocusChanged hasFocus=true inTouchMode=true
08-11 12:24:51.053 11601 11601 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 1691749450340, currentMillis: 1691749491053)
08-11 12:24:51.053 11601 11601 D IntegrationRepository: setAppActive(): true
08-11 12:24:52.785 11601 11601 D IntegrationRepository: setAppActive(): false
08-11 12:24:52.797 11601 11601 D ViewRootImpl[SettingsActivity]: windowFocusChanged hasFocus=false inTouchMode=true
08-11 12:24:52.807 11601 11601 D WebviewActivity: Matter commissioning status changed to NOT_STARTED
08-11 12:24:52.811 11601 11601 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:24:52.811 11601 11601 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:24:52.811 11601 11601 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 1691749493784, currentMillis: 1691749492811)
08-11 12:24:53.085 11601 11601 D DecorView: onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@e3bfb2[WebViewActivity]
08-11 12:24:53.085 11601 11601 D ViewRootImpl[WebViewActivity]: windowFocusChanged hasFocus=true inTouchMode=true
08-11 12:24:53.098 11601 11601 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:24:53.099 11601 11601 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 1691749493784, currentMillis: 1691749493098)
08-11 12:24:53.118 11601  7779 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:24:53.119 11601  7779 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:24:53.120 11601 11636 I WM-Processor: Moving WorkSpec (e1244b30-c3bd-4758-a82b-1055add12c7f) to the foreground
08-11 12:24:53.126 11601  7779 D SensorWorker: Updating all Sensors in foreground.
08-11 12:24:53.126 11601 11601 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:24:53.126 11601 11601 D ServerConnectionInfo: Using external URL
08-11 12:24:53.126 11601 11636 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=90a31cbe-5c67-4658-bfba-c9c06ace92b5, tags={ io.homeassistant.companion.android.websocket.WebsocketManager } ]
08-11 12:24:53.126 11601 11601 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:24:53.126 11601 11601 D ServerConnectionInfo: Using external URL
08-11 12:24:53.129 11601  7779 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:24:53.130 11601 11601 I WM-SystemFgDispatcher: Started foreground service Intent { act=ACTION_START_FOREGROUND cmp=io.homeassistant.companion.android/androidx.work.impl.foreground.SystemForegroundService (has extras) }
08-11 12:24:53.195 11601  7779 D NextAlarm: Next alarm is scheduled by com.urbandroid.sleep with trigger time 1691993700000
08-11 12:24:53.213 11601  7779 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:24:53.213 11601 11709 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:24:53.213 11601  7779 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:24:53.214 11601 11709 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:24:53.405 11601  7779 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:24:53.405 11601 11709 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:24:53.465 11601 11709 I SensorReceiver: Sensor updates and sync completed
08-11 12:24:53.465 11601 11648 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=e1244b30-c3bd-4758-a82b-1055add12c7f, tags={ io.homeassistant.companion.android.sensors.SensorWorker } ]
08-11 12:24:53.570 11601 11601 I WM-SystemFgDispatcher: Stopping foreground service
08-11 12:24:58.749 11601  2038 I 110     :  OptJank - total:112 frameGap:223 delta#0#4#0#0#0#108
08-11 12:24:58.871 11601  2038 I 111     :  OptJank - continuously drops frames:4
08-11 12:27:07.714 11601 11601 W IInputConnectionWrapper: requestCursorAnchorInfo on inactive InputConnection
08-11 12:27:07.963 11601 11601 D IntegrationRepository: setAppActive(): false
08-11 12:27:07.971 11601 11601 D SensorReceiver: Received intent: io.homeassistant.companion.android.UPDATE_SENSORS
08-11 12:27:07.979 11601  7780 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:27:08.013 11601 11601 D ViewRootImpl[WebViewActivity]: windowFocusChanged hasFocus=false inTouchMode=true
08-11 12:27:08.172 11601  7780 D NextAlarm: Next alarm is scheduled by com.urbandroid.sleep with trigger time 1691993700000
08-11 12:27:08.202 11601  7781 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:27:08.204 11601  7780 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:27:08.205 11601  7780 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:27:08.206 11601  7781 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:27:08.599 11601  7781 D SensorReceiver: Nothing to update for server 2 (Friedrich-WG)
08-11 12:27:08.601 11601 11641 D SensorReceiver: Nothing to update for server 3 (Mein Zuhause)
08-11 12:27:08.601 11601 11641 I SensorReceiver: Sensor updates and sync completed
08-11 12:27:09.047 11601 11601 D SensorReceiver: Received intent: android.intent.action.SCREEN_OFF
08-11 12:27:09.048 11601 11601 D SensorReceiver: Sensor is_interactive corresponding to received event android.intent.action.SCREEN_OFF is disabled, skipping sensors update
08-11 12:27:09.055 11601 11601 D ButtonWidget: Broadcast received: 
08-11 12:27:09.055 11601 11601 D ButtonWidget: Broadcast action: android.intent.action.SCREEN_OFF
08-11 12:27:09.055 11601 11601 D ButtonWidget: AppWidgetId: -1
08-11 12:27:09.062 11601 11601 D MediaPlayCtrlsWidget: Broadcast received: 
08-11 12:27:09.062 11601 11601 D MediaPlayCtrlsWidget: Broadcast action: android.intent.action.SCREEN_OFF
08-11 12:27:09.062 11601 11601 D MediaPlayCtrlsWidget: AppWidgetId: -1
08-11 12:27:09.164 11601 11641 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:27:09.165 11601 11641 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:27:09.167 11601 11648 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=3ef30d20-ab9b-42ed-a36d-30cec44a2b6b, tags={ io.homeassistant.companion.android.websocket.WebsocketManager } ]
08-11 12:27:13.199 11601 11615 W System  : A resource failed to call destroy. 
08-11 12:33:58.206 11601 11601 D WebviewActivity: Matter commissioning status changed to NOT_STARTED
08-11 12:33:58.248 11601 11601 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:33:58.258 11601 11601 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:33:58.258 11601 11601 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 1691749493784, currentMillis: 1691750038258)
08-11 12:33:58.765 11601 11601 D DecorView: onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@e3bfb2[WebViewActivity]
08-11 12:33:58.766 11601 11601 D ViewRootImpl[WebViewActivity]: windowFocusChanged hasFocus=true inTouchMode=true
08-11 12:33:58.773 11601 11601 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:33:58.773 11601 11601 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 1691749493784, currentMillis: 1691750038773)
08-11 12:33:58.807 11601 11601 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:33:58.807 11601 11601 D ServerConnectionInfo: Using external URL
08-11 12:33:58.807 11601 11601 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:33:58.807 11601 11601 D ServerConnectionInfo: Using external URL
08-11 12:33:58.871 11601 11636 I WM-Processor: Moving WorkSpec (13898817-4710-4c92-ab8f-c8cec5f9c6d3) to the foreground
08-11 12:33:58.877 11601 11709 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:33:58.881 11601 11709 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:33:58.890 11601 11601 I WM-SystemFgDispatcher: Started foreground service Intent { act=ACTION_START_FOREGROUND cmp=io.homeassistant.companion.android/androidx.work.impl.foreground.SystemForegroundService (has extras) }
08-11 12:33:58.892 11601 11636 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=5d78873a-b399-46ed-b94d-ce5b4457fcb1, tags={ io.homeassistant.companion.android.websocket.WebsocketManager } ]
08-11 12:33:58.893 11601 11709 D SensorWorker: Updating all Sensors in foreground.
08-11 12:33:58.894 11601 11709 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:33:59.104 11601 11709 D NextAlarm: Next alarm is scheduled by com.urbandroid.sleep with trigger time 1691993700000
08-11 12:33:59.140 11601 11641 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:33:59.140 11601 11709 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:33:59.141 11601 11641 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:33:59.141 11601 11709 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:33:59.164 11601 11601 D SensorReceiver: Received intent: android.intent.action.SCREEN_ON
08-11 12:33:59.164 11601 11601 D SensorReceiver: Sensor is_interactive corresponding to received event android.intent.action.SCREEN_ON is disabled, skipping sensors update
08-11 12:33:59.165 11601 11601 D ButtonWidget: Broadcast received: 
08-11 12:33:59.165 11601 11601 D ButtonWidget: Broadcast action: android.intent.action.SCREEN_ON
08-11 12:33:59.165 11601 11601 D ButtonWidget: AppWidgetId: -1
08-11 12:33:59.173 11601 11601 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:33:59.179 11601 11601 D MediaPlayCtrlsWidget: Broadcast received: 
08-11 12:33:59.179 11601 11601 D MediaPlayCtrlsWidget: Broadcast action: android.intent.action.SCREEN_ON
08-11 12:33:59.179 11601 11601 D MediaPlayCtrlsWidget: AppWidgetId: -1
08-11 12:33:59.179 11601 11601 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:33:59.180 11601 11601 D ButtonWidget: Updating all widgets
08-11 12:33:59.235 11601 11601 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:33:59.240 11601 11641 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:33:59.241 11601 11641 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:33:59.241 11601 11648 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=d3e60893-97fe-46f0-a3c2-7dd8a954548a, tags={ io.homeassistant.companion.android.websocket.WebsocketManager } ]
08-11 12:33:59.479 11601 11709 D SensorReceiver: Nothing to update for server 3 (Mein Zuhause)
08-11 12:33:59.767 11601 11709 D SensorReceiver: Nothing to update for server 2 (Friedrich-WG)
08-11 12:33:59.767 11601 11709 I SensorReceiver: Sensor updates and sync completed
08-11 12:33:59.767 11601 11647 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=13898817-4710-4c92-ab8f-c8cec5f9c6d3, tags={ io.homeassistant.companion.android.sensors.SensorWorker } ]
08-11 12:33:59.769 11601 11601 I WM-SystemFgDispatcher: Stopping foreground service
08-11 12:34:11.435 11601 11601 D ViewRootImpl[WebViewActivity]: windowFocusChanged hasFocus=false inTouchMode=true
08-11 12:34:11.896 11601 11601 D DecorView: onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@e3bfb2[WebViewActivity]
08-11 12:34:11.896 11601 11601 D ViewRootImpl[WebViewActivity]: windowFocusChanged hasFocus=true inTouchMode=true
08-11 12:34:11.901 11601 11601 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:34:11.901 11601 11601 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 1691749493784, currentMillis: 1691750051901)
08-11 12:34:11.909 11601 11601 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:34:11.909 11601 11601 D ServerConnectionInfo: Using external URL
08-11 12:34:11.909 11601 11601 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:34:11.910 11601 11601 D ServerConnectionInfo: Using external URL
08-11 12:34:18.344 11601 11601 D IntegrationRepository: setAppActive(): false
08-11 12:34:18.352 11601 11601 D IntegrationRepository: setAppActive(): false
08-11 12:34:18.401 11601 11601 D ViewRootImpl[WebViewActivity]: windowFocusChanged hasFocus=false inTouchMode=true
08-11 12:34:18.404 11601 11601 D SensorReceiver: Received intent: io.homeassistant.companion.android.UPDATE_SENSORS
08-11 12:34:18.412 11601 11709 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:34:18.573 11601 11709 D NextAlarm: Next alarm is scheduled by com.urbandroid.sleep with trigger time 1691993700000
08-11 12:34:18.616 11601 11709 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:34:18.616 11601  7781 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:34:18.617 11601 11709 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:34:18.617 11601  7781 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:34:18.866 11601 11709 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:34:19.033 11601  7781 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:34:19.094 11601  7781 I SensorReceiver: Sensor updates and sync completed
08-11 12:35:05.293 11601 11601 D SensorReceiver: Received intent: android.app.action.NEXT_ALARM_CLOCK_CHANGED
08-11 12:35:05.316 11601  7779 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:35:05.515 11601  7781 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:35:05.518 11601  7781 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:35:05.521 11601 11633 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=74c32672-b8f8-4c52-b1b6-dfa7a517ef0f, tags={ io.homeassistant.companion.android.websocket.WebsocketManager } ]
08-11 12:35:05.728 11601  7779 D NextAlarm: Next alarm is scheduled by com.urbandroid.sleep with trigger time 1691993700000
08-11 12:35:05.787 11601 11709 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:35:05.789 11601 11709 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:35:05.789 11601  7781 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:35:05.790 11601  7781 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:35:06.289 11601 11641 D SensorReceiver: Nothing to update for server 3 (Mein Zuhause)
08-11 12:35:06.313 11601 11709 D SensorReceiver: Nothing to update for server 2 (Friedrich-WG)
08-11 12:35:06.314 11601 11641 I SensorReceiver: Sensor updates and sync completed
08-11 12:35:10.493 11601 11601 D SensorReceiver: Received intent: android.intent.action.SCREEN_OFF
08-11 12:35:10.500 11601 11601 D SensorReceiver: Sensor is_interactive corresponding to received event android.intent.action.SCREEN_OFF is disabled, skipping sensors update
08-11 12:35:10.509 11601 11601 D ButtonWidget: Broadcast received: 
08-11 12:35:10.509 11601 11601 D ButtonWidget: Broadcast action: android.intent.action.SCREEN_OFF
08-11 12:35:10.509 11601 11601 D ButtonWidget: AppWidgetId: -1
08-11 12:35:10.543 11601 11601 D MediaPlayCtrlsWidget: Broadcast received: 
08-11 12:35:10.543 11601 11601 D MediaPlayCtrlsWidget: Broadcast action: android.intent.action.SCREEN_OFF
08-11 12:35:10.543 11601 11601 D MediaPlayCtrlsWidget: AppWidgetId: -1
08-11 12:35:10.624 11601 11641 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:35:10.626 11601 11641 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:35:10.628 11601 11633 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=8f7ae222-018c-46c4-bc37-31f5daa58ff4, tags={ io.homeassistant.companion.android.websocket.WebsocketManager } ]
08-11 12:37:53.782 11601 11601 D SensorReceiver: Received intent: android.intent.action.SCREEN_ON
08-11 12:37:53.805 11601 11601 D SensorReceiver: Sensor is_interactive corresponding to received event android.intent.action.SCREEN_ON is disabled, skipping sensors update
08-11 12:37:53.807 11601 11601 D ButtonWidget: Broadcast received: 
08-11 12:37:53.807 11601 11601 D ButtonWidget: Broadcast action: android.intent.action.SCREEN_ON
08-11 12:37:53.807 11601 11601 D ButtonWidget: AppWidgetId: -1
08-11 12:37:53.863 11601 11601 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:37:53.864 11601 11601 D ButtonWidget: Updating all widgets
08-11 12:37:53.965 11601 11601 D MediaPlayCtrlsWidget: Broadcast received: 
08-11 12:37:53.965 11601 11601 D MediaPlayCtrlsWidget: Broadcast action: android.intent.action.SCREEN_ON
08-11 12:37:53.965 11601 11601 D MediaPlayCtrlsWidget: AppWidgetId: -1
08-11 12:37:53.966 11601 11601 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:37:53.967 11601 11601 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:37:53.970 11601 11709 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:37:53.978 11601 11709 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:37:53.979 11601 11647 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=1656edf0-acfd-4b9c-82a4-fff30fa205ba, tags={ io.homeassistant.companion.android.websocket.WebsocketManager } ]
08-11 12:37:55.667 11601 11601 D WebviewActivity: Matter commissioning status changed to NOT_STARTED
08-11 12:37:55.696 11601 11601 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:37:55.697 11601 11601 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:37:55.697 11601 11601 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 1691749493784, currentMillis: 1691750275697)
08-11 12:37:56.100 11601  2629 W chromium: [WARNING:display_webview.cc(32)] WebView overlays are enabled!
08-11 12:37:56.189 11601  7779 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:37:56.193 11601  7779 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:37:56.193 11601 11601 D DecorView: onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@e3bfb2[WebViewActivity]
08-11 12:37:56.197 11601 11601 D ViewRootImpl[WebViewActivity]: windowFocusChanged hasFocus=true inTouchMode=true
08-11 12:37:56.198 11601 11648 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=f83f07f6-e83f-465a-98f0-a9e035334cb9, tags={ io.homeassistant.companion.android.websocket.WebsocketManager } ]
08-11 12:37:56.207 11601 11601 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:37:56.208 11601 11601 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 1691749493784, currentMillis: 1691750276208)
08-11 12:37:56.229 11601 11601 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:37:56.229 11601 11601 D ServerConnectionInfo: Using external URL
08-11 12:37:56.230 11601 11601 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:37:56.230 11601 11601 D ServerConnectionInfo: Using external URL
08-11 12:37:56.335 11601 11648 I WM-Processor: Moving WorkSpec (315b7e3b-e0eb-4a47-81a4-30489dec1852) to the foreground
08-11 12:37:56.340 11601 11601 I WM-SystemFgDispatcher: Started foreground service Intent { act=ACTION_START_FOREGROUND cmp=io.homeassistant.companion.android/androidx.work.impl.foreground.SystemForegroundService (has extras) }
08-11 12:37:56.342 11601  7960 D SensorWorker: Updating all Sensors in foreground.
08-11 12:37:56.345 11601  7960 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:37:56.403 11601  2038 I 110     :  OptJank - total:170 frameGap:171 delta#16#12#11#0#0#141
08-11 12:37:56.505 11601  7960 D NextAlarm: Next alarm is scheduled by com.urbandroid.sleep with trigger time 1691993700000
08-11 12:37:56.670 11601 11641 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:37:56.671 11601  7780 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:37:56.671 11601  7780 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:37:56.671 11601 11641 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:37:56.973 11601  7960 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:37:56.977 11601 11641 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:37:57.065 11601 11613 I mpanion.androi: Background concurrent copying GC freed 91728(3530KB) AllocSpace objects, 14(344KB) LOS objects, 49% free, 10MB/20MB, paused 83us total 186.485ms
08-11 12:37:57.155 11601 11641 I SensorReceiver: Sensor updates and sync completed
08-11 12:37:57.156 11601 11636 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=315b7e3b-e0eb-4a47-81a4-30489dec1852, tags={ io.homeassistant.companion.android.sensors.SensorWorker } ]
08-11 12:37:57.157 11601 11601 I WM-SystemFgDispatcher: Stopping foreground service
08-11 12:38:07.800 11601  2784 D WebviewActivity: External bus {"type":"config_screen/show","id":5}
08-11 12:38:07.854 11601 11601 D IntegrationRepository: setAppActive(): false
08-11 12:38:07.855 11601 11601 D IntegrationRepository: setAppActive(): false
08-11 12:38:08.018 11601 11601 E mpanion.androi: Invalid ID 0x00000000.
08-11 12:38:08.030 11601 11601 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 1691749493784, currentMillis: 1691750288030)
08-11 12:38:08.040 11601 11601 D ViewRootImpl: support adaptive color gamut feature!
08-11 12:38:08.041 11601 11601 V ViewRootImpl: The specified message queue synchronization  barrier token has not been posted or has already been removed
08-11 12:38:08.047 11601 11601 D ViewRootImpl[WebViewActivity]: windowFocusChanged hasFocus=false inTouchMode=true
08-11 12:38:08.133 11601 11601 W Choreographer: Already have a pending vsync event.  There should only be one at a time.
08-11 12:38:08.134 11601 11601 D SensorReceiver: Received intent: io.homeassistant.companion.android.UPDATE_SENSORS
08-11 12:38:08.140 11601 11709 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:38:08.149 11601  7960 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:38:08.171 11601 11601 D DecorView: onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@4851308[SettingsActivity]
08-11 12:38:08.173 11601 11601 D ViewRootImpl[SettingsActivity]: windowFocusChanged hasFocus=true inTouchMode=true
08-11 12:38:08.199 11601 11601 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 1691749493784, currentMillis: 1691750288199)
08-11 12:38:08.199 11601 11601 D IntegrationRepository: setAppActive(): true
08-11 12:38:08.209 11601 11709 D NextAlarm: Next alarm is scheduled by com.urbandroid.sleep with trigger time 1691993700000
08-11 12:38:08.225 11601 11709 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:38:08.225 11601 11641 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:38:08.225 11601 11641 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:38:08.225 11601 11709 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:38:08.367 11601 11709 D SensorReceiver: Nothing to update for server 3 (Mein Zuhause)
08-11 12:38:08.375 11601  7960 D SensorReceiver: Nothing to update for server 2 (Friedrich-WG)
08-11 12:38:08.375 11601  7960 I SensorReceiver: Sensor updates and sync completed
08-11 12:38:09.462 11601 11601 D IntegrationRepository: setAppActive(): false
08-11 12:38:09.498 11601 11601 D WebviewActivity: Matter commissioning status changed to NOT_STARTED
08-11 12:38:09.501 11601 11601 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:38:09.502 11601 11601 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:38:09.502 11601 11601 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 1691750290461, currentMillis: 1691750289502)
08-11 12:38:09.616 11601 11601 D ViewRootImpl[SettingsActivity]: windowFocusChanged hasFocus=false inTouchMode=true
08-11 12:38:09.654 11601 11601 D DecorView: onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@e3bfb2[WebViewActivity]
08-11 12:38:09.655 11601 11601 D ViewRootImpl[WebViewActivity]: windowFocusChanged hasFocus=true inTouchMode=true
08-11 12:38:09.667 11601  7779 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:38:09.675 11601 11601 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:38:09.675 11601 11601 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 1691750290461, currentMillis: 1691750289675)
08-11 12:38:09.677 11601  7779 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:38:09.678 11601 11636 I WM-Processor: Moving WorkSpec (88c6947a-3e2e-4613-a380-b5f7395170fd) to the foreground
08-11 12:38:09.683 11601 11601 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:38:09.683 11601 11601 D ServerConnectionInfo: Using external URL
08-11 12:38:09.683 11601 11601 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:38:09.684 11601 11601 D ServerConnectionInfo: Using external URL
08-11 12:38:09.684 11601 11601 I WM-SystemFgDispatcher: Started foreground service Intent { act=ACTION_START_FOREGROUND cmp=io.homeassistant.companion.android/androidx.work.impl.foreground.SystemForegroundService (has extras) }
08-11 12:38:09.686 11601  7781 D SensorWorker: Updating all Sensors in foreground.
08-11 12:38:09.687 11601  7781 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:38:09.689 11601 11636 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=e92c88f8-620e-4236-9db0-3683b927b098, tags={ io.homeassistant.companion.android.websocket.WebsocketManager } ]
08-11 12:38:09.748 11601  7781 D NextAlarm: Next alarm is scheduled by com.urbandroid.sleep with trigger time 1691993700000
08-11 12:38:09.768 11601  7781 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:38:09.768 11601  7779 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:38:09.768 11601  7781 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:38:09.769 11601  7779 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:38:09.914 11601  7779 D SensorReceiver: Nothing to update for server 3 (Mein Zuhause)
08-11 12:38:09.943 11601  7781 D SensorReceiver: Nothing to update for server 2 (Friedrich-WG)
08-11 12:38:09.943 11601  7781 I SensorReceiver: Sensor updates and sync completed
08-11 12:38:09.943 11601 11648 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=88c6947a-3e2e-4613-a380-b5f7395170fd, tags={ io.homeassistant.companion.android.sensors.SensorWorker } ]
08-11 12:38:09.945 11601 11601 I WM-SystemFgDispatcher: Stopping foreground service
08-11 12:38:13.492 11601  2784 D WebviewActivity: External bus {"type":"config_screen/show","id":6}
08-11 12:38:13.515 11601 11601 D IntegrationRepository: setAppActive(): false
08-11 12:38:13.516 11601 11601 D IntegrationRepository: setAppActive(): false
08-11 12:38:13.542 11601 11601 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 1691750290461, currentMillis: 1691750293542)
08-11 12:38:13.545 11601 11601 D ViewRootImpl: support adaptive color gamut feature!
08-11 12:38:13.545 11601 11601 V ViewRootImpl: The specified message queue synchronization  barrier token has not been posted or has already been removed
08-11 12:38:13.548 11601 11601 D ViewRootImpl[WebViewActivity]: windowFocusChanged hasFocus=false inTouchMode=true
08-11 12:38:13.585 11601 11601 W Choreographer: Already have a pending vsync event.  There should only be one at a time.
08-11 12:38:13.594 11601 11601 D SensorReceiver: Received intent: io.homeassistant.companion.android.UPDATE_SENSORS
08-11 12:38:13.596 11601  7780 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:38:13.596 11601  7781 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:38:13.615 11601 11601 D DecorView: onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@1c9c30d[SettingsActivity]
08-11 12:38:13.616 11601 11601 D ViewRootImpl[SettingsActivity]: windowFocusChanged hasFocus=true inTouchMode=true
08-11 12:38:13.646 11601 11601 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 1691750290461, currentMillis: 1691750293646)
08-11 12:38:13.646 11601 11601 D IntegrationRepository: setAppActive(): true
08-11 12:38:13.685 11601 11615 W System  : A resource failed to call destroy. 
08-11 12:38:13.698 11601  7780 D NextAlarm: Next alarm is scheduled by com.urbandroid.sleep with trigger time 1691993700000
08-11 12:38:13.713 11601  7781 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:38:13.713 11601  7780 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:38:13.713 11601  7781 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:38:13.713 11601  7780 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
08-11 12:38:13.876 11601  7781 D SensorReceiver: Nothing to update for server 3 (Mein Zuhause)
08-11 12:38:13.887 11601 11641 D SensorReceiver: Nothing to update for server 2 (Friedrich-WG)
08-11 12:38:13.887 11601 11641 I SensorReceiver: Sensor updates and sync completed
08-11 12:38:25.024 11601 11601 E mpanion.androi: Invalid ID 0x00000000.
08-11 12:38:25.056 11601 11601 D ViewRootImpl: support adaptive color gamut feature!
08-11 12:38:25.056 11601 11601 V ViewRootImpl: The specified message queue synchronization  barrier token has not been posted or has already been removed
08-11 12:38:25.108 11601 11601 W Choreographer: Already have a pending vsync event.  There should only be one at a time.
08-11 12:38:25.114 11601 11601 D ViewRootImpl[SettingsActivity]: windowFocusChanged hasFocus=false inTouchMode=true
08-11 12:38:25.155 11601 11601 D DecorView: onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@808cc65[SettingsActivity]
08-11 12:38:25.156 11601 11601 D ViewRootImpl[SettingsActivity]: windowFocusChanged hasFocus=true inTouchMode=true
08-11 12:38:25.223 11601  2629 W chromium: [WARNING:display_webview.cc(32)] WebView overlays are enabled!
08-11 12:38:26.180 11601 11601 D IntegrationRepository: setAppActive(): false
08-11 12:38:26.181 11601 11601 D IntegrationRepository: setAppActive(): false
08-11 12:38:26.200 11601 11601 D ViewRootImpl[SettingsActivity]: windowFocusChanged hasFocus=false inTouchMode=true
08-11 12:38:27.500 11601 11601 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 1691750307180, currentMillis: 1691750307500)
08-11 12:38:27.543 11601 11601 D DecorView: onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@808cc65[SettingsActivity]
08-11 12:38:27.544 11601 11601 D ViewRootImpl[SettingsActivity]: windowFocusChanged hasFocus=true inTouchMode=true
08-11 12:38:28.205 11601  2038 D OpenGLRenderer: endAllActiveAnimators on 0x71a9877090 (RippleDrawable) with handle 0x70c981f1e0
08-11 12:38:28.242 11601 11601 D DecorView: onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@1c9c30d[SettingsActivity]
08-11 12:38:28.242 11601 11601 D ViewRootImpl[SettingsActivity]: windowFocusChanged hasFocus=true inTouchMode=true
08-11 12:38:28.243 11601 11601 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 1691750307180, currentMillis: 1691750308243)
08-11 12:38:28.243 11601 11601 D IntegrationRepository: setAppActive(): true
08-11 12:38:29.166 11601 11601 D IntegrationRepository: setAppActive(): false
08-11 12:38:29.166 11601 11601 D IntegrationRepository: setAppActive(): false
08-11 12:38:29.263 11601 11601 D ViewRootImpl[SettingsActivity]: windowFocusChanged hasFocus=false inTouchMode=true
08-11 12:38:31.330 11601 11601 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 1691750310166, currentMillis: 1691750311330)
08-11 12:38:31.364 11601 11601 D DecorView: onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@1c9c30d[SettingsActivity]
08-11 12:38:31.364 11601 11601 D ViewRootImpl[SettingsActivity]: windowFocusChanged hasFocus=true inTouchMode=true
08-11 12:38:31.365 11601 11601 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 1691750310166, currentMillis: 1691750311365)
08-11 12:38:31.365 11601 11601 D IntegrationRepository: setAppActive(): true
08-11 12:38:33.778 11601 11601 E mpanion.androi: Invalid ID 0x00000000.
08-11 12:38:35.385 11601 11641 D LogcatReader: Read logcat for pid 11601

Screenshot or video of problem: Not required, nothing to see

Additional information:

If you want to take a look at the source code of the extension, you can view it here: https://git.leon.wtf/leon/one-time-service.

The relevant code lines (fixed on current commit) are:

jpelgrom commented 1 year ago

Android has clipboard permissions which are not declared by the app, but even after adding those I get the following error in the console using this demo page:

Searching online I can find others encountering this issue and resorting to custom JS interfaces, suggesting that clipboard access simply is not supported by webview.

Have you tried debugging this yourself using Chrome remote devtools? What did you find?

jpelgrom commented 1 year ago

Found a Chromium issue confirming this is a bug/missing feature in WebView, closing as this can't be solved by the app https://bugs.chromium.org/p/chromium/issues/detail?id=1271620&q=webview%20clipboard&can=2

MexHigh commented 1 year ago

Hmm, that's sad.

Have you tried debugging this yourself using Chrome remote devtools? What did you find?

Nope. I'm not familiar with Android (and Webview) at all. So thanks for looking that up.