Open mrnams opened 8 months ago
To make this work there are lot of missing things not mentioned anywhare, I figured it.
Step 1: Add this Line to your MAUI builder
.UseMauiApp<App>()
.UseLocalNotification() // This is required.
.ConfigureFonts(fonts =>
Step 2: Go to AndroidManifest.xml file and set there this permissions.
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM"/>
<uses-permission android:name="android.permission.USE_EXACT_ALARM"/>
Step 3: Call the Notification if it still won't work then Go to App Permission of Application Info in Android and Turn on Notification.
I have migrated it to .net 8.0 and successfully built it, but its not working, no error either.