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

My Splash screen is not working in ios after upgrade to net8.0 #23736

Closed
viveklpu2011 opened this issue Jul 20, 2024 · 6 comments
Closed

My Splash screen is not working in ios after upgrade to net8.0 #23736

viveklpu2011 opened this issue Jul 20, 2024 · 6 comments
Labels
area-single-project Splash Screen, Multi-Targeting, MauiFont, MauiImage, MauiAsset, Resizetizer platform/iOS 🍎 s/needs-info Issue needs more info from the author s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working

Comments

@viveklpu2011
Copy link

viveklpu2011 commented Jul 20, 2024

Description

When it was net7.0 beow code was working for ios

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0-ios'">
    <MauiSplashScreen Include="Resources\Splash\playbg.png" Color="#27a4de" />
</ItemGroup>

but after upgrade to net8.0 the above code is not working, tried multiple ways to fix this but not working any of the solution

Steps to Reproduce

After upgrade to net8.0 I am getting below screen in ios

Link to public reproduction project repository

No response

Version with bug

8.0.3 GA

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

7.0.101

Affected platforms

iOS

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

@viveklpu2011 viveklpu2011 added the t/bug Something isn't working label Jul 20, 2024
Copy link
Contributor

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@Zhanglirong-Winnie Zhanglirong-Winnie added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Jul 22, 2024
@Zhanglirong-Winnie
Copy link

This issue has been verified using Visual Studio 17.11.0 Preview 4.0(8.0.70&8.0.3). Can repro on iOS platforms.
We already have a similar issue: xamarin/xamarin-macios#18469. And below is the workaround:
You could add the following to the csproj:

<PropertyGroup>
    <EnableCodeSigning>true</EnableCodeSigning>
    <CodesignRequireProvisioningProfile>true</CodesignRequireProvisioningProfile>
    <DisableCodesignVerification>true</DisableCodesignVerification>
</PropertyGroup>

Hope it helps you.

@Eilon Eilon added the area-single-project Splash Screen, Multi-Targeting, MauiFont, MauiImage, MauiAsset, Resizetizer label Jul 23, 2024
@mattleibow mattleibow added s/needs-info Issue needs more info from the author platform/iOS 🍎 labels Jul 23, 2024
@mnidhk
Copy link

mnidhk commented Jul 24, 2024

I'm getting the same blue screen on my Android Api 34 simulator

  • Splash screen Working on Api 31 Android simulator
  • Splash screen Working on Android device Api 33
  • Splash screen Not working, Blue screen on Android Api 34 simulator

Don't have a Api 34 Device but i think it has to do something with Api 34?
Using 8.0.61 Maui workload

@dotnet-policy-service dotnet-policy-service bot added s/needs-attention Issue has more information and needs another look and removed s/needs-info Issue needs more info from the author labels Jul 24, 2024
@jfversluis
Copy link
Member

Is this still an issue for you? Are you deploying from your Windows machine directly to the iOS device?

If you deploy directly from Windows to your iDevice, you're using Hot Restart. If you look at the documentation and look under Limitations, you will find

Asset catalogs aren't supported. When using Hot Restart, your app will show a .NET icon and launch screen.

So this is expected and a known limitation.

Let me know if that helps at all.

@jfversluis jfversluis added s/needs-info Issue needs more info from the author and removed s/needs-attention Issue has more information and needs another look labels Sep 3, 2024
Copy link
Contributor

Hi @viveklpu2011. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

@dotnet-policy-service dotnet-policy-service bot added the s/no-recent-activity Issue has had no recent activity label Sep 9, 2024
Copy link
Contributor

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.

@github-actions github-actions bot locked and limited conversation to collaborators Oct 13, 2024
@dotnet-policy-service dotnet-policy-service bot removed the s/no-recent-activity Issue has had no recent activity label Oct 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-single-project Splash Screen, Multi-Targeting, MauiFont, MauiImage, MauiAsset, Resizetizer platform/iOS 🍎 s/needs-info Issue needs more info from the author s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants