jonbhanson / flutter_native_splash

Automatically generates native code for adding splash screens in Android and iOS. Customize with specific platform, background color and splash image.
https://pub.dev/packages/flutter_native_splash
MIT License
1.36k stars 215 forks source link

Flutter Native Splash Screen by default Setting Image from icon launcher in center with background color for android 13 #639

Closed rutvi-kava closed 11 months ago

rutvi-kava commented 11 months ago

Attention: If you open a bug report without sufficient details, it will be closed. Is your question related to Android 12? Please check the notes on Android 12 first (https://pub.dev/packages/flutter_native_splash#android-12-support).

Describe the bug i have added my image ic_splash_screen which I want to display on splash screen. but instead of showing this image it is showing background color and setting app icon in center.

A clear and concise description of what the bug is.

Configuration i have aaded image in launch_background.xml also :
<?xml version="1.0" encoding="utf-8"?>

Paste the flutter_native_splash section of your yaml config.

dependencies: flutter: sdk: flutter

Icons

cupertino_icons: 1.0.6

flutter_native_splash: ^2.3.8

description:

Device (please complete the following information):

To Reproduce Steps to reproduce the behavior, using the example app:

  1. Set the config on the example app to '...'
  2. Run in an emulator configured with '...'
  3. See error

Screenshots If applicable, add screenshots to help explain your problem. If in doubt, attach a screenshot.

i want to show this image which i have set but still not showing Screenshot_1703054140

this is I am getting which is not my desired output Screenshot_1703055385

Additional context Add any other context about the problem here. this is video link for the issue : https://drive.google.com/file/d/10EUDG04mL85_QFmizC55-NUFSuj8MTDt/view

jonbhanson commented 11 months ago

Did you check the notes on Android 12?

jonbhanson commented 11 months ago

Closed due to inactivity. Feel free to reopen if you're still having trouble.