Wrapper for UNUserNotificationCenter #476
Replies: 5 comments 1 reply
-
@Miiha would you like to convert that to a fork on your account and we could collaborate on polishing it? I'm about to adapt notifications center to TCA in my own app, so this perfectly aligns with my priorities. Made a SPM-adapted repository here https://github.com/andreyz/ComposableUserNotifications, ping me if you want me to transfer ownership or just fork it. |
Beta Was this translation helpful? Give feedback.
-
Hi @andreyz |
Beta Was this translation helpful? Give feedback.
-
Hey @Miiha and @andreyz, thanks for picking this up! We have also written a small UserNotifications wrapper for a project we are working on, and someday hope to polish it up for public consumption (here's a gist). Looks very similar to what you have done, though we haven't implemented all of the functionality yet. We feel that right now it would be most appropriate to keep this library external to Cheers! |
Beta Was this translation helpful? Give feedback.
-
Hi @mbrandonw, makes absolute sense to keep the wrapper libraries separate from the Composable Architecture repo. https://github.com/Miiha/composable-user-notifications I am of course happy moving it into a future Composable Architecture Community. |
Beta Was this translation helpful? Give feedback.
-
Going to convert this to a discussion since it isn't a bug. We still plan on a "TCA Community" group in the future. We've been pretty busy lately 🙂 |
Beta Was this translation helpful? Give feedback.
-
Hi, I was working on a struct wrapper for UNUserNotificationCenter, which resulted in this gist.
It currently uses vanilla Combine and not the CTA-Effect type. There are also some rough edges around the mapped notification related types.
Using your approach it would now be possible to test various aspects of the user notifications framework.
Could this be something you are interested in adding as an additional wrapper library?
Beta Was this translation helpful? Give feedback.
All reactions