How to change splash screen programmatically in ionic 5

I want to show splash screen dynamically conditional base
Is it possible to change splash screen dynamically in ionic
i need help on this

ionic angular cordova app