Is it possible to trigger Local Notifications from Background Assets Extension to update users that Assets are downloaded successfully ?
While I was calling
UNUserNotificationCenter.current().requestAuthorization
UNUserNotificationCenter.current().add
getting below error
Requesting authorization failed with error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.usernotifications.usernotificationservice was invalidated: failed at lookup with error 159 - Sandbox restriction." UserInfo={NSDebugDescription=The connection to service named com.apple.usernotifications.usernotificationservice was invalidated: failed at lookup with error 159 - Sandbox restriction.}
Adding notification request failed with error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.usernotifications.usernotificationservice was invalidated from this process." UserInfo={NSDebugDescription=The connection to service named com.apple.usernotifications.usernotificationservice was invalidated from this process.}
Can you please suggest any other alternative to update Users after a download has been completed successfully?