Hi folks,
I’m using the Notifications package from Unity version 1.3.2 (Introduction | Mobile Notifications | 1.3.2) to schedule Push Notifications on iOS, but I’m having two problems: the notification is not clickable on iOS only; and the notification remain active even after openning the app manually on iOS only.
Does anyone have this issue? I’m using the Notification package from a long time, but only now our QA noticed the resilient and unclickable notifications.
My code is really simple and from what the documentation says, the property ShowInForeground would be enough to remove the notification from the Notification Center as soon as the app opens.
var notification = new iOSNotification()
{
Identifier = NumericIdToString(id),
Title = title,
Body = body,
Subtitle = "",
ShowInForeground = false,
ForegroundPresentationOption = (PresentationOption.Alert | PresentationOption.Sound),
CategoryIdentifier = channelId,
ThreadIdentifier = "thread1",
Trigger = timeTrigger,
Data = data
};
iOSNotificationCenter.ScheduleNotification(notification);
Thanks in advance,
Vitaliano