website icon indicating copy to clipboard operation
website copied to clipboard

Update documentation with how to display icons on splash screens on Splash Screen page.

Open sumansahoo1 opened this issue 2 years ago • 4 comments

On following the documentation of adding a splash screen, I couldn't get the result. I added each respective dpi icon and changed the icon in styles.xml I tested it in both android 13 and android 12 with the respective code.

The thing which worked for me was changing the icon from default to my own in AndroidManifest. It changed the icon and showed the splash screen correctly.

<application
        android:label="instgram_clone"
        android:name="${applicationName}"
        android:icon="@mipmap/images">

I don't know why it worked like this. But if it's required, then add as a step in docs.

sumansahoo1 avatar Sep 04 '23 05:09 sumansahoo1

Hi @suman-somu, it would help if you could share what you wanted to achieve. Please also link to the documentation that you used.

Thank you

danagbemava-nc avatar Sep 04 '23 13:09 danagbemava-nc

I want to add splash screen on my app. But following the steps in the docs didn't got me anything. docs link - https://docs.flutter.dev/platform-integration/android/splash-screen

I modified the android manifest code as above mentioned and it worked.

sumansahoo1 avatar Sep 24 '23 03:09 sumansahoo1

Hi @suman-somu, if I understand correctly, the icon wasn't showing in your splash screen but after adding the android:icon="@mipmap/images" to your manifest the icon started showing?

danagbemava-nc avatar Sep 25 '23 13:09 danagbemava-nc

yes, that's correct

sumansahoo1 avatar Sep 27 '23 14:09 sumansahoo1