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

Does not work on .NET MAUI 8 #491

Open
xarlammm opened this issue Apr 11, 2024 · 5 comments
Open

Does not work on .NET MAUI 8 #491

xarlammm opened this issue Apr 11, 2024 · 5 comments
Assignees
Labels
Android Android only issue Configuration Issue Configuration Issue

Comments

@xarlammm
Copy link

xarlammm commented Apr 11, 2024

I started migrating from xamarin to .net maui 8. Nothing happens when I try to show the notification. Permission is also not asked. If you manually allow notifications to be displayed, it is not displayed.
All permissions are in the manifest. The MauiProgram is also connected.

Android 14
.NET MAUI 8
Plugin.LocalNotification 11.1.1

image

@xarlammm xarlammm added the bug Something isn't working label Apr 11, 2024
@thudugala
Copy link
Owner

@thudugala thudugala added Android Android only issue Configuration Issue Configuration Issue and removed bug Something isn't working labels Apr 13, 2024
@xarlammm
Copy link
Author

Hello!
All these stages were completed, followed this documentation

@thudugala
Copy link
Owner

@xarlammm can you attach a sample project please?

@xarlammm
Copy link
Author

I created a completely new project and followed your documentation. The result is the same.
NotificationApp.zip

@keikepono
Copy link

keikepono commented Apr 30, 2024

I got my .NET 8.0 app working by adding
<uses-permission android:name="android.permission.POST\_NOTIFICATIONS"/>
to the Platforms/Android/AndroidManifest.xml file. Once added this allowed the user to choose if they wanted notifications. @xarlammm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Android Android only issue Configuration Issue Configuration Issue
Projects
None yet
Development

No branches or pull requests

3 participants