Open erossini opened 1 month ago
An update. If I added in the AndroidManifest.xml the lines
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" />
<uses-permission android:name="android.permission.USE_EXACT_ALARM" />
the application can send notifications but rejected by Google Play. Without those lines, the app shows the authorization page but I can't enable the notifications.
This is the same in emulators or real devices with Android API 33 or above.
@erossini can you set Unrestricted battery mode in Android settings for your app and try again
@erossini can you set Unrestricted battery mode in Android settings for your app and try again
What permission is that?
In my
NET8
MAUI
apps, I want to send a local notification every day to remind the user to use the app. For that, I'm using the component Plugin.LocalNotification. For Android, in the AndroidManifest.xml, I added those linesThen I created a service to manage the notification and checked if the user gave the consent to use the app.
When the app runs this code, the user is redirected to the system page to enable Alarms and reminders but the switch is disabled.
What have I done wrong?