Skip to content

Make splash screen icon show when opening the app from deep link by including item in themes.xml #534

Description

@veronicatc

When opening my cordova app from deep links, the Android splash screen icon doesn't show.

I found out this is by design in Android, and to have it show, I need to add this to the theme style:

<item name="android:windowSplashScreenBehavior">icon_preferred</item>

How can I add this to the themes.xml file that is dynamically created by cordova cli when I compile the app?

Android documentation https://developer.android.com/develop/ui/views/launch/splash-screen#set-theme

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions