Android - WebView - Grafana not loading

Hello. Can you advise me how I can view Grafana from my server on my mobile phone in WebView? A see error message only :frowning:

If you’re seeing this Grafana has failed to load its application files

  1. This could be caused by your reverse proxy settings.
  2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath. If not using a reverse proxy make sure to set serve_from_sub_path to true.
  3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build
  4. Sometimes restarting grafana-server can help

Grafana works on my proxy server.

Thanks! :slight_smile:

image

I’m having the same problem, both with Grafana 8.0.6 and 8.2.2.

WebView console error (line changed between the two versions):
2021-10-28 18:01:03.360 20374-20374/net.example.android.simple_webview D/MyApplication: Uncaught TypeError: Cannot read properties of null (reading ‘grafana.dashboard.editor.ui’) – From line 4292 of https://example.net/grafana/public/build/8966.f173e95646339d94c42a.js