-
Notifications
You must be signed in to change notification settings - Fork 68
Frequently Asked Questions
When setting the repeat interval for very short periods, please make sure switch Battery Optimizations and Power usage Optimizations #251
It is by design. #37
Please look at #27. Issue is fixed in VS 16.2.1 (Xamarin.Android 9.4.1.0)
It's a Xamarin.Android Bug https://github.com/xamarin/AndroidSupportComponents/issues/168
Could not install package 'Plugin.LocalNotification'. You are trying to install this package into a project that targets '.NETPortable,Version=v4.5,Profile=Profile111'
Only support .Net Standard 2, does not support Xamarin PCL.
Check your device settings like 'Vibration intensity' and 'Notification volume'. In iOS, the sound is only played when the app is not in the foreground.
Your second notification with the same notification id will replace the first one. Use different number ranges if you want to see 2 notifications at the same time. Prefix notification id.
No.
But in Android, if you set the NotificationRequest.Android.AutoCancel
to false
then you have to cancel it manually.
[Plugin.LocalNotification] No platform plugin found. Did you install the nuget package in your app project as well?
Set Android Target Framework to Android 12+
Error CS0117: 'NotificationCenter' does not contain a definition for 'NotifyNotificationTapped' (CS0117)
Set Android Target Framework to Android 12+,
You can only set the vibration pattern before the channel is created.
Add below code to .csproj and excludes the library from being trimmed
<ItemGroup>
<TrimmerRootAssembly Include="Plugin.LocalNotification" RootMode="library"/>
</ItemGroup>