Open xarlammm opened 7 months ago
@xarlammm please go through https://github.com/thudugala/Plugin.LocalNotification/wiki/1.-Usage-10.0.0--.Net-MAUI
Hello! All these stages were completed, followed this documentation
@xarlammm can you attach a sample project please?
I created a completely new project and followed your documentation. The result is the same. NotificationApp.zip
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
@keikepono did you publish your app on Google Play? What is your AndroidManifest.xml? I can't manage the notifications in my app for Android (see this post).
Thank you for any suggestions. Enrico
@xarlammm please go through https://github.com/thudugala/Plugin.LocalNotification/wiki/1.-Usage-10.0.0--.Net-MAUI
Hi Elvin, quick question: does the plugin work without MAUI? I've been developing iOS+Android natively and use only ex-Xamarin.Essentials parts of Maui namespaces, but it seems that having the core library is a must nowadays?
Could not find `Microsoft.Maui` referenced by assembly `Plugin.LocalNotification, Version=11.1.3.0, Culture=neutral, PublicKeyToken=null`.
Could not register the assembly 'Plugin.LocalNotification': System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
@xarlammm please go through https://github.com/thudugala/Plugin.LocalNotification/wiki/1.-Usage-10.0.0--.Net-MAUI
Hi Elvin, quick question: does the plugin work without MAUI? I've been developing iOS+Android natively and use only ex-Xamarin.Essentials parts of Maui namespaces, but it seems that having the core library is a must nowadays?
Could not find `Microsoft.Maui` referenced by assembly `Plugin.LocalNotification, Version=11.1.3.0, Culture=neutral, PublicKeyToken=null`. Could not register the assembly 'Plugin.LocalNotification': System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
Yes, look at how the plugin is set natively in Xamarin. do, the same in MAUI native app
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