i've tried using
UNUserNotificationCenter.current().add(request, withCompletionHandler: nil)
but it doesn't return anything.
An alternative would be to send a message to the main app so it can set a notification, but this would mean that my app has to be listening for a change in Userdefaults or a change in my AppGroup
Does anyone have any idea or advice?
thanks