Spezi icon indicating copy to clipboard operation
Spezi copied to clipboard

Provide integration points for SpeziNotifications, Swift 6 and silence some warnings

Open Supereg opened this issue 5 months ago • 2 comments

Provide integration points for SpeziNotifications, Swift 6 and silence some warnings

:recycle: Current situation & Problem

SpeziNotifications (https://github.com/StanfordSpezi/SpeziNotifications/pull/1) is a new framework in the Spezi ecosystem that helps dealing with UserNotifications in your application. Some elements that are currently defined in Spezi are going to move to SpeziNotifications. We will fully move all of this infrastructure in a future breaking release of Spezi. For now, we make sure to have some of the required infrastructure accessible by SpeziNetworking.

The SpeziNotificationCenterDelegate and associated protocols will stay for now but can eventually be fully moved to SpeziNotifications. For now, SpeziNotifications will re-export all relevant types so it is easier for users to be prepared for the change.

:gear: Release Notes

  • Deprecated the remote notifications actions declared on Spezi. SpeziNotifications declares the exact same actions.
  • Allow SpeziNotifications to receive the delegate calls that are made after calling registerForRemoteNotifications.
  • Move the Package to the Swift 6 toolchain.
  • Silence some deprecation warnings through some visibility tricks.

:books: Documentation

--

:white_check_mark: Testing

--

:pencil: Code of Conduct & Contributing Guidelines

By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines:

Supereg avatar Sep 13 '24 12:09 Supereg