-
Notifications
You must be signed in to change notification settings - Fork 0
FAQ
Nate River edited this page Dec 6, 2022
·
30 revisions
- Carefully read Troubleshooting section.
- Those features are only available in the paid plugin version. Please refer to plugin manual.
- This feature depends on your phone. For example, MIUI 10 shows red notification marks but ZUI don't. You can check it in App Settings under System Settings or ask Google.
- Basically, Android erases all local notifications on reboot (as they are scheduled alarms). The paid plugin version recreates all scheduled notifications after reboot, that’s why it requires android.permission.RECEIVE_BOOT_COMPLETED permission.
- At first, you'll need to calculate the delay to the nearest event. Pass this value to NotificationParams.Delay parameter. Then set NotificationParams.Repeat=true and NotificationParams.RepeatInterval=TimeSpan.FromDays(1)
var targetTime = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 18, 0, 0); if (targetTime < DateTime.Now) targetTime = targetTime.AddDays(1); var timeLeft = targetTime - DateTime.Now;
- Actually there is no need in this feature as iOS notifications work out of the box in Unity. You probably need to write a wrapper that manages both Android and iOS notifications.
- Sure, you can!
- Please email me, it depends on the project you are working on.