Capacitor Angular app shows blank screen on some Android devices

Discussão em 'Angular' iniciado por Miyonu, Fevereiro 15, 2025.

  1. Miyonu

    Miyonu Guest

    I'm developing a web and mobile app called Bibliocards using Ionic, Capacitor, and Angular. The app works fine for most users, but a few have reported that it only shows a blank screen on Android devices (e.g., Samsung S22 and a Samsung tablet). The same issue occurs both in the mobile app and the web version when accessed through Chrome.

    What I've tried so far:

    • Restarted devices: No change.
    • Cleared cache: Didn't help.
    • Updated Android System WebView: Up-to-date.

    Technical details:

    • Framework: Ionic + Capacitor + Angular
    • App Type: Web + Mobile
    • Android versions affected: Android 12/13 (so far)
    • Devices with issue: Samsung S22 phone & Samsung tablet (unknown model)
    • Website: Affected as well

    Observations:

    For most users, the app works fine.

    The black screen appears immediately after launch—no splash screen visible.

    No content is rendered; just a persistent black screen.

    Questions:


    1. How can I better debug this issue remotely on a user’s device? I'm planning to implement Sentry.


    2. Are there known issues with Capacitor/Ionic and Samsung WebView?


    3. Could it be related to specific WebView settings or device configurations?

    Any advice or insights would be greatly appreciated! Thanks in advance for your help.

    Continue reading...

Compartilhe esta Página