GitHub user dosubot[bot] added a comment to the discussion: how to preview 
dashboards in Android webview Chrome 66

<!-- Answer -->
Superset's Babel and Webpack configs are set up to support Chrome 66 and 
Android WebView, so you shouldn't need major changes there. If dashboards 
aren't loading or are stuck in a WebView, common causes include: initial 
filters not loading, issues with default filter values, dashboard import 
problems, or guest token/auth issues. Also, make sure the embedded URL is 
accessible from your device (not just localhost), and that your guest token is 
valid and permissions are set up for embedding.

If you see a warning like `You should call configure(...) before calling other 
methods @ TranslatorSingleton.ts:37`, it means the translation system needs to 
be initialized—this can be done by injecting JavaScript into the WebView to 
call `configure()` with a language pack. Make sure this runs after the page 
loads and that the JS context is ready.

If you still have issues, check for JavaScript errors in the WebView, confirm 
all scripts are loaded, and debug network requests (using Chrome DevTools or a 
proxy tool) to spot any failed requests or permission problems. More details 
and troubleshooting steps are discussed 
[here](https://github.com/apache/superset/discussions/32540#discussioncomment-12447593).

If you have a specific error message or see a particular feature not working, 
sharing that will help narrow down the cause.


<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*

---
<sup>How did I do? 
[Good](https://app.dosu.dev/response-feedback/a9a5dcae-34d3-4118-b481-4b2e417745c7?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/a9a5dcae-34d3-4118-b481-4b2e417745c7?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/a9a5dcae-34d3-4118-b481-4b2e417745c7?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/a9a5dcae-34d3-4118-b481-4b2e417745c7?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/a9a5dcae-34d3-4118-b481-4b2e417745c7?feedback_type=hallucination)
 | [Report 
šŸ›](https://app.dosu.dev/response-feedback/a9a5dcae-34d3-4118-b481-4b2e417745c7?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/a9a5dcae-34d3-4118-b481-4b2e417745c7?feedback_type=other)</sup>&nbsp;&nbsp;[![Chat
 with 
Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github)&
 nbsp;[![Join 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share
 on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/35134)

GitHub link: 
https://github.com/apache/superset/discussions/35134#discussioncomment-14399221

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to