Problems with splash screen

I’ve added a splash screen to my Ionic Android project and it works fine.
Only problem is that the app first fires a gray screen (app background is white) then shows the splash screen and then fades out to the gray color it showed when the app launched, only then it loads the first app view.

I’ve searched the web for possible solutions but found nothing that address my issue.
Please note: I only test my app on android and it is currently only supposed to work on android.

I tried messing up with the config.xml file but whenever I build the app the config file goes back to its default state.

Here is the config.xml splash screen part:

<feature name="SplashScreen">
    <param name="android-package" value="org.apache.cordova.splashscreen.SplashScreen" />
    <param name="onload" value="true" />
</feature>