Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Disable Android Splash Screen as Per Documentation #27168

Open
IX-OmkarP opened this issue Jan 16, 2025 · 1 comment
Open

Unable to Disable Android Splash Screen as Per Documentation #27168

IX-OmkarP opened this issue Jan 16, 2025 · 1 comment
Labels
area-single-project Splash Screen, Multi-Targeting, MauiFont, MauiImage, MauiAsset, Resizetizer platform/android 🤖 s/needs-attention Issue has more information and needs another look t/bug Something isn't working
Milestone

Comments

@IX-OmkarP
Copy link

IX-OmkarP commented Jan 16, 2025

Description

I am following the official documentation on how to disable the splash screen for a .NET MAUI application, as outlined here:

However, I am unable to disable the splash screen

Expected Behavior:
The splash screen should be disabled according to the guide.

Actual Behavior:
The splash screen continues to appear even after applying the suggested changes.

Steps to Reproduce

  • Follow the steps mentioned in the documentation to disable the splash screen.
  • Build and run the application.
  • The splash screen still appears.

Link to public reproduction project repository

Sample Code

Version with bug

Unknown/Other

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Android, I was not able test on other platforms

Affected platform versions

No response

Did you find any workaround?

Yes but when I press the app icon to start my app it takes like 2-3s before the app starts.

<?xml version="1.0" encoding="utf-8" ?>
<resources>
<style name="MainTheme" parent="Maui.SplashTheme">
    <item name="android:windowIsTranslucent">true</item>
    <item name="android:windowSplashScreenAnimationDuration">0</item>
</style>
</resources>

Relevant log output

@IX-OmkarP IX-OmkarP added the t/bug Something isn't working label Jan 16, 2025
@jfversluis jfversluis added area-single-project Splash Screen, Multi-Targeting, MauiFont, MauiImage, MauiAsset, Resizetizer platform/android 🤖 s/needs-repro Attach a solution or code which reproduces the issue labels Jan 16, 2025
@IX-OmkarP
Copy link
Author

@jfversluis as requested, I have created a MAUI .NET 8 sample app.

GitHub repo : - https://github.com/IX-OmkarP/DisableSplashScreenIssue

@dotnet-policy-service dotnet-policy-service bot added s/needs-attention Issue has more information and needs another look and removed s/needs-repro Attach a solution or code which reproduces the issue labels Jan 16, 2025
@StephaneDelcroix StephaneDelcroix added this to the Backlog milestone Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-single-project Splash Screen, Multi-Targeting, MauiFont, MauiImage, MauiAsset, Resizetizer platform/android 🤖 s/needs-attention Issue has more information and needs another look t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants