Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-4431

Android: Splash screen icon isn't seen when the app is launched from another app or notification

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • DEV backlog
    • Android, Splash screen

      This issue only affects Android 12 or newer. In native apps this issue is probably minor because the splash screen is only shown for 1-2 secs, but in our case the splash is shown for several seconds (specially in old devices) so it looks weird.

      According to a Google worker in this comment, this was an intended change so they won't fix it. In the thread linked before they only mention notifications, but the same happens when the app is launched from another app, e.g. browser.

      There is a hacky workaround mentioned in the thread:

      you can set the style attributes to transparent and your splash screen theme as post theme, and force it to skip it entirely by triggering a UI draw.

      This workaround requires native development, so I'm not sure if we'll be able to do it since we're using Cordova. 

      This can easily reproduced by clicking a notification while the app is dead, or performing an SSO login in system browser. When the app is launched you only see a white screen with no icon for a few secs.

            Unassigned Unassigned
            dpalou Dani Palou
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.