Closed JonathanTheronnn closed 7 months ago
Hello @JonathanTheronnn does this work if you clear up all that code on the OnCreate ?
thanks
Hi @JonathanTheronnn. 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.
Hi @JonathanTheronnn. We have added the "s/needs-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/dotnet/maui/blob/main/.github/repro.md
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.
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.
This issue has been automatically marked as stale because it has been marked as requiring author feedback to reproduce the issue 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.
I think this could be the same as https://github.com/dotnet/maui/issues/13529 and/or https://github.com/dotnet/maui/issues/17477.
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.
This issue has been automatically marked as stale because it has been marked as requiring author feedback to reproduce the issue 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.
We are seeing the same issue in our app as described in the original issue.
Result: Hangs at the splash screen. This is on Android 13.
Description
Hi there,
I am struggling setting up a Foreground Service on .NET Maui Blazor Hybrid (please take note not normal Maui). Everything works as expected when the Android App runs, it works in the background etc UNTIL the Application is quitted entirely (and only the service runs).
When a user re-enters the app from the Foreground Service Notification or normal click on the icon of the app, the app runs the "OnCreate" method but then hangs on the splash screen.
Please see the code snippets below (please take note that this code did work in normal .NET Maui Application
MainActivity.cs
AndroidLocationService.cs
Notification.cs
Weather.razor
We also recreated a new project to try replicate the issue (without all the tracking code, just to test the foreground), adn the issue is still there.
We do have the correct permissions in the Manifest file (as far as we are concerned).
I would appreciate any solutions or at least know if this is a problem with Blazor Hybrid
Steps to Reproduce
Link to public reproduction project repository
No response
Version with bug
8.0.6
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
No response
Did you find any workaround?
No workaround yet
Relevant log output
No response